[CentOS] Centos 6.6 procmail trouble

Tue Nov 25 15:33:04 UTC 2014
Chuck Campbell <campbell at accelinc.com>

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


-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  (713)993-0671 ph.
                    |   and Integrated Interpretation   |  (713)993-0608 fax
448 W. 19th St. #325|            Since 1992             |  (713)306-5794 cell
 Houston, TX, 77008 |          Chuck Campbell           | campbell at accelinc.com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"