I have one main account where all my mail is delivered, procmail runs
and delivers mail to several different Maildirs.
Assume there are 4 shell accounts: joe bill eric scott
These are all in the same group.
.procmailrc does things like:
:0
* ^Sender: procmail-bounces(_at_)lists\(_dot_)RWTH-Aachen\(_dot_)DE
/home/joe/Maildir/.INBOX.procmail/
I've got UMASK=002 at the top of the .procmailrc.
What happens is that my mail client can see that the new folder
"testTNT2" has been created but cannot see that there is mail there.
Someone else looked at a log and said that the IMAP server is sending
\HasNoChildren
This doesn't make sense to me. If the mail client can see the
folder, why can't it see the sub-folders?
I can't get the permissions set correctly.
Here's what is created when a new message gets delivered (that new
message created the folder "INBOX.testTNT2"):
drwxrwsr-x 5 luomat luomat 4096 Feb 12 20:43 /home/joe/
Maildir/.INBOX.testTNT2
drwxrwsr-x 2 luomat luomat 4096 Feb 12 20:43 /home/joe/
Maildir/.INBOX.testTNT2/cur
drwxrwsr-x 2 luomat luomat 4096 Feb 12 20:43 /home/joe/
Maildir/.INBOX.testTNT2/tmp
drwxrwsr-x 2 luomat luomat 4096 Feb 12 20:43 /home/joe/
Maildir/.INBOX.testTNT2/new
-rw-rw-r-x 1 luomat luomat 694 Feb 12 20:43 /home/joe/
Maildir/.INBOX.testTNT2/new/1139805810.23473_0.knife
and here's the maildir parent directory
drwxrws--- 70 joe luomat 4096 2006-02-12 20:43 /home/tjlists/Maildir/
It's been a long time since I've had to deal with these things, I
know 's' stands for 'sticky' but I can't remember its relevance.
If I make /cur /tmp and /new chmod 777 then I can fetch the mail.
770 does not work.
So my guess is that the GID when I fetch mail is not set to "luomat".
While all the users are in the group 'luomat' it is not their default
group.
They do all have the same default GID however
Can I set the GID in procmail? I didn't find anything in the man
pages and Google was no help :-/
Anyone have any clues for me?
TjL
ps - this was previously sent to the list as two messages, but only
the 2nd one seemed to arrive
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail