procmail
[Top] [All Lists]

Re: Permissions issue? One account -> procmail -> multiple accounts

2006-02-26 08:39:54

On Sun, 12 Feb 2006, Lists wrote:


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 can't get the permissions set correctly.

I've got UMASK=002 at the top of the .procmailrc.

Here's what happens when a new message gets delivered which creates a
new folder:

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/

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?

Anyone have any clues for me?

TjL

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

        Set Group-ID in directory mode: New object that you create in
        this directory will inherit the same Group ID.

        Maybe you did it, long time ago, because the application's UID
        and GID is  mail.mail  and this is the reason why
drwxrws---  70 joe luomat ...
        doesn't allow to enter the dir?   What do oyu see in procmail's
        logs?

Bye,
  Udi


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>