Dear Procmailers,
I am trying to sort incoming mail according to the TO field. I have a
central IMAP server and use fetchmail to get all mails from several accounts
because we (I and my wife) use different accounts depending on how
suspicious we are that we will be spammed.
All received mails come into the server and are then sorted with procmail
into categories, according to various criteria and delivered to Maildir
mailboxes, all this is working.
I tried a recipe to select mails to a different account so that it would be
delivered to the inbox of a different user (all mail is fetched by a Linux
account 'postbote' for this purpose).
Recipe is:
:0
* ^TO_name(_at_)domain(_dot_)dom
/var/home/sabine/Mailer/new
The procmail log reports:
procmail: [9931] Fri Nov 5 19:55:34 2004
procmail: Assigning "MAILDIR=/var/home/postbote/Maildir"
procmail: Assigning "DEFAULT=/var/home/postbote/Maildir/"
procmail: Assigning "DROPPRIVS=yes"
procmail: Assuming identity of the recipient, VERBOSE=off
/var/home/sabine/Maildir/new: /var/home/sabine/Maildir/new: Permission
denied
procmail: Error while writing to "/var/home/sabine/Maildir/new"
From von(_dot_)knobloch(_at_)t-online(_dot_)de Fri Nov 5 19:55:34 2004
Subject: [Fwd: AW: Loginproblem]
Folder: /var/home/postbote/Maildir/new/1099680935.9931_0.animalhouse
3645
It is clear that it is a permissions problem. What I can't seem to find is
enough information about how the permissions work in Procmail and how a user
identity is determined. I have tried giving group permissions in sabine's
Maildir to postbote, but it didn't make any difference.
Can anyone point me in the right direction please ?
Many thanks,
Robert von Knobloch
____________________________________________________________
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