I recently upgraded to Fedora Core 2 since security updates were not being released for Red Hat Linux 8.0 anymore, but had to overcome several sendmail, imapd, SMTP AUTH, and SASL issues to get my email working well again. I thought someone might find the following hints to get things working useful, so here they are after the link.
Cyrus imapd + SASL:
- Cyrus imapd configuration by Florin Andrei
- Install Aleksandar Milivojevic’s db4 RPMs for a workaround to a NPTL vs. old threads issue that causes a "DBERROR db4: Berkeley DB library configured to support only DB_PRIVATE environments" error (see the Bugzilla entry for more information).
- Convert old mailboxes to Cyrus imapd using a script by Wizard
Sendmail + Cyrus imapd:
- Tell /etc/sendmail.mc that Cyrus imapd’s deliver is the local mail delivery agent, and tell it the default Fedora Core 2 rpm location of the LMTP Unix domain socket (then remember to regenerate the cf file and restart sendmail):
- define(`confLOCAL_MAILER’, `cyrusv2′)
- define(`CYRUSV2_MAILER_ARGS’, `FILE /var/lib/imap/socket/lmtp’)dnl
Sendmail SMTP AUTH + SASL:
- Copy /etc/pam.d/smtp.sendmail to /etc/pam.d/smtp since smtp is being specified as the "smtp" service and not "smtp.sendmail" to PAM via SASL when SMTP AUTH is authenticating.