Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ls:

-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.

share|improve this question

migrated from stackoverflow.com Apr 26 '12 at 12:33

This question came from our site for professional and enthusiast programmers.

    
people typically refer to 'permissions' on files. I didn't know what you were talking about at first, refering to 'rights', maybe you want to edit your post to eas communications on your problem. ALSO to fix the problem, Can you use chmod 666 *.msg* to fix your problem? Do you know about chmod? Good luck. –  shellter Mar 7 '12 at 20:04
    
Oops, sorry I guess I was thinking french, I will fix it right away. I'm not a beginner so of course I know chmod, I am not an expert though. It doesn't work, emails are still duplicating and of course incoming messages automatically gets the wrong permissions. –  kevin Mar 7 '12 at 23:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.