Re: Exim4 with zoho
On Mon 16 Jun 2014 at 13:07:09 +0800, 斟酌鵬兄 wrote:
> This is the follow up output of swaks with positive feedback:
> root@Astroweb:/etc/exim4# swaks --auth --to <hidden> --server
> smtp.zoho.com --protocol SMTPS
> Username: <hidden>
> Password:
> === Trying smtp.zoho.com:465...
> === Connected to smtp.zoho.com.
> === TLS started w/ cipher AES128-SHA
> === TLS peer subject DN="/C=IN/ST=Tamilnadu/L=Chennai/O=ZOHO
> Corporation/CN=*.zoho.com"
> <~ 220 mx.zohomail.com SMTP Server ready June 15, 2014 10:02:34 PM PDT
> ~> HELO Astroweb.astroweb
> <~ 250 mx.zohomail.com Hello Astroweb.astroweb <hidden>
> *** Host did not advertise authentication
> ~> QUIT
> <~ 221 mx.zohomail.com closing connection
> === Connection closed with remote host.
brian@desktop:~$ nmap -Pn smtp.zoho.com
Starting Nmap 6.00 ( http://nmap.org ) at 2014-06-16 07:53 BST
Nmap scan report for smtp.zoho.com (74.201.154.90)
Host is up (0.20s latency).
Not shown: 997 filtered ports
PORT STATE SERVICE
113/tcp closed ident
465/tcp open smtps
587/tcp open submission
Nmap done: 1 IP address (1 host up) scanned in 21.84 seconds
brian@desktop:~$ telnet smtp.zoho.com 465
Trying 74.201.154.90...
Connected to smtp.zoho.com.
Escape character is '^]'.
HELO gmail.com
Connection closed by foreign host.
brian@desktop:~$ telnet smtp.zoho.com 587
Trying 74.201.154.90...
Connected to smtp.zoho.com.
Escape character is '^]'.
220 mx.zohomail.com SMTP Server ready June 16, 2014 12:11:51 AM PDT
EHLO gmail.com
250-mx.zohomail.com Hello gmail.com (copernicus.demon.co.uk (80.177.21.246))
250-STARTTLS
250 SIZE 25000000
> > Also in exim4 config:
> > I had protocol = smtps set under
> > "transport/30_exim4-config_remote_smtp_smarthost"
I'd revert this and any other changes made to the files in conf.d and
use smtp.zoho.com::587 as the smarthost. Read the exim4-config_files
manual and complete /etc/exim4/passwd.client.
Reply to: