On 4/16/2013 1:12 AM, kandy kandy wrote: > Can I receive an email every time I have a rejection ?
Postfix can't do this by itself, but you can configure an external process to send a notice based on log events. fail2ban could be pretty easily convinced to do this. But I fail to see any benefit of an email announcing that an email was blocked. If you're concerned about false positives, turn off the anti-spam controls and filter in your mail client. If you want to see what was rejected, examine the logs ("grep 'reject: ' /var/log/maillog | less" works well enough for small logs) or use a log analysis tool such as pflogsumm.pl or postfix-logwatch. -- Noel Jones