[exim] Exim4 and Gmail on RPi - Frozen email

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Anon
Date:  
À: exim-users
Sujet: [exim] Exim4 and Gmail on RPi - Frozen email
Hi,

I think I have the typical frozen error when sending my emails via
Gmail. But I don't know how to fix that :(

This is what /var/log/exim4/mainlog :

2015-08-28 21:52:33 1ZVPhQ-00086z-4E ** MYEMAIL@??? R=smarthost
T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL
FROM:<MYEMAIL@???> SIZE=1542: host gmail-smtp-msa.l.google.com
[64.233.184.108]: 530-5.5.1 Authentication Required. Learn more at\n530
5.5.1 https://support.google.com/mail/answer/14257 bq7sm9459906wjc.31 -
gsmtp
2015-08-28 21:52:33 1ZVPhR-000874-9Z <= <> R=1ZVPhQ-00086z-4E
U=Debian-exim P=local S=1617
2015-08-28 21:52:33 1ZVPhQ-00086z-4E Completed

2015-08-28 21:52:34 1ZVPhR-000874-9Z plain authenticator failed
H=gmail-smtp-msa.l.google.com [64.233.184.108] 534-5.7.14
<https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvQ3
534-5.7.14
...
534-5.7.14 B8K7FEc_G-IW0Ea0XpYnNxMdAbqc> Please log in via your web
browser and
534-5.7.14 then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754
c7sm9484123wjb.19 - gsmtp


It says "log in via your web browser and then try again".
I did, I logged in successfully, but it changed nothing :(

I also tried to visit that page they mention
https://accounts.google.com/ContinueSignIn?sarp=1&scc ... -> no change

This is my update-exim4.conf :

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.gmail.com::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
disable_ipv6='true'


This is my passwd.client :

gmail-smtp-msa.l.google.com:MYEMAIL@???:MYPASS
*.google.com:MYEMAIL@???:MYPASS
*.gmail.com:MYEMAIL@???:MYPASS

This file is readable by Debian-exim :

-rw-r----- 1 root Debian-exim 357 août 28 21:48 passwd.client


And my /etc/email-addresses :

root: MYEMAIL@???
user: MYEMAIL@???

If I do "host smtp.gmail.com", I get :

smtp.gmail.com is an alias for gmail-smtp-msa.l.google.com.
gmail-smtp-msa.l.google.com has address 64.233.166.108
gmail-smtp-msa.l.google.com has address 64.233.166.109
gmail-smtp-msa.l.google.com has IPv6 address 2a00:1450:400c:c02::6d


Finally, I have exim 4.80 :
Exim version 4.80 #3 built 18-Oct-2014 16:16:30
Copyright (c) University of Cambridge, 1995 - 2012
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2012
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated

and I have disabled ipv6.

$ exim -bP disable_ipv6
disable_ipv6

Thanks!

Winda.