Silvio Siefke skrev, on 13-11-2007 22:26:
I would like Postfix, DSPAM and Maia as a mail system.
What Postfix, what "DSPAM", what in $DEITY's name is Maia (ok, it's Maia
Mailguard, but you've no occasion to run it with Postfix. Any doubts,
ask Wietse Venema - don't know who he is?).
How can I do this all under one roof? I thought to myself that the Postfix
mail to DSPAM passes, it will then be forwarded to amavisd-new (Maia), and
then the email.
My master.cf for Postfix 2.4.6 dspam 3.8.0, amavisd-new 2.5.2 on RHL5,
everything works 24x7x52, has done so for years (including older Red Hat
versions and FC6); lmtp dspam daemon is getting 99+% of all (almost
nothing anyway, thanks to policyd and Postfix's anti-UCE) spam. Well,
there's Sendmail's DKIM milter there too at 100004, as well, amavisd-new
at 10024:
1025 [root:mercurius.intern] /root # grep '^[^#]' /etc/postfix/master.cf
smtp inet n - n - 50
smtpd
-o smtpd_proxy_filter=10024
-o smtp_send_xforward_command=yes
-o smtpd_proxy_timeout=200s
-o smtp_use_tls=no
-o smtp_skip_quit_response=no
-o receive_override_options=no_header_body_checks
-o smtp_host_lookup=dns
-o disable_mime_output_conversion=yes
-o smtpd_client_connection_count_limit=100
:10025 inet n - n - 50
smtpd
-o content_filter=lmtp:localhost:24
-o lmtp_send_xforward_command=yes
-o lmtp_destination_concurrency_limit=5
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_error_sleep_time=0
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o disable_mime_output_conversion=yes
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
:10026 inet n - n - 50
smtpd
-o content_filter=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_error_sleep_time=0
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o receive_override_options=no_unknown_recipient_checks
-o smtpd_milters=inet:localhost:10004
-o disable_mime_output_conversion=yes
-o milter_macro_daemon_name=ORIGINATING
-o milter_default_action=accept
-o milter_protocol=3
default unix - - n - - smtp
-o smtp_data_done_timeout=1200
-o smtp_discard_ehlo_keywords=silent-discard,8bitmime
-o disable_mime_output_conversion=yes
plainsmtp unix n - n - 50 smtp
-o smtp_use_tls=no
smtps inet n - n - 50
smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_proxy_filter=10024
-o smtp_send_xforward_command=yes
-o smtp_host_lookup=dns
-o smtpd_proxy_timeout=200s
-o smtp_use_tls=no
-o smtp_skip_quit_response=no
-o disable_mime_output_conversion=yes
submission inet n - n - 50
smtpd
-o smtp_send_xforward_command=yes
-o smtpd_proxy_filter=10024
-o smtpd_proxy_timeout=200s
-o smtp_use_tls=no
-o smtp_skip_quit_response=no
-o smtp_host_lookup=dns
mailman unix - n n - - pipe
flags=FR user=mailman:nobody
argv=/usr/local/mailman/postfix-to-mailman.py ${nexthop} ${user}
pre-cleanup unix n - n - 0
cleanup
-o virtual_alias_maps=
-o canonical_maps=
-o sender_canonical_maps=
-o recipient_canonical_maps=
-o masquerade_domains=
scan unix - - n - 10 smtp
pickup fifo n - n 60 1
pickup
cleanup unix n - n - 0
cleanup
-o body_checks=pcre:/etc/postfix/maps/body_checks.pcre
-o header_checks=pcre:/etc/postfix/maps/header_checks.pcre
trusted-cleanup unix n - n - 0
cleanup
-o header_checks=
-o mime_header_checks=
-o nested_header_checks=
-o body_checks=
qmgr fifo n - n 50 1 qmgr
tlsmgr unix - - n 50 1
tlsmgr
rewrite unix - - n - -
trivial-rewrite
bounce unix - - n - 0
bounce
defer unix - - n - 0
bounce
flush unix n - n 1000? 0
flush
proxymap unix - - n - -
proxymap
relay unix n - n - - smtp
-o smtp_helo_timeout=5
-o smtp_connect_timeout=5
showq unix n - n - -
showq
error unix - - n - -
error
local unix - n n - 200
local
virtual unix - n n - -
virtual
lmtp unix - - n - - lmtp
-o disable_dns_lookups=yes
trace unix - - n - 0
bounce
verify unix - - n - 1
verify
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${user}
${sender} ${recipient} ${extension}
wachtwoord unix - n n - - pipe
user=filter
flags=Rq argv=/usr/local/bin/wachtwoord -f ${sender} --
${recipient}
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
discard unix - - n - - discard
retry unix - - n - - error
Best,
--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl