--- ignore: text/plain: - /^\(no subject\)$/i - /\ASent via BlackBerry (from|by) .*$/im - /\ASent from my Verizon Wireless BlackBerry$/im - /\ASent from (my|your) iPhone.?$/im - /\ASent on the Sprint.* Now Network.*$/im multipart/mixed: - "/^Attachment: /i" transform: text/plain: - - /\A(.*?)Sent via BlackBerry (from|by) .*$/im - "\1" - - /\A(.*?)Sent from my Verizon Wireless BlackBerry$/im - "\1" - - /\A(.*?)Sent from (my|your) iPhone.?$/im - "\1" - - /\A(.*?)\s+image\/jpeg$/im - "\1" - - /\A(.*?)Sent on the Sprint.* Now Network.*$/im - "\1" device_types: headers: x-mailer: :iphone: !ruby/regexp /iPhone Mail/i :blackberry: !ruby/regexp /Palm webOS/i mime-version: :iphone: !ruby/regexp /iPhone Mail/i x-rim-org-msg-ref-id: :blackberry: !ruby/regexp /.+/ # TODO do something about the assortment of camera models that have # been seen: # 1.3 Megapixel, 2.0 Megapixel, BlackBerry, CU920, G'z One TYPE-S, # Hermes, iPhone, LG8700, LSI_S5K4AAFA, Micron MT9M113 1.3MP YUV, # Motorola Phone, Omni_vision-9650, Pre, # Seoul Electronics & Telecom SIM120B 1.3M, SGH-T729, SGH-T819, # SPH-M540, SPH-M800, SYSTEMLSI S5K4BAFB 2.0 MP, VX-9700 # # NOTE: These model strings are stored in the exif model header of an image file # created and sent by the device, the regex is used by mms2r to detect the # model string models: :blackberry: !ruby/regexp /BlackBerry/i :dash: !ruby/regexp /T-Mobile Dash/i :droid: !ruby/regexp /Droid/i :htc: !ruby/regexp /HTC|Eris|HERO200/i :iphone: !ruby/regexp /iPhone/i makes: :apple: !ruby/regexp /^Apple$/i :casio: !ruby/regexp /^CASIO$/i :dash: !ruby/regexp /T-Mobile Dash/i :google: !ruby/regexp /^google$/i :htc: !ruby/regexp /^HTC/i :lge: !ruby/regexp /^(LG|CX87BL05)/i :motorola: !ruby/regexp /^Motorola/i :pantech: !ruby/regexp /^PANTECH$/i :qualcomm: !ruby/regexp /^MSM6/i :research_in_motion: !ruby/regexp /^(RIM|Research In Motion)$/i :samsung: !ruby/regexp /^(SAMSUNG|ES.M800|M6550B-SAM-4480)/i :seoul_electronics: !ruby/regexp /^ISUS0/i :sprint: !ruby/regexp /^Sprint$/i :utstarcom: !ruby/regexp /^T1A_UC1.88$/i