On 11/21/2014 1:01 PM, Chuck Campbell wrote:
I have a 6.5 machine that had everything set up and working correctly (fetchmail, sendmail w/ starttls, procmail, spamassassin) but the MB cratered. I bought a new machine, and installed Centos 6.6 and all is not well.
I used the config from the previous incarnation (via backups) for fetchmail (works fine), sendmail (works fine for sending via relay and tls), but procmail now refuses to pick up the correct MAILDIR location, and therefore won't deliver mail to the right place.
The example below is landing in /home/user/.spam_to_learn, NOT in /home/user/Maildir/.spam_to_learn Maybe some other eyes can tell me what is wrong here.
-chuck
This was all very bizarre, but it is now resolved.
The Maildir was a link in the user's home directory, pointing at another partition. I re-created the user with the other partition as their home directory, set some selinux contexts correctly for this, and made Maildir a real directory there. Procmail now delivers just fine with no changes in the .procmailrc
I still don't understand how this worked before the crash, and wouldn't work after I restored files, but hey, persistence pays off. It works again...
-chuck