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

Top Page
Delete this message
Reply to this message
Author: Vincent Danen
Date:  
To: james
CC: exim-users
Subject: Re: [Exim] SMTP AUTH failure for apple's mail.app
--

On May 31, 2004, at 3:55 PM, 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
>
>
> 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?
>
> Does anyone know of a fix to this problem. Granted the percentage of
> OSX
> users out there is pretty small but I'm thinking there must be a fix to
> something as serious as this.


I use mail and have no problems with it and exim whatsoever. My
authenticators are slightly different, and both work (although I use
the cram-md5 one now, I did test both when I set it up some time ago):

begin authenticators

plain_login:
   driver           = plaintext
   public_name      = LOGIN
   server_prompts   = Username:: : Password::
   # only show on TLS-protected connections
   server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
   server_condition =
${lookup{$1}lsearch{/etc/exim/domains/smtp-auth.pwd}\
                      {${if eq{$value}{$2}{yes}{no}}}{no}}
   server_set_id    = $1


cram_md5_login:
   driver        = cram_md5
   public_name   = CRAM-MD5
   server_advertise_condition = ${if eq{$tls_cipher}{}{no}{yes}}
   server_secret =
${lookup{$1}lsearch{/etc/exim/domains/smtp-auth.pwd}{$value}fail}
   server_set_id = $1


I don't inlcude a PLAIN authenticator at all (I guess that's one way of
forcing them to use LOGIN).

--
OpenSLS - Secure Linux Server: http://opensls.org/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
--
content-description: This is a digitally signed message part

[ PGP.sig of type application/pgp-signature deleted ]
--