I am running a Postfix MTA. Fetchmail is used to get mails from several POP3 accounts.
The problem is: If a mail cannot be delivered, e.g. because it exceeds the size limit of the mailbox, a bounce message is sent. However, the bounce mail uses the mail address of the account on the Postfix server, not the original mail address on the POP3 server. This means, the sender cannot recognize that the mail has not been delivered, and he gets bounce messages from a different mail address that he cannot relate to any sent message, so he rejects them. This leads to an endless exchange of bounce messages that are bounced back from the original sender.
What I need: How do I change the mail address of the bounce messages?
Example:
- [email protected] sends a mail to [email protected]
- Postfix on postfixserver.com fetches this mail from pop3server.com and tries to deliver it to [email protected]
- mail is too large, so it is rejected
- bounce message to [email protected], that the mail from [email protected] could not be delivered
- [email protected] is confused, he never sent a mail to [email protected]
- the bounce message should have [email protected] as the sender address
Any suggestions? Thank you!