> > Does anyone know of qmail patches AND clients to implement
> > draft-myers-smtp-auth-12.txt ?
> > If not, has anyone tried implementing the AUTH=LOGIN scheme
> > available in latest Netscape Communicator?
>
> The only authtication method I know to be working with qmail and
> probably any MUA out there is smtp-after-pop. There is a very much
> complete package at www.qmail.org from Russell Nelson. GMX btw. does
> this.
Well, there must be around one million ways to do that... The morale
is: as soon as qmail-smtpd gets to receiving the message, RELAYCLIENT
has to be set to "". There are two basic approaches:
1. Something happens before you connect to port 25. (It might be
successful POP3 login, but it might be anything else.) This action
triggers a program which updates tcp.smtp (whatever it's called) by
adding remote IP:allow,RELAYCLIENT="" line and rebuilds the cdb
(tcprules). (You then have to remove this line after some time - like
ten minutes.)
2. You have a wrapper around qmail-smtpd which listens to the first
part of communication and if it sees something special, it invokes
qmail-smtpd with updated environment (adding RELAYCLIENT=""); if it
doesn't, it invokes it without modified environment.
The only implementation now available (AFAIK) is smtp-after-pop; but
it's quite simple to write another one to suit your needs.
If you want to know how SMTP authentization works, you should read
the corresponding RFC (hey gurus, what's the corresponding RFC?).
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]