Hello,

I have been thought for a long time of setting up msa-auth server using
qmail.

The idea is simple. Several hosts with no relay, and one host with
qmail-msa.

The client MUA sends smtp-auth:

login: login%other.server.com
pass: pop3passfromthatserver

Qmail-smtpd checks via pop3 or imap that password on other.server.com;
accepts mail for relay if it is proper. It is very good idea for big
networks, setting up such a centralised server.

A Zmailer solution, made by Artur Urbanowicz (see
http://www.zmailer.org/mhalist/1999/msg00605.html) is introduced for
example at http://msa.lublin.pl/ in LubMAN network, Poland. But I have
decided to set up qmail solution.

I wrote checkpassword replacement which invokes fetchmail -c (idea is
the same). It requires /etc/remotehosts file with domains and hosts
allowed to authorize.

For example:

# coments start with hash, allowed hosts or domains are colon delimited
:host1.domain.com:
:.host2.com:

Complete code is available at http://www.liap.eu.org/checkremote/

I have been tested it with Mrs.Brisby qmail-smtp-auth patch, and it
works fine. But qmail-smtpd patched like that is very slow, even with
original checkpassword.

If you have any suggestion or bug reports please send it to me. And an
ask for qmail.org webmasters -is my code good enough to add info about
my program to qmail website?

Regards,

-- 
* Lukasz Komsta * ICQ 14892426 * http://www.luke.eu.org/ *

Reply via email to