Re: [Exim] SMTP AUTH failure for apple's mail.app

Pàgina inicial
Delete this message
Reply to this message
Autor: Giuliano Gavazzi
Data:  
A: james, exim-users
Assumpte: Re: [Exim] SMTP AUTH failure for apple's mail.app
At 5:55 pm -0400 2004/05/31, James Thoms wrote:
>Just wondering if anyone has found a work around for apple's mail.app(the
>default mail client) problem.
>Seems like it doesn't do authentication properly.
>
>I get 004-05-31 20:25:09 plain authenticator failed 535 Incorrect
>authentication data.
>
>http://www.talkaboutmac.com/group/comp.sys.mac.comm/messages/333971.html


well, this article says that it is not Mail.app's fault.

>
>my exim.conf file has the following:
>
>begin authenticators
>
>plain:
>     driver = plaintext
>     public_name = PLAIN
>     server_condition = "${perl{smtpauth}}"
>     server_set_id = $2

>
>login:
>     driver = plaintext
>     public_name = LOGIN
>     server_prompts = "Username:: : Password::"
>     server_condition = "${perl{smtpauth}}"
>     server_set_id = $1

>
>Is there anyway to force this client to use AUTH LOGIN instead of AUTH
>PLAIN?

[...]

I use PAM for authentication and it works fine with Mail.app (it uses PLAIN)

login:
   driver = plaintext
   public_name = LOGIN
   server_prompts = "Username:: : Password::"
   server_condition=${if and     {\
                                         {!eq{$1}{}}\
                                         {!eq{$2}{}}\
                                         {pam{$1:${sg{$2}{:}{::}}}}\
                                 }\
                 {yes}{no}}


plain:
   driver = plaintext
   public_name = PLAIN
   server_prompts =  :
   server_condition=${if and     {\
                                         {!eq{$2}{}}\
                                         {!eq{$3}{}}\
                                         {pam{$2:${sg{$3}{:}{::}}}}\
                                 }\
                 {yes}{no}}


Giuliano