I'm working on a relay to a backend postfix instance across a VPN link.
My 'flow' is
postscreen
postscreen-smtp
preQ milters
postQ spam filter
relay over VPN to the backend
At the moment, mail's getting both received OK from the net, and sent to it,
over the VPN.
In my logs I see a 'connection refused' from the backend, even though mail's
getting delivered.
My goal is to learn how to read & understand this particular log snip. Of
course well enough to finally to find/fix the problem.
I *think* it's a notification of some sort.
It's from the 'double-bounce' address, which I've not gotten a good handle on
yet.
I don't exactly follow what the logs are telling me.
Looking at my logs at one transaction I see this
Apr 17 06:15:46 mail01 postfix/psint/smtpd[12683]: connect from
a13-29.smtp-out.amazonses.com[54.240.13.29]
Apr 17 06:15:48 mail01 postfix/cleanup[12688]: 4daZGw3xUcc426m:
message-id=<[email protected]>
Apr 17 06:15:48 mail01 postfix/qmgr[10345]: 4daZGw3xUcc426m:
from=<[email protected]>, size=254, nrcpt=1 (queue active)
>> Apr 17 06:15:48 mail01 postfix/vpn/smtp[12689]: connect to
>> back.mail01.example.com[10.1.1.16]:25: Connection refused
>> Apr 17 06:15:48 mail01 postfix/vpn/smtp[12689]: 4daZGw3xUcc426m:
>> to=<[email protected]>, relay=none, delay=0.04, delays=0/0.01/0.03/0,
>> dsn=4.4.1, status=undeliverable (connect to
>> back.mail01.example.com[10.1.1.16]:25: Connection refused)
Apr 17 06:15:48 mail01 postfix/qmgr[10345]: 4daZGw3xUcc426m: removed
Apr 17 06:15:48 mail01 postfix/psint/smtpd[12683]: NOQUEUE:
client=a13-29.smtp-out.amazonses.com[54.240.13.29]
Apr 17 06:15:49 mail01 postfix/preqrtrn/smtpd[12692]: connect from
localhost[127.0.0.1]
Apr 17 06:15:49 mail01 postfix/preqrtrn/smtpd[12692]:
4daZGk98gjkfwj7gQ: client=localhost[127.0.0.1],
orig_client=a13-29.smtp-out.amazonses.com[54.240.13.29]
Apr 17 06:15:49 mail01 postfix/cleanup[12688]: 4daZGk98gjkfwj7gQ:
message-id=<[email protected]>
Apr 17 06:15:49 mail01 postfix/qmgr[10345]: 4daZGk98gjkfwj7gQ:
from=<[email protected]>, size=34791, nrcpt=1 (queue active)
Apr 17 06:15:49 mail01 postfix/preqrtrn/smtpd[12692]: disconnect from
localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Apr 17 06:15:49 mail01 postfix/psint/smtpd[12683]: proxy-accept:
END-OF-MESSAGE: 250 2.0.0 from MTA(smtp:[127.0.0.1]:11030): 250 2.0.0 Ok:
queued as 4daZGk98gjkfwj7gQ; from=<[email protected]>
to=<[email protected]> proto=ESMTP helo=<a13-29.smtp-out.amazonses.com>
My suspicion's that it may be a 'mynetworks' or
'smtpd_authorized_xforward_hosts' in master.cf that I need. Reading up on
those now.
But, does that log tell me enough to know what the problem is? Or do I need to
turn on additional feedback somewhere/how?
Jason