Postfix Tricks
Postfix Tricks
From Wiki
- monitor postfix backscatter:
- sudo cat /var/log/mail.info | grep status=bounce | less
- stop backscatter from gmail with bad attachments:
- Edit /etc/postfix/body_checks
- Add /<username@gmail\.com> \(expanded from <local_user@domain.*?google\.com.*?illegal attachment/ DISCARD