the SSL through stunnel (localhost:26 -> isp:465) works but the gmail tls doesn't ( well , i think it did , but overnight it seems to have stopped).
Can i get any more information to see why/where its failing
Do i need something in an authernticator to pass the user/password to the transport ?

Or can anyone see what is wrong  ?


thanks


from isp   from email client

2011-12-08 17:55:55 SMTP connection from mars-desktop.local [192.168.2.3]:43006 I=[192.168.2.20]:25 closed by QUIT 2011-12-08 17:55:57 1RYiCI-0005JJ-Vx => [email protected] F=<[email protected]> R=smarthost_auto T=remote_smtp S=600 H=server2 [127.0.0.1] C="250 OK id=1RYiCK-0007qh-Q2"
2011-12-08 17:55:57 1RYiCI-0005JJ-Vx Completed

from @gmail, from email client

2011-12-08 17:57:56 SMTP connection from [192.168.2.3]:43008 I=[192.168.2.20]:25 (TCP/IP connection count = 1) 2011-12-08 17:57:58 1RYiEI-0005JO-A1 <= [email protected] H=mars-desktop.local [192.168.2.3]:43008 I=[192.168.2.20]:25 P=esmtp S=578 [email protected] T="test" from <[email protected]> for [email protected] 2011-12-08 17:57:58 cwd=/var/spool/exim4 3 args: /usr/sbin/exim4 -Mc 1RYiEI-0005JO-A1 2011-12-08 17:57:58 SMTP connection from mars-desktop.local [192.168.2.3]:43008 I=[192.168.2.20]:25 closed by QUIT 2011-12-08 17:58:00 1RYiEI-0005JO-A1 ** [email protected] F=<[email protected]> R=smarthost_auto T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=1617: host smtp.gmail.com [74.125.79.109]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 x12sm20310192eef.9

the lookup file
*@gmail.com: smarthost="smtp.gmail.com::587" auth_name="[email protected]" auth_pass="xxxx"
*@isp.org smarthost="localhost::26" auth_name="[email protected]"  auth_pass="xxxx"


router :

smarthost_auto:
self = send
condition = ${extract{smarthost}{${lookup{$sender_address}wildlsearch{/etc/exim4/smtp_users}{$value}fail}}}
   driver = manualroute
   domains = ! +local_domains
route_list = "* ${extract{smarthost}{${lookup{$sender_address}wildlsearch{/etc/exim4/smtp_users}{$value}fail}}}"
   transport = remote_smtp

transport

remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain and $host_address"
 driver = smtp
hosts_require_auth = smtp.gmail.com::587
hosts_require_tls = smtp.gmail.com::587
tls_certificate = /etc/exim4/exim.crt
tls_privatekey = /etc/exim4/exim.key

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to