Re: [Exim] Info about exim authentication system...?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Christian Vogel
Dátum:  
Címzett: Luciano Ferrer
CC: exim-users
Tárgy: Re: [Exim] Info about exim authentication system...?
Hi Luciano,

On Wed, Mar 24, 2004 at 10:26:12AM -0300, Luciano Ferrer wrote:
> a software made in VBScript,


my condolence...

> He tried programing SMTP authenticate, but can not make it work...
> Anyone know some docs, text, or something that explain exim authentications use?


There is RFC2554 http://www.faqs.org/rfcs/rfc2554.html and there is
of course the exim specifiation which mentions how to test SMTP auth
by hand, which also provides some insight.

basically, right after the EHLO you send:
        AUTH PLAIN base64('\0user\0password')
and that should be it.


> any other idea?


#!/usr/bin/python2.3
import smtplib
fm = 'chris@???'
to = 'vogel@???'
msg = 'from: %s\nto: %s\n\nhello world\n'%(fm,to)
server = smtplib.SMTP('MAILSERVER_ADDRESS_OR_NAME')
server.login('USER','PASSWORD')
server.sendmail(fm, to, msg)
server.quit()

        Chris


--
Christian Vogel -- chris@???