Re: [exim] outbound smtp auth

Etusivu
Poista viesti
Vastaa
Lähettäjä: Magnus Holmgren
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] outbound smtp auth
On Tuesday 06 February 2007 22:33, James Nunnerley wrote:
> For reasons I won't go into in full, I need to be able to send emails using
> exim outbound via another server. This server only allows SMTP with
> Authentication.
>
> I've read through what I think is required, and have configured it as
> follows:
>
> In exim.conf:
>
> [...]
>
> fixed_plain:
> driver = plaintext
> public_name = LOGIN
> client_send = ^username^password


You've mixed up LOGIN and PLAIN. Spot the difference at
http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch34.html#id2700584

"client_send = ^username^password" means "send NULL, usename, NULL, and
password in one line right after LOGIN PLAIN. LOGIN requires you to send
nothing right after AUTH LOGIN, then the username on its own line and the
password on a third line (everything base64-coded, which Exim takes care of
automatically).

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans