Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Filter CID Tags

Last post 11-27-2007, 19:04 by bryroller. 5 replies.
Sort Posts: Previous Next
  •  10-23-2007, 12:16

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Filter CID Tags

    We get lots of emails with images embedded in them.

    All of them are embedded as:

    <IMG alt=”" hspace=0 src=”cid:006901c6d391$dee64770$6c822ecf@Z2LC74Q” align=baseline border=0>

    So Mercury32 can't strip them.

    Looking around I found this:

    CID will probably go unnoticed through many mail servers except for high grade servers who set rules to filter CID tags. Here the CID tag will usually get turned into an attachment helping you spot an intruding image.
     

    Is there anyway this could be added to Mercury32 ??

    Thanks 


    www.medionsupport.com
  •  10-23-2007, 21:09

    • Rolf Lindby is not online. Last active: 2019-02-15, 19:10 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,025
    • BetaTeam Moderator SystemAdministrator

    Re: Filter CID Tags

    You need a daemon to catch this. I think SpamHalter already is checking embedded images, though.

    /Rolf

  •  10-24-2007, 10:12

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: Filter CID Tags

    We have spamhalter installed, what do I need to do do strip these ??

    Thanks 


    www.medionsupport.com
  •  10-24-2007, 15:55

    • tBB is not online. Last active: 02-24-2011, 0:10 tBB
    • Top 75 Contributor
    • Joined on 05-08-2007
    • Member
    • Points 1,080

    Re: Filter CID Tags

    Spamhalter doesn't strip images, it just does a Bayesian analysis of the image characteristics. Stripping inline images altogether or converting them to attachments also breaks many commercial (legal) newsletters etc. If you use Mercury's content control you can use something like this

    IF BODY MATCHES "/b*src[=3D ]+[\"c]+id:*" WEIGHT 50 Tag "BODY: Contains Inline Image"

    to give mails containing inline images additional spam points.

    Best regards

    Nico
  •  10-26-2007, 11:22

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: Filter CID Tags

    Thanks tBB.

    That will help... but is there any way to strip or convert them to attachments ?
    I'm not to bothered about newletters etc..

    Regards
     


    www.medionsupport.com
  •  11-27-2007, 19:04

    • bryroller is not online. Last active: 05-02-2015, 14:38 bryroller
    • Top 100 Contributor
    • Joined on 05-09-2007
    • Georgia, US
    • Member
    • Points 570

    Re: Filter CID Tags

    tBB:
    Spamhalter doesn't strip images, it just does a Bayesian analysis of the image characteristics. Stripping inline images altogether or converting them to attachments also breaks many commercial (legal) newsletters etc. If you use Mercury's content control you can use something like this

    IF BODY MATCHES "/b*src[=3D ]+[\"c]+id:*" WEIGHT 50 Tag "BODY: Contains Inline Image"

    to give mails containing inline images additional spam points.

    Best regards

    Nico

     

    I found that this does a great job in helping me detect the "enhancement & meds type" image spam. I use it in a CC rule set that gives SpamHalter 50% trigger value and this the other 50% and it seems to work very well. Thanks much!


    Harvesters come get this address!

    mapspots@tallulahfalls.org
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page