On Thu, 2010-03-04 at 14:05 -0800, bruce wrote:
Hi Craig...
I'm getting an err in my maillog file Mar 4 13:42:17 lserver6 postfix/master[12985]: daemon started -- version 2.3.3, configuration /etc/postfix Mar 4 13:42:17 lserver6 postfix/qmgr[12988]: C01AF2DEEEE: from=root@lserver6.tmesa.com, size=550, nrcpt=1 (queue active) Mar 4 13:42:18 lserver6 postfix/smtp[12990]: C01AF2DEEEE: to=badouglas@gmail.com, relay=smtp.gmail.com[74.125.43.109]:587, delay=125, delays=124/0.04/0.71/0.17, dsn=5.7.0, status=bounced (host smtp.gmail.com[74.125.43.109] said: 530 5.7.0 Must issue a STARTTLS command first. 13sm724730bwz.15 (in reply to MAIL FROM command)) Mar 4 13:42:47 lserver6 sendmail[12995]: o24Lgl76012995: from=root, size=57, class=0, nrcpts=1, msgid=201003042142.o24Lgl76012995@lserver6.tmesa.com, relay=root@localhost Mar 4 13:42:47 lserver6 postfix/smtpd[12996]: connect from localhost.localdomain[127.0.0.1] Mar 4 13:42:47 lserver6 postfix/smtpd[12996]: 534892DEF05: client=localhost.localdomain[127.0.0.1] Mar 4 13:42:47 lserver6 postfix/cleanup[12998]: 534892DEF05: message-id=201003042142.o24Lgl76012995@lserver6.tmesa.com Mar 4 13:42:47 lserver6 postfix/qmgr[12988]: 534892DEF05: from=root@lserver6.tmesa.com, size=555, nrcpt=1 (queue active) Mar 4 13:42:47 lserver6 sendmail[12995]: o24Lgl76012995: to=badouglas@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 534892DEF05) Mar 4 13:42:47 lserver6 postfix/smtpd[12996]: disconnect from localhost.localdomain[127.0.0.1]
!!!!!! ERROR !!!!!!!!!
>>>>>>>>>>>>>>>>>>>>>>>>>>
Mar 4 13:42:48 lserver6 postfix/smtp[12999]: 534892DEF05: to=badouglas@gmail.com, relay=smtp.gmail.com[72.14.221.111]:587, delay=0.94, delays=0.07/0.03/0.67/0.17, dsn=5.7.0, status=bounced (host smtp.gmail.com[72.14.221.111] said: 530 5.7.0 Must issue a STARTTLS command first. e20sm1840001fga.10 (in reply to MAIL FROM command)) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< !!!!!! ERROR !!!!!!!!!
I've got the following in my conf files:
main.cf smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = relayhost = smtp.gmail.com:587
sasl_passwd smtp.gmail.com foo@gmail.com:foopasswd
transports gmail.com smtp:[smtp.gmail.com]:587
i did a /usr/sbin/postmap sasl-passwd /usr/sbin/postmap transports
/sbin/service postfix restart
any thoughts/comments?
---- yes, you are trying to send mail through Gmail's servers (smarthost?) and you would necessarily have to configure that using Gmail's configuration requirements which have absolutely nothing to do postfix authentication with client SASL or client TLS.
I just did a google search for 'postfix smarthost gmail' http://www.google.com/search?q=postfix+smarthost +gmail&btnG=Search&hl=en&sa=2
and I am sure one of the first 10 items (if not all of them) would help.
Craig