Re: [exim] IPV6 error in exim -> It works !!!! :)

Góra strony
Delete this message
Reply to this message
Autor: Privacy
Data:  
Dla: exim-users
Stare tematy: Re: [exim] IPV6 error in exim -> still problem
Temat: Re: [exim] IPV6 error in exim -> It works !!!! :)
On 19/04/2014 11:06, Mike Cardwell wrote:
> * on the Fri, Apr 18, 2014 at 10:31:44PM +0200, Privacy wrote:
>
>> But my emails aren't sent. For reminder, I'm trying to have them sent to
>> my gmail account. I have followed this
>> https://wiki.debian.org/GmailAndExim4
>>
>> and the logs say:
>>
>> 2014-04-18 22:18:58 1WbFFS-0005ro-Fj <= xxx@??? U=axelle P=local S=488
>> 2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@??? R=smarthost
>> T=remote_smtp_smarthost defer (-53): retry time not reached for any host
>> 2014-04-18 22:19:29 Start queue run: pid=22565 -qff
>> 2014-04-18 22:21:37 1WbFFS-0005ro-Fj gmail-smtp-msa.l.google.com
>> [173.194.67.108] Connection timed out
>> 2014-04-18 22:23:06 Start queue run: pid=22574 -qff
>> 2014-04-18 22:25:14 1WbFFS-0005ro-Fj gmail-smtp-msa.l.google.com
>> [173.194.67.108] Connection timed out
>
> That warning message states that Exim simply can't connect to
> gmail-smtp-msa.l.google.com. Are you able to telnet to it on port 587
> from that box? Or whatever port you're trying to connect to?


Yes, you're right. I hadn't opened the port on my firewal ;(

Then, I had an issue with exim4 not being able to open my
/etc/exim4/passwd.client -> solved by chown root:Debian-exim passwd.client

Then, gmail still wasn't happy and could not receive my credentials:
SMTP error from remote mail server after MAIL FROM:<> SIZE=2730: host
gmail-smtp-msa.l.google.com [173.194.66.108]: 530-5.5.1 Authentication
Required. Learn more at\n530 5.5.1
http://support.google.com/mail/bin/answer.py?answer=14257

-> I solved this by this thread
http://ubuntuforums.org/archive/index.php/t-2090069.html

*.google.com:myname@???:mypassword
*.gmail.com:myname@???:mypassword

and that works, though to be honest I don't exactly know why just
putting smtp*gmail.com:myname@???:mypassword does not work.

Anyway, now, I send my emails!
Thanks