peyu
July 16th, 2014, 10:28 AM
Hi everybody,
I have a postfix server running with Ubuntu Server 12.04 LTS.
I'm using smtp2go.com as a relay server, because my server has a dynamic ip address so all my emails get blocked by spamhauss if i send it directly.
Smtp2go use the "from address" to know if you can send an email or not.
But in the case of the non-delivery notification, it seems that postfix is not setting anything in from:
Jul 16 11:12:27 batz postfix/bounce[2756]: 9F1913017EE: sender non-delivery notification: 1CE443017F3
Jul 16 11:12:27 batz postfix/qmgr[22039]: 1CE443017F3: from=<>, size=3242, nrcpt=1 (queue active)
Jul 16 11:12:27 batz postfix/qmgr[22039]: 9F1913017EE: removed
Jul 16 11:12:27 batz postfix/smtp[2750]: 1CE443017F3: to=<xxx@xxx>, relay=smtp2go.com[207.58.142.213]:2525, delay=0.66, delays=0.02/0/0.48/0.16, dsn=5.0.0, status=bounced (host smtp2go.com[207.58.142.213] said: 550 You must specify a sender address (in reply to MAIL FROM command))
After searching in postfix documentation, i saw you can modify the bounce template and define there the sender email (but I don't know if it's the send inside the mail or the real sender).
In Bounce Manpage (http://manpages.ubuntu.com/manpages/precise/man5/bounce.5.html), it says:
To create a customized bounce template file, create a temporary copy of
the file /etc/postfix/bounce.cf.default and edit the temporary file.
But I don't have this file /etc/postfix/bounce.cf.default.
Any ideas?
Thanks.
I have a postfix server running with Ubuntu Server 12.04 LTS.
I'm using smtp2go.com as a relay server, because my server has a dynamic ip address so all my emails get blocked by spamhauss if i send it directly.
Smtp2go use the "from address" to know if you can send an email or not.
But in the case of the non-delivery notification, it seems that postfix is not setting anything in from:
Jul 16 11:12:27 batz postfix/bounce[2756]: 9F1913017EE: sender non-delivery notification: 1CE443017F3
Jul 16 11:12:27 batz postfix/qmgr[22039]: 1CE443017F3: from=<>, size=3242, nrcpt=1 (queue active)
Jul 16 11:12:27 batz postfix/qmgr[22039]: 9F1913017EE: removed
Jul 16 11:12:27 batz postfix/smtp[2750]: 1CE443017F3: to=<xxx@xxx>, relay=smtp2go.com[207.58.142.213]:2525, delay=0.66, delays=0.02/0/0.48/0.16, dsn=5.0.0, status=bounced (host smtp2go.com[207.58.142.213] said: 550 You must specify a sender address (in reply to MAIL FROM command))
After searching in postfix documentation, i saw you can modify the bounce template and define there the sender email (but I don't know if it's the send inside the mail or the real sender).
In Bounce Manpage (http://manpages.ubuntu.com/manpages/precise/man5/bounce.5.html), it says:
To create a customized bounce template file, create a temporary copy of
the file /etc/postfix/bounce.cf.default and edit the temporary file.
But I don't have this file /etc/postfix/bounce.cf.default.
Any ideas?
Thanks.