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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to