The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim and SPAM

Discussion in 'General Discussion' started by fmalekpour, Apr 19, 2003.

  1. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

    Joined:
    Dec 4, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    After a huge traffic by SPAM senders this month we just add this line to /etc/exim.conf and work great!

    rbl_domains = bl.spamcop.net/reject

    may be useful for others. God bless spamcop

    F.Malekpour
     
  2. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the tip.
     
  3. FredF

    FredF Member

    Joined:
    Dec 5, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I went a step further since using the /reject option could reject valid emails for customers. With what I did, spam is routed to a "spam" mailbox for each customers site, and only for the customers which want to do so. It does require editing each domains /etc/vfilters file that you wish to enable it on, and if they edit the filters in their control panel it seems to blow away the setting and it needs to be put back in. Also be aware that this will add X-RBL-Warning: to all message headers which it thinks are spam, but still will deliver the messages to sites that do not wish it to be filtered.

    -- In exim.conf

    rbl_domains = bl.spamcop.net/warn : \
    relays.ordb.org/warn : \
    spamhaus.relays.osirusoft.com/warn : \
    relays.visi.com/warn : \
    dsn.rfc-ignorant.org/warn : \
    list.dsbl.org/warn


    -- In the /etc/vfilters/domain.com file

    # Exim filter
    if $message_headers: contains "X-RBL-Warning:"
    then
    deliver spam@yourdomain.com
    endif



     
  4. meweb

    meweb Well-Known Member

    Joined:
    Feb 10, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    0
    Hi there,

    One mre entry to block spammers not listed anywhere.


    host_reject = 0.0.0.0 : lsearch;/etc/spammers

    Just place their Ips in the /etc/spammers file all of them will be automatically rejected.

    Regards,
     
Loading...

Share This Page