Operation timed out with smtp.gmail.com - please help
jerry at seibercom.net
Fri Mar 29 19:41:34 UTC 2013
On Fri, 29 Mar 2013 18:32:34 GMT
Anton Shterenlikht articulated:
> Please help debug sendmail / smtp.gmail config.
> My University just switched to gmail (dickheads)
> and I'm trying to figure out how to set it up.
> It used to work ok with the University smtp auth
> server. Now I get in /var/log/maillog:
> sm-mta: r2TI0vQc072134: to=<mexas at bris.ac.uk>,
> ctladdr=<mexas at xxxx.men.bris.ac.uk> (1001/1001),
> delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424,
> relay=smtp.gmail.com, dsn=4.0.0,
> stat=Deferred: Operation timed out with smtp.gmail.com
> I switched the firewall off completely.
> I have:
> # cat /etc/mail/auth/client-info
> AuthInfo:smtp.gmail.com "U:root" "I:mexas at bristol.ac.uk" "P:xxxxx"
> and this in /etc/mail/freebsd.mc:
> define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
> define(`SMART_HOST', `smtp.gmail.com')dnl
> I rebuilt (run make under /etc/mail. This just
> renames freebsd.mc to <hostname>.mc, and freebsd.submit.mc
> to <hostname>.submit.mc) and restarted sendmail.
> I also use:
> to use the university domain instead of
> may xxxx.men.bris.ac.uk, which is not
Try this at the command line:
openssl s_client -connect smtp.gmail.com:25 -starttls smtp
If it times out, change the port number to 587 and try it again. If you
cannot make a connect using either port number then you have a firewall
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
More information about the freebsd-questions