1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
dnl * Sendmail configuration for tor.farlep.net
divert(-1)
VERSIONID(`$Id$')
OSTYPE(linux)dnl
define(`confCF_VERSION',`Relay2 $Revision$')
# 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<TMPF> /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 $)
R<?>OK $: 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/local/libexec/mail.local')
define(`LOCAL_MAILER_ARGS', `Mail -xt -S /home/%u/.Sieve $u')
MAILER(local)
MAILER(smtp)
|