Permalink
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (73 sloc) 2.56 KB
---
ignore:
text/plain:
- !ruby/regexp /^\(no subject\)$/i
- !ruby/regexp /\ASent (via|(from (my|your))) /im
- !ruby/regexp /\AFrom my HTC /im
- !ruby/regexp /\ASent on the Sprint.* Now Network.*$/im
multipart/mixed:
- !ruby/regexp "/^Attachment: /i"
transform:
text/plain:
- - !ruby/regexp /\A(.*?)Sent (via|(from (my|your))) .*/im
- "\\1"
- - !ruby/regexp /\A(.*?)From my HTC .*/im
- "\\1"
- - !ruby/regexp /\A(.*?)\s+image\/jpeg$/im
- "\\1"
- - !ruby/regexp /\A(.*?)Sent on the Sprint.* Now Network.*$/im
- "\\1"
device_types:
boundary:
:motorola: !ruby/regexp /Motorola-A-Mail/i
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 /.+/
user-agent:
:iphone: !ruby/regexp /iPhone/i
# 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
makes:
:android: !ruby/regexp /Android/i
:apple: !ruby/regexp /^(Apple|Hipstamatic)$/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
:nokia: !ruby/regexp /^Nokia/i
:pantech: !ruby/regexp /^PANTECH$/i
:palm: !ruby/regexp /Palm/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
models:
:blackberry: !ruby/regexp /BlackBerry/i
:centro: !ruby/regexp /^Palm Centro$/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
software:
:blackberry: !ruby/regexp /^Rim Exif/i
filenames:
:iphone: !ruby/regexp /^photo\.(JPG|PNG)$/
:video: !ruby/regexp /\.3gp$/