Bonjour,
voila j’ai configuré exim4 pour l’envoi avec smtp.gmail.com mais je n’arrive pas a envoyé de mail pourtant je pense tout avoir bien parametrer.
contenu de mon fichier update-exim4.conf.conf :
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='dev'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='localhost'
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'
Contenu du fichier passwd.client :
gmail-smtp.l.google.com:toto@example.com:pass
*.google.com:toto@example.com:pass
smtp.gmail.com:toto@example.com:pass
Lorsque je fais un test d’envoi :
cela ne fonctionne pas et dans le fichier de log d’exim 4 (/var/log.exim4/mainlog) j’ai ce qui suit :
tail -f /var/log/exim4/mainlog
2008-07-31 13:52:24 1KOWhj-0006W3-8O plain authenticator failed H=gmail-smtp.l.google.com [66.249.93.111] 535-5.7.1 Username and Password not accepted. Learn more at
535 5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 w28sm2824421uge.4
2008-07-31 13:52:25 1KOWhj-0006W3-8O login authenticator failed H=gmail-smtp.l.google.com [66.249.93.111] 535-5.7.1 Username and Password not accepted. Learn more at
535 5.7.1 http://mail.google.com/support/bin/answer.py?answer=14257 w28sm2824421uge.4
2008-07-31 13:52:25 1KOWhj-0006W3-8O ** toto@example.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<> SIZE=2590: host gmail-smtp.l.google.com [66.249.93.111]: 530-5.5.1 Authentication Required. Learn more at\n530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 w28sm2824421uge.4
2008-07-31 13:52:25 1KOWhj-0006W3-8O Frozen (delivery error message)
2008-07-31 14:04:05 exim 4.69 daemon started: pid=25452, -q30m, listening for SMTP on [127.0.0.1]:25
2008-07-31 14:04:05 Start queue run: pid=25453
2008-07-31 14:04:05 1KOWhj-0006W3-8O Message is frozen
2008-07-31 14:04:05 End queue run: pid=25453
je précise que mes identifiants sont bon puisque j’envoi des mails sans souci avec mon client mail evolution.
Avez vous une idée?
Merci