Thursday, August 19, 2010

Setting up of postfix on debian

For some reason I stopped being able to deliver emails from my postfix installation:

Aug 19 14:23:18 gotlib postfix/smtp[7669]: certificate verification failed for smtp.gmail.com[209.85.229.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority

This one seems to be easily solved by:

sudo cp /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt /etc/postfix/cacert.pem

The following was a bit more tricky:

Aug 19 14:23:19 gotlib postfix/smtp[7669]: A6E401E4A1: to=, relay=smtp.gmail.com[209.85.229.109]:587, delay=0.74, delays=0.01/0/0.73/0, dsn=4.7.1, status=deferred (SASL authentication failed; server smtp.gmail.com[209.85.229.109] said: 535-5.7.1 Username and Password not accepted. Learn more at ?535 5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 k6sn951170rej.1)

I went to the above link, then followed to:

http://www.google.com/accounts/DisplayUnlockCaptcha

It seems everything is back to normal !


One more thing, to flush all email stored in /var/spool/postfix/deferred, simply type:

postfix flush

I love postfix !

No comments: