On 10/20/2011 7:02 AM, J. Bakshi wrote: >>> an alternative (that will also work for mail submitted via the sendmail >>> comand) is to use transport_maps: >>> >>> nore...@example.com error:... >>> >>> >>> Note that if you don't want to receive errors for such mail, then you >>> should use a "null sender" (MAIL FROM:<>). >>> >>> also, be sure to include informations for users to contact you if they >>> really need to (complain, unsubscribe, ... etc). >> >> Hello Mouss, >> >> I appreciate your advise. Many many thanks. >> >> In caes of >> >> nore...@example.com error:... >> >> how can I provide a notice to the users about whom to contact
In your transport map, use an entry something like nore...@example.com error:Restricted account. Contact ad...@example.com or maybe nore...@example.com error:See http://site/contact-form Note that rejecting the noreply address will cause delivery problems if the recipient MTA uses sender address verification. >> and how can I also >> configure "null sender" to avoid error mesg ? >> In whatever generates the original email message, set the envelope sender to either "" or <>. This is not the same as the From: header, which can still be nore...@example.com or whatever. Note using the null sender may have delivery problems too. Some systems (incorrectly) reject mail from the null sender. -- Noel Jones