divert(-1) # # Original Version # ---------------- # http://www.Linux-Sec.net/Mail/etc.mail/sendmail.antispam.howto.txt # http://www.Linux-Sec.net/Mail/etc.mail/sendmail-8.12.5/sendmail-8.12.5.rbl.mc # http://www.Linux-Sec.net/Mail/etc.mail/sendmail-8.12.5/sendmail-8.12.5.check_local.mc # # # ------------------------------------------------------------------------ # This sendmail.mc file enables the sendmail-8.12.5 Built-in Spam Features # ------------------------------------------------------------------------ # - Ignore servers without proper reverse DNS # - Ignore those spammers listed in the RBLs # - Accept incoming email for "valid recipients" # # ----------------------------------------------- # This version does NOT have check_local-5.0 yet # ----------------------------------------------- # # # 27-Jun-02 amo Modified sendmail-8.12.5/cf/cf/generic-linux.mc w/ RBL checks # # # Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # # # This is a generic configuration file for Linux. # It has support for local and SMTP mail only. If you want to # customize it, copy it to a name appropriate for your environment # and do the modifications there. # # # divert(0)dnl VERSIONID(`$Id: 27-Jun-02 amo Modified sendmail-8.12.5 Exp $') OSTYPE(linux)dnl DOMAIN(generic)dnl dnl FEATURE(`use_ct_file') FEATURE(`use_cw_file') FEATURE(`redirect') FEATURE(`always_add_domain') dnl define(`LOCAL_MAILER_PATH', `/usr/bin/procmail')dnl FEATURE(`local_procmail') FEATURE(`domaintable') FEATURE(`genericstable') FEATURE(`virtusertable') FEATURE(`smrsh') dnl dnl -- manually fix Kaccess dnl FEATURE(`access_db', `hash -T /etc/mail/access')dnl FEATURE(`access_db') dnl dnl turn on in 8.12.5 ... mailertable, blacklist, delay_cheks, lookupdotdomain FEATURE(`mailertable') FEATURE(`blacklist_recipients') FEATURE(`delay_checks') FEATURE(`lookupdotdomain') dnl FEATURE(`compat_check') FEATURE(`authinfo') dnl define(`_QUIET_FREEWARE_')dnl dnl define(`confREJECT_MSG',`552 Spammer $&{client_addr} $&f Rejected by PostMaster@$j - check_mail or check_relay')dnl dnl define(`confCF_VERSION', `Generic_with_RBL')dnl define(`confSMTP_LOGIN_MSG', ``$j Sendmail 1.0/1.0; $b'') dnl dnl (`confPRIVACY_FLAGS', `authwarnings noexpn novrfy needmailhelo') define(`confPRIVACY_FLAGS', `authwarnings noexpn novrfy needmailhelo needexpnhelo needvrfyhelo noreceipts ') define(`confTO_IDENT',`0') dnl 0s dnl dnl define Trusted user ( Tmajordom ) for majordomo and for majordomo files dnl dnl define(`ALIAS_FILE',`/etc/mail/aliases, /usr/local/majordomo/majordomo.aliases') define(`confTRUSTED_USERS',`majordom') dnl dnl dnl ------------------------ dnl --- Spam Filter Stuff -- dnl ------------------------ dnl dnl friend should have one entry for postmaster FEATURE(`delay_checks', `friend') dnl dnl dnl -- noticeably slows down sending of email if its checking the RBLs dnl FEATURE(`enhdnsbl') FEATURE(`enhdnsbl', `or.orbl.org', `Spammer $&{client_addr} $&f rejected: see http://www.orbl.org/ (ORBL)') FEATURE(`enhdnsbl', `relays.ordb.org', `Spammer $&{client_addr} $&f rejected: see http://ordb.org/ (relays)') FEATURE(`enhdnsbl', `spamsites.relays.osirusoft.com', `Spammer $&{client_addr} $&f rejected by http://relays.osirusoft.com/ (spamsites)') FEATURE(`enhdnsbl', `spamhaus.relays.osirusoft.com', `Spammer $&{client_addr} $&f rejected by http://relays.osirusoft.com/ (spamhaus)') FEATURE(`enhdnsbl', `spews.relays.osirusoft.com', `Spammer $&{client_addr} $&f rejected by http://relays.osirusoft.com/ (spews)') dnl dnl dnl http://www.rfc-ignorant.org/how_to_domain.html - use dnsbl instead of rhsbl dnl FEATURE(enhdnsbl,`dsn.rfc-ignorant.org',`550 Spammer $&{client_addr} $&f rejected because you violate RFC 821/2505/2821') FEATURE(enhdnsbl,`postmaster.rfc-ignorant.org',`550 Spammer $&{client_addr} $&f rejected because your domain does not have a working PostMaster') dnl dnl dnl Mailers dnl MAILER(local)dnl MAILER(smtp)dnl dnl dnl MAILER(uucp)dnl # # # end of file