Skip to contentSkip to conversation

forward bounce mail in sendmail

DISCUSSION urgrue 2 participants 2 messages Sep 26, 2007 – Sep 27, 2007

lore
Share & tools
lore

urgrue

author
#0 lore raw

Anyone know how to forward bounce mail notifications resulting from a "user unknown" to a specific recipient (instead of the usual local postmaster)?

#1 lore raw
Quoted 3 lines · urgrue

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.

Signature · 1 line
Glynn Clements <[email protected]>