in reply to sendmail and bounced mail
You want to use sendmail's -f flag. That will specify the email address where bounced mail should be returned to. If you want bounces to go into a flat file, set up an alias for that address to go to a flat file.
If you want to discard bounces, set up an alias for that address to go to /dev/null. You can also use -f '' to ask the mail system not to generate bounces at all.
|
|---|