Black Lists mit sendmail

Aus Wiki.csoft.at

vi /etc/mail/sendmail.mc
define(`confPRIVACY_FLAGS', `noexpn noreceipts authwarnings noetrn')
dnl some mail servers don't give expn or helo dnl
define(`confPRIVACY_FLAGS', `needmailhelo needexpnhelo noexpn needvrfyhelo noreceipts authwarnings noetrn noverb')
dnl 1.6 meg limit on message size
define(`confMAX_MESSAGE_SIZE',1600000)dnl
dnl timeout on the initial outgoing connect
define(`TimoutIconnect=30s')dnl
define(`confLOG_LEVEL',`14')dnl
dnl I can do a dns lookup on hte mailer, EVERY MAILER should be be able to do this.
define(`_IP_LOOKUP_',1)dnl
dnl mailers that don't have a reverse lookup host-ip won't pass this.
define(`_DNSVALID_',1)dnl
dnl here is the default header in sendmail:$j Sendmail $v/$Z; $b
dnl I change it to remove version information.
define(`confSMTP_LOGIN_MSG',$j Sendmail; $b)dnl
dnl this will wait 2 minutes for a command from the other mailer.
dnl this will timeout on mailers that are parasiting on my mailer.
dnl this has never caused problems on mail delivery, it just removes troublesome
dnl mailers (spammers that won't resolve ip or similar.) 
define(`confTO_COMMAND',120s)dnl
dnl timeout on the initial outgoing connect
define(`ConnectionCacheTimeout=30')dnl
FEATURE(enhdnsbl,`bl.spamcop.net',`',`t',`Spam blocked see: http://spamcop.net/')dnl
FEATURE(enhdnsbl,`relays.ordb.org',`',`t',`Spam blocked - see http://ordb.org/')dnl
FEATURE(enhdnsbl,`list.dsbl.org', `t',`Spam blocked see: http://www.dsbl.org')dnl
FEATURE(enhdnsbl,`in.dnsbl.org', `t',`Spam blocked see: http://www.dnsbl.org')dnl
FEATURE(enhdnsbl,`relays.osirusoft.com',`',`t',`Spam blocked see: http://relays.osirusoft.com')dnl
FEATURE(enhdnsbl,`relays.visi.com',`', `t',`Spam blocked see: http://relays.visi.com')dnl
FEATURE(enhdnsbl,`blackholes.mail-abuse.org', `t',`Spam blocked see: http://www.mail-abuse.org/rbl/')dnl
FEATURE(enhdnsbl,`relays.mail-abuse.org', `t',`Spam blocked see: http://www.mail-abuse.org/rss/')dnl
FEATURE(enhdnsbl,`dialups.mail-abuse.org', `t',`Spam blocked see: http://www.mail-abuse.org/dul/')dnl
FEATURE(enhdnsbl,`rbl-plus.mail-abuse.org', `t',`Spam blocked see: http://www.mail-abuse.org/')dnl
FEATURE(enhdnsbl,`blackhole.compu.net', `t',`Spam blocked see: http://www.compu.net')dnl
FEATURE(enhdnsbl,`pm0-no-more.compu.net', `t',`Spam blocked see: http://www.compu.net')dnl
FEATURE(enhdnsbl,`flowgoaway.com', `t',`Spam blocked see: Blocked FLOW network systems')dnl
FEATURE(enhdnsbl,`spamguard.leadmon.net', `t',`Spam blocked see: http://www.leadmon.net/spamguard')dnl
FEATURE(enhdnsbl,`blackholes.intersil.net', `t',`Spam blocked see: http://www.intersil.net')dnl
FEATURE(enhdnsbl,`blackholes.wirehub.net', `t',`Spam blocked see: http://basic.wirehub.nl/blackholes.html')dnl
FEATURE(enhdnsbl,`dynablock.wirehub.net', `t',`Spam blocked see: http://basic.wirehub.nl/dynablocker.htm')dnl
FEATURE(enhdnsbl,`dsn.rfc-ignorant.org', `t',`Spam blocked see: http://www.rfc-ignorant.org')dnl
FEATURE(enhdnsbl,`postmaster.rfc-ignorant.org', `t',`Spam blocked see: http://www.rfc-ignorant.org')dnl
FEATURE(enhdnsbl,`abuse.rfc-ignorant.org', `t',`Spam blocked see: http://www.rfc-ignorant.org')dnl


Siehe auch

Weblinks