Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    29

    Default filter outgoing mail content?

    Hi,

    I am wondering if it is possible to filter outgoing e-mail content based on a certain selection of words and just prevent the e-mail from ever being sent if the criteria is met.

    Basically, I want a way to stop the eBay scammers/spammers. I realize for the most part they could change words around etc. For the most part the scam phrase/email body is always the same so I figured I would ask if this is possible.

    If anyone knows a way to do this it would be greatly appreciated, thanks in advance for any help!

  2. #2
    Member
    Join Date
    Feb 2003
    Posts
    19

    Default

    in etc/antivirus.exim

    add something like this

    # Exim Filter

    if "$message_body" matches

    "(www.scammersdomain.com|somethingelse|ebayscam|http://www.suntrust.com/images/Commo.../logo_home.gif)"
    then
    seen finish
    endif

    (( also this if from another post you may want to use:

    Protect file from being over written by cpanel, ssh as root

    chattr +i /etc/antivirus.exim


    You'll also have to remember to use:

    chattr -i /etc/antivirus.exim

    when you want to edit the file, then lock the file back up again with chattr +i


    ))

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    29

    Default

    awesome! it looks like its working so far (test messages) thanks for the help!

Similar Threads & Tags
Similar threads

  1. Filter to copy outgoing e-mails.
    By Pringle9984 in forum E-mail Discussions
    Replies: 0
    Last Post: 06-26-2007, 10:13 AM
  2. Anti-spam, server wide content filter? Possible?
    By jols in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-15-2006, 08:17 PM
  3. Filter Exim outgoing mails is possible??
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-30-2005, 03:09 PM
  4. Filter outgoing mail
    By Surfer in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-24-2005, 04:19 AM
  5. Email filter outgoing messages
    By da_linuxguru in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-09-2003, 10:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube