This is an old revision of the document!
generate, check and activate aliases:
makealiases; makealiases -chk; courier flush
mailq displays a list of all messages that have not been delivered yet:
mailq|less
find relay errors:
grep "error,relay" /var/log/mail.log|less
courieresmtpd: error,relay=::ffff:9x.2x6.7x.1x5,from=<mymail@m<domain.net>, to=<friend@otherdomain.net>: 513 Relaying denied.
outbound authentication must be checked within the email client!
(This is the second method if pop-before-smtp fails.)
Please make sure that “Server requires authentication” is enabled in your email client.
importantDNS / reverse DNS rules:
DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org
remove it from /usr/share/spamassassin/20_dnsbl_tests.cf
if someone sends spam, the address can get a high POSITIVE ranking which leads to spam
remove an address from spam - must be run as root in root's folder:
check all auto-whitelists:
for i in /home/* ; do echo $i; sa-awl $i/.spamassassin/auto-whitelist| grep example; done;