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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postmaster address in Returned emails

Status
Not open for further replies.

MurdinE

Programmer
Jan 10, 2004
2
SE
If someone relay an email to user.other.com, and this specific users mailbox is either full or non-existent, a returned mail is sent back informing about this.

In this returning email it says &quot;For further assistance, please send mail to <postmaster>&quot;.

How can I change postmaster to postmaster@mydomain.com, either using one of the tables in the database or using a configfile? Doesnt matter really, just want the problem solved.

I'm using Postfix 2.0.16 and have it setup with virtual hosts and MySQL as backend (have alias, relocated, transport, users and virtual tables). Any help appreciated.
 
&quot;Be sure to make the necessary entries for root@$myhostname, postmaster@$myhostname and for any other necessary addresses.&quot;

HTH
 
Hmm, good idea. Searched the web and stumbled upon a way to do it (maybe).

#postconf -d | grep postmaster

2bounce_notice_recipient = postmaster
bounce_notice_recipient = postmaster
delay_notice_recipient = postmaster
error_notice_recipient = postmaster

Edited /etc/postfix/main.cf with...
bounce_notice_recipient = postmaster@$mydomain
...etc, but no luck. Didnt change in the bounced message. Seems like it's hardcoded through a define too, but unsure about this. Havent had the time to check myself.

Anyways. It's not a big problem for me, probably a good idea not to have the complete email in bounced messages too. Thinking about spamlurkers etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top