Sha256: de00d5b3725d0a71016192366e50954461021c9fd2ec5423d8b18aafcde6b7b8

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 KB

Contents

---
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:
    :iphone: !ruby/regexp /iPhone/i
    :blackberry: !ruby/regexp /BlackBerry/i
    :dash: !ruby/regexp /T-Mobile Dash/i
    :droid: !ruby/regexp /Droid/i
    :htc: !ruby/regexp /Eris|HERO200/i

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mms2r-3.0.0 conf/mms2r_media.yml
mms2r-2.4.1 conf/mms2r_media.yml