dnl * Sendmail configuration for tor.farlep.net divert(-1) VERSIONID(`$Id$') OSTYPE(linux)dnl define(`confCF_VERSION',`Relay2 $Revision$') LOCAL_CONFIG # Additional header HOrganization: ISP Farlep (Odessa) DUtor Cwtor dnl * Include common defaults include(common.mc) dnl * Site-specific settings define(`confMAX_DAEMON_CHILDREN',`256') define(`confCONNECTION_RATE_THROTTLE',`128') dnl * Features FEATURE(use_cw_file) FEATURE(redirect) FEATURE(always_add_domain) FEATURE(access_db, hash -o -T /etc/mail/access) FEATURE(mailertable, hash -o /etc/mail/xroutes) FEATURE(domaintable, hash -o /etc/mail/domains) FEATURE(blacklist_recipients) FEATURE(relay_entire_domain) dnl * RBL configuration FEATURE(dnsbl, `dyn-rbl.farlep.net', `"E-Cards are not allowed to use SMTP"') PUSHDIVERT(8) # Allow all addresses from our dialup pool R$* $: $&{client_addr} R::ffff:$-.$-.$-.$- $: OKSOFAR R$-.$-.$-.$- $: $(host $4.$3.$2.$1.dialup-rev.farlep.net. $: OK $) ROK $: OKSOFAR R$* $@ OKSOFAR POPDIVERT FEATURE(dnsbl, `rbl.farlep.net', `"Stop SPAM from this host"') FEATURE(dnsbl, `bl.spamcop.net', `"Spam blocked see; http://spamcop.net/bl.shtml?"$&{client_addr}') dnl * Milter configuration include(`milter.conf') dnl * Mailers undefine(`LOCAL_MAILER_PATH') define(`LOCAL_MAILER_PATH', `/usr/libexec/mail.local') define(`LOCAL_MAILER_ARGS', `Mail -xt -S /home/%u/.sieve $u') MAILER(local) MAILER(smtp)