Re: [exim] debugging a lookup

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Heiko Schlittermann
日付:  
To: exim-users
題目: Re: [exim] debugging a lookup
paul cooper <pdcooper@???> (Di 13 Dez 2011 22:59:59 CET):
> im trying to go through this and sort out which bit of it is failing
>
> my smtp_user file is this
> root@server2:~# cat /etc/exim4/smtp_users
> *@isp.org smarthost="localhost::26" auth_name="p@???"
> auth_pass="password"
> *@gmail.com: smarthost="smtp.gmail.com::587"
> auth_name="mx@???" auth_pass="password"
>
> router
>
> the authenticator
> login:
> driver = plaintext
> public_name = LOGIN
> client_send = ": ${extract{auth_name}{${lookup{$sender_address}wildlsearch{/etc/exim/smtp_users}{$value}fail}}}\
> : ${extract{auth_pass}{${lookup{$sender_address}wildlsearch{/etc/exim/smtp_users}{$value}fail}}}"


I start thinking that your Exim does not even starts an attempt to
authenticate.

> SIZE=1646: host smtp.gmail.com [209.85.229.108]: 530-5.5.1
> Authentication Required. Learn more at\n530 5.5.1
> http://mail.google.com/support/bin/answer.py?answer=14257
> dj9sm185520wib.6


I did some tests:

- using no authentication at all:
<~* 530-5.5.1 Authentication Required. Learn more at                              
<~* 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 j20sm14974667eej.8


- using corrent auth data (but no application specific password)
<~* 535-5.7.1 Application-specific password required. Learn more at               
<~* 535 5.7.1 http://www.google.com/support/accounts/bin/answer.py?answer=185833 j20sm14978410eej.8


- using wrong password
<~* 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 j20sm14986449eej.8


--
Heiko