Next Previous Contents

4. More details

If you used the debian packages, you shouldn't be reading this unless something went really wrong. You can specify the database to use with the environment variable LOGINDB.

Ok, now you should have something like ``LOGINDB=type:nameofdb'' both in /etc/courier/{pop3d,imapd}, you should have a cron job in /etc/cron.d that looks like ``authcleanup 10 type:nameofdb'' and you should have modified /etc/init.d/courier-pop (or pop3d) as indicated above. Now, you only need to tell courier to load authpostfix as the last authentication module. You should check the documentation provided with courier or with your distribution in order to correctly do this. Usually you should add authpostfix as the last option of the AUTHMODULES parameter in the configuration files of imap and pop3. Note that authpostfix must be the last authentication module to load, otherwise it won't work.


Next Previous Contents