Re: [exim] Authenticate against another server

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: captain
CC: exim-users
Tárgy: Re: [exim] Authenticate against another server
On 2010-09-07 at 12:37 +0200, captain wrote:
> I have the same problem and i'd like to use your script.
>
> But, where do you configure the login and password ?


They come in on the command-line when the script is invoked.

> >        server.ehlo(sys.argv[1])
> >        server.starttls()
> >        server.ehlo(sys.argv[1]) # say hello again
> >        # server.login raises an exception if authentication failure.
> >        server.login(sys.argv[1], sys.argv[2])


So Ed's (somewhat naughtily) using the account-name for the EHLO and
then authenticating with it, plus the password. They're the first
(only) two arguments to the script.

-Phil