Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bounce emails correctly

Status
Not open for further replies.

bluegroper

Technical User
Dec 12, 2002
407
AU
I have a small perl based web application that sends emails when required, using a simple hook to the sendmail command.
Outgoing emails travel via a relay mailserver.
If the "To:" address is invalid, the bounce message comes back to the webmaster, or apache@domain.com, based upon the "Return-Path:" header.
Is there some simple way to configure postfix so that any bounce messages are directed to the "From:" address, so that the webmaster is untroubled ?
Would this require a re-write of the "Return-Path:" in the originating faulty email ?
Grateful for any clues, and TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top