I've setted up a mail server with Postfix+SASL and Courier a while back, with procmail dispatching incoming messages to the right user maildir subfolder. It worked well, I could sent/receive emails without troubles.
A few days ago, I did a system upgrade. Since then, incoming and previously deleted messages gets wrong permissions (600), but are owned by the right user. The problem is that now I receive duplicates of each email every 2 minutes. By the end of the day I have 15000 messages in my inbox.
Below is an example of what I get doing
-rw------- 1 kevin kevin 89K 2012-03-01 11:10 msg.3GA2B:2, -rwxr-xr-x 1 kevin kevin 29K 2012-03-01 10:58 msg.6AA2B:2,S -rwxr-xr-x 1 kevin kevin 4,4K 2012-03-01 11:04 msg.VGA2B:2, -rw------- 1 kevin kevin 4,4K 2012-03-01 11:10 msg.ZcA2B:2,
Some people complained about procmail to be the cause of this kind of problems so I added
DROPPRIVS=yes at the top of my
~/.promailrc like they advised but nothing changed.
My question is, do you know what program is responsible of changing the permissions ? Why and how can I fix it?
Thanks by advance.