Re: forward bounce mail in sendmail

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.