qmail-smtpd-auth

qmail-smtpd-auth is a patch for qmail that enables it to support SMTP AUTH protocol with the following auth types: LOGIN, PLAIN and CRAM-MD5. It's based on a previous patch by Mrs.Brisby that implemented LOGIN type.
This version is enhanced and allows easy adding of new auth methods.

If you want to learn more about SMTP AUTH itself, then visit my SMTP AUTH page.


RECENT NEWS:

21.05.2002 - 0.31 release.. Fixed one bug with AUTH PLAIN 334 response not being RFC compliant and set TCPREMOTEINFO environment variable to authenticated username.
17.04.2001 - 0.30 release.. Complete rewrite of the code to be djb-alike. Merged efforts with Eric M. Johnston so now there is again only one modern qmail-smtp-auth patch. Mailing list created to discuss all things related to the patch. See CHANGELOG.
17.10.2000 - 0.26 release. Security fix - if your checkpassword crashed, attacker would get the relay permission. Now it's fixed.
06.10.2000 - 0.25 release. PLAIN authentication works now. No more netscape hacks. See CHANGELOG.
16.06.2000 - added a FAQ page.

29.05.2000 - 0.24 release. Important fix in cram-md5. See CHANGELOG.
07.02.2000 - 0.23 release. It has one fix, that make it work with Pegasus Mail and maybe other untested clients that want only new style (rfc compliant) greeting. Also a freshmeat anouncement has been made.
02.02.2000 - major site update. Now it contains also some information. 0.22 release. This one looks really stable.
01.02.2000 - bugfix release 0.21. grab it. It finally tries to work.
31.01.2000 - initial release


Getting qmail-smtpd-auth:

You can download the latest version from this page. Notification about new version will be posted by me on Freshmeat too. History of the changes can be found here.

Click on a filename below to download the distribution:

qmail-smtpd-auth-0.31.tar.gz


Instalation procedure and usage:

Required software:

Installation:

Simply patch your qmail-1.03 distribution with the included patch file and recompile & install like usual. Also obtain, unpack , compile and isntall cmd5checkpw utility and add sample account to /etc/poppasswd file.

Usage:

Patched qmail-smtpd should be invoked from inetd or tcpserver like this:

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd your.mail.domain /bin/checkpassword /bin/true

The first parameter is your mail domain name, the second parameter for qmail-smtpd is a checkpassword utility for clear text auth types and optionaly for cram-md5 type too., the second is arg for checkpassword, and third is arg for it. give yout inetd a kill -HUP or restart tcpserver and here you go.

Problems:

If you will encounter any problems, try to read the FAQ first.


Contact information:

If you have any question, comments, improvements regarding qmail-smtpd-auth then subscribe to the Mailing list and contact the developers of this patch that way. I DO NOT answer support questions on my normal e-mail (but you can get answer from me via the mailing list). You can contact me for anything else at qmail-smtpd-auth at brush@elysium.pl . I'm realy asking you guys to send all the enhancements you make so they can be used by all others.


Future plans:

The development on this package will continue. I will add as much funcionality as i need personaly so it'll grow with me. I will also incorporate good stuff if i get any from you. If you need something but you don't know how to code it then let me know. If time permits me, i'll implement it eventualy.

Please read my TODO list to know what features are in the works.


Thanks and so on:

This project was possible because i've got paid to do it. The company that made it possible is Polska OnLine . They are leading polish ISP. If you need professional service, choose them.

We (Elysium deeZine) are experts in professional site design (don't mind this page ;) ) and if you need a good site design, multimedia presentation or some paper work then visit our page and contact us.


Distribution terms:

This patch is in public domain. Do what you want with it.