Q: Junk filtering stops mail delivery
We've just rebuilt our Lion Server (unrelated issue) and are unable use the Junk Filtering option under Mail. With this feature enabled mail is not delivered to the mailboxes.
It appears that Spam Assassin is broken but I am unsure where to proceed in fixing it. Here's a line from our mail.log:
Jun 3 10:44:01 macmini postfix/smtp[1460]: 69877797D4: to=<steve@domain.co.uk>, relay=none, delay=2800, delays=2798/1.9/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
The postfix is configuration is as follows:
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /Library/Server/Mail/Data/mta
debug_peer_level = 2
enable_server_options = yes
header_checks =
html_directory = /usr/share/doc/postfix/html
imap_submit_cred_file = /private/etc/postfix/submit.cred
inet_interfaces = all
inet_protocols = all
mail_owner = _postfix
mailbox_size_limit = 0
mailbox_transport = dovecot
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains =
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = somedomain.co.uk
mydomain_fallback = localhost
myhostname = macmini.somedomain.co.uk
mynetworks = 127.0.0.0/8, [::1]/128
newaliases_path = /usr/bin/newaliases
postscreen_dnsbl_sites = zen.spamhaus.org*2
queue_directory = /Library/Server/Mail/Data/spool
readme_directory = /usr/share/doc/postfix
recipient_canonical_maps = hash:/etc/postfix/system_user_maps
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated bl.spamcop.net reject_rbl_client zen.spamhaus.org permit
smtpd_enforce_tls = no
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_pw_server_security_options = cram-md5
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_sender_access hash:/etc/postfix/sender_access permit
smtpd_sasl_auth_enable = yes
smtpd_tls_CAfile = /etc/certificates/mail.somedomain.co.uk.2C3D597554C303DA11B7F1E033F5F7ACB7116D5 C.chain.pem
smtpd_tls_cert_file = /etc/certificates/mail.somedomain.co.uk.2C3D597554C303DA11B7F1E033F5F7ACB7116D5 C.cert.pem
smtpd_tls_ciphers = medium
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
smtpd_tls_key_file = /etc/certificates/mail.somedomain.co.uk.2C3D597554C303DA11B7F1E033F5F7ACB7116D5 C.key.pem
smtpd_use_pw_server = yes
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
use_sacl_cache = yes
virtual_alias_maps = $virtual_maps
Thank you in advance for any assistance you are able to offer.
Posted on Jun 3, 2014 5:16 AM