qmail-smtpd-auth FAQ

This section is a result of the correspondece between me and users of my patch. The most common questions will be answered here.


Important notice: Before asking any questions read this FAQ and also check the Mailing list archives. Also do not ask any question in private mails to the patch developers - ask them on the mailing list so others can benefit from the answers!



Questions:

1. I have installed everything accourding to you docs, but i still get authentication errors.
2. I've made sure checkpassword can read shadow etc. but it still does not work.
3. Is this possible to use your patch with vpopmail?
4. Is this possible to use your patch with vmailmgr?
5. Is this possible to use your patch with qmail-ldap or any other qmail/checkpassword modification?

Answers:

1. Make sure that your checkpassword utility can read the shadow file. This is the most common problem. Either make it suid root or find another (safer) way to make it read that file.

2. Make sure that your qmail-smtpd user can actualy launch the checkpassword utility. The default permissions on /bin/checkpassword are too strict.

3. (this answer is contributed by Ismail YENIGUL:

4. The solution is simple: