I'm in the process of replacing a working 12.04.5 system with a clean install of Xubuntu 14.04.1, on a separate drive so that both systems are available while setting up configurations. At the moment I have just one critical problem.
My ISP, AT&T, blocks port 25 so that in order to send mail from my local Postfix/Dovecot server, I must relay through my gmail account via port 587. This has worked perfectly for quite some time on the old system. However on the new one, any attempt to send a test message results in this, from /var/log/mail.log:
Code:
Oct 2 18:40:27 mehitabel postfix/smtpd[4540]: connect from unknown[192.168.0.2]
Oct 2 18:40:27 mehitabel postfix/smtpd[4540]: B356DC24FB: client=unknown[192.168.0.2], sasl_method=PLAIN, sasl_username=jk
Oct 2 18:40:27 mehitabel postfix/cleanup[4545]: B356DC24FB: message-id=<542DE26A.80002@--MyServer-->
Oct 2 18:40:27 mehitabel postfix/qmgr[1984]: B356DC24FB: from=<jk@--MyServer-->, size=600, nrcpt=1 (queue active)
Oct 2 18:40:27 mehitabel postfix/smtpd[4540]: disconnect from unknown[192.168.0.2]
Oct 2 18:40:28 mehitabel postfix/smtp[4546]: B356DC24FB: to=<pub@--MyServer-->, relay=smtp.gmail.com[64.233.160.108]:587, delay=0.59, delays=0.03/0.02/0.49/0.05, dsn=5.5.1, status=bounced (host smtp.gmail.com[64.233.160.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 i1sm3270984oew.6 - gsmtp (in reply to MAIL FROM command))
Oct 2 18:40:28 mehitabel postfix/cleanup[4545]: 63FF0C250C: message-id=<20141002234028.63FF0C250C@jimkyle.dns2go.com>
Oct 2 18:40:28 mehitabel postfix/bounce[4547]: B356DC24FB: sender non-delivery notification: 63FF0C250C
Oct 2 18:40:28 mehitabel postfix/qmgr[1984]: 63FF0C250C: from=<>, size=2730, nrcpt=1 (queue active)
Oct 2 18:40:28 mehitabel postfix/qmgr[1984]: B356DC24FB: removed
Oct 2 18:40:29 mehitabel postfix/smtp[4546]: 63FF0C250C: to=<jk@--MyServer-->, relay=smtp.gmail.com[64.233.160.109]:587, delay=0.55, delays=0.03/0/0.47/0.05, dsn=5.5.1, status=bounced (host smtp.gmail.com[64.233.160.109] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 ls8sm3311493obb.13 - gsmtp (in reply to MAIL FROM command))
Oct 2 18:40:29 mehitabel postfix/qmgr[1984]: 63FF0C250C: removed
The 192.168.0.2 address is the local machine from which I attempted to send a test message to myself at my public address.
All communication to and from my public address is working properly. Only attempts to route outgoing traffic from my local server to gmail receive the bounce action, and it shows up only in the log file.
My initial searching for solutions led me to do a "diff" between the old and new versions of the various configuration files (copied to a "work" directory so that I could modify their names and identify which was which). The only differences I see are in the /etc/postfix/master.cf file, as follows:
Code:
jk@mehitabel:~/work$ diff "old master.cf" "new master.cf"
3c3,4
< # of the file, see the master(5) manual page (command: "man 5 master").
---
> # of the file, see the master(5) manual page (command: "man 5 master" or
> # on-line: http://www.postfix.org/master.5.html).
12c13
< pickup fifo n - - 60 1 pickup
---
> pickup unix n - - 60 1 pickup
14c15
< qmgr fifo n - n 300 1 qmgr
---
> qmgr unix n - n 300 1 qmgr
27d26
< -o smtp_fallback_relay=
jk@mehitabel:~/work$
I suspect that the option line (last one in the diff output) that's in the old file but not in the new just may be the problem, but I'd like some confirmation before making any changes, since everything is working from my public servers and I don't want to risk disabling access to them!
Bookmarks