Monday, August 12, 2002 08:17 AM
The "right" way to do it is to set up a separate mailbox account just to take the bounced errors ("NDN"'s Non-Delivery Notices and other DSN's Delivery Status Notification messages, returned by MTA Mail Transfer Agent mailservers), so the actual sending users never even see any bounces.
For instance, if you look at most messages that come from mailing list "listservers", the SMTP envelope MAIL FROM (perhaps reflected in the "Return-Path:" header) will usually point to a special mailbox (e.g. "foolist-request", "foolist-admin", etc.) used by the listserver to automatically process bounces.
Also, for most mailing list messages, if you click on "Reply" you'll see that the "To:" header in your new reply goes to a special list submission address (e.g. "foolist"), not directly to the person (e.g. "joe-listmember") who sent the message to the list.
This is because Internet mail is designed so a message can have three entirely different "return addresses": One is the ESMTP envelope MAIL FROM sender, which your mail sender system should set to the special bounce-handling mailbox ("foolist-request"). Another is the "From:" header which recipients might see in the display of their mail client ("joe-listmember"). The third is the "Reply-To:" header, which their mail client will use when they click on "Reply", to construct the new "To:" header in the reply ("foolist").
All three of these addresses serve different purposes, and should be set to different things (different mailbox addresses for those different purposes), if your mail sending system is well designed.