Postfix and Cyrus-IMAP interactions on x86_64

The file /etc/postfix/master.cf of postfix-2.1.5-4.2.RHEL4.x86_64 contains a hard-coded path to Cyrus-IMAP LMTP deliver agent, /usr/lib/cyrus-imapd/deliver. However, this causes problems on x86_64 systems since Cyrus-IMAP LMTP deliver agent path is /usr/lib64/cyrus-imapd/deliver.

Fixing this problem is easy: just edit /etc/postfix/master.cf and replace /usr/lib/cyrus-imapd/deliver with /usr/lib64/cyrus-imapd/deliver.

I have filled in a bug report against Red Hat’s Enterprise Linux 4:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192601

Cyrus-IMAP and PAM interactions on x86_64

In Red Hat Enterprise Linux ES 4.1 Update 3, both /etc/pam.d/imap and /etc/pam.d/pop contain hard-coded paths pointing to pam_stack.so, actually /lib/security/pam_stack.so. This causes problems on x86_64 since pam_stack.so is located under /lib64/security/pam_stack.so.

A workaround is to modify /etc/pam.d/imap and /etc/pam.d/pop to look like this:

#%PAM-1.0 auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth

I filled in a bug report against Red Hat Enterprise Linux 4:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192550