Re: [Exim] Prevent spam and limit message size ?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Suresh Ramasubramanian
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Prevent spam and limit message size ?
Benj rearranged electrons thusly:

> HI, what is the best way to limit the size of a message message/attachement
> and spam attacks with exim ?
> Is there a default setting or must I do something, and where ?



In whatever transport you use to deliver mail to your users, add the line quota
= 5M (sets user message quotas to 5 megs).

For spam blocking, use the RBL and other blacklists

rbl_domains = rbl.maps.vix.com:dul.maps.vix.com
recipients_reject_except = postmaster@???:abuse@???
rbl_hosts = !192.168.1.0/24:!mail.example.com:!example.com:0.0.0.0/0
rbl_log_headers         
rbl_log_rcpt_count      


Also maintain a local blacklist of spammers

sender_reject = @@lsearch*;/usr/exim314/blocked.senders

blocked.senders is of the format

aol.com         SuccessisGreat:SuccessisGood
mailgate.lifeminders.com        *
AnywhereYouGo.com       *
gslot.com               register
smtp5.dailydirt.com     *
ralph.dailydirt.com     *
mailbits.com            *
*                       admin__


[that last line is to get rid of the 'M$ Y2K Fix' trojan which remails itself
with from: admin__@???]

--
Suresh Ramasubramanian + sureshr@???
Linux is like a Teepee - No Windows, No Gates, Apache Inside