How can I deactivate all delivery failure notifications in sendmail?
I have a internal testmachine hosting websites for testers. The sites use sendmail via PHP. Now whenever a tester enters a dummy address, I get a notification in my local mailbox. As this is an internal test machine, I'm not interested in any of those mails, and the notifications spam my box (had 28.000+ mails there).
Have you set PostmasterCopy in your sendmail.cf?
YES => You may turn it off
confCOPY_ERRORS_TO PostmasterCopy
Make sendmail at test machine capture/deliver outgoing mails to local mailbox/alias e.g.
capture
.sendmail.mc
line to capture ALL outgoing emails (sendmail.mc requires compilation into sendmail.cf):mailertable line to capture email to specific test domains: