[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qmail-smtpd-auth



On Mon, Sep 16, 2002 at 04:45:18PM -0500, beto wrote:

> Nothing that I can put it to work, if somebody has it running can help
> me

I am running qmail (though not on OpenBSD).

I tried various patches like pop-before-smtp, but found the smtp auth 
to work best (everyone has to AUTH to relay so this is less complicated
and less setup for me). Its also great if you have users that roam. I found
a few MUA clients who had problems though doing SMTP AUTH properly so you
may need to use tcpserver and the RELAYCLIENT variable for some situations.

The SMTP AUTH source I used is at:
http://www.nimh.org/dl/qmail-smtpd.c

Backup your old copy of qmail-smtpd.c:

cd qmail-1.03
mv qmail-smtpd.c qmail-smtpd.c.orig

Download the patched qmail-smtpd.c and put into source tree. Do make and make
install. That's it you're done. It should work right away after a qmail
restart.

I have found this to work well with OutLook, OutLook Express, Netscape
6, 7 & Mozilla mail clients. I had problems with Mail in MacOS X (though I know
this is fixed and works well in Jaguar). Not tested with Evolution and I think
Eudora was problematic.

Apparently, there is a better patch at
http://members.elysium.pl/brush/qmail-smtpd-auth/
which does all LOGIN, PLAIN and CRAM-MD5 authentication but Ive not tried it.

Also, if you want to do TLS *and* SMTP AUTH, you're gonna have to try another
combined patch since the two SMTP AUTH and TLS patches developed earlier
conflict with each other. Someone did the brave work of merging them:
http://students.imsa.edu/~ngroot/qmail-1.03-starttls-smtp-auth.patch

Ive not tried this either so you're on your own, but the README says:

+The following MUA's are confirmed to work with this patch:
+
+Eudora 4.2.2           -       CRAM-MD5
+Eudora 5.0.2           -       CRAM-MD5
+The Bat 1.39           -       LOGIN & CRAM-MD5
+Outlook Express 4      -       LOGIN
+Outlook Express 5      -       LOGIN
+Outlook 2000           -       LOGIN
+Netscape 4.x           -       LOGIN & PLAIN
+Netscape 4.0x          -       LOGIN
+Pegasus Mail 3.1x      -       CRAM-MD5


-- 
.jA
repoleveD \ .nimdA smetsyS