forward bounce mail in sendmail
Anyone know how to forward bounce mail notifications resulting from a
"user unknown" to a specific recipient (instead of the usual local
postmaster)?
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: forward bounce mail in sendmail
urgrue wrote:
> Anyone know how to forward bounce mail notifications resulting from a
> "user unknown" to a specific recipient (instead of the usual local
> postmaster)?
define(`confDOUBLE_BOUNCE_ADDRESS', `postmaster')
If you're editing sendmail.cf directly (which I don't recommend, as it
normally needs to be regenerated if you update sendmail):
# where do errors that occur when sending errors get sent?
#O DoubleBounceAddress=postmaster
Note that normal (single) bounces are sent to the envelope sender. The
double-bounce address is only used if a bounce message bounces because
the original envelope sender address is invalid.
--
Glynn Clements <glynn [at] gclements.plus.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html