Re: [exim] outbound smtp auth

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Magnus Holmgren
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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