procmail
[Top] [All Lists]

RE : Mail delivery permissions [SOLVED].

2006-10-20 06:44:25
So we've setup a procmailrc file for this and all the mails are
going in the right folders. But the problem is that the owner
of the mail file is root instead of the UID of the owner of the
mailbox. Hence the users cannot fetch their mails (no problem,
this is a test setup :)

:0
/var/mail/$LOGNAME/

Before that:
DROPPRIVS = yes

See "man procmailrc".

Hello,

It works great!!

Here is my final procmailrc file:

# procmailrc
#
# $Id: procmailrc,v 1.1 2006/10/20 13:08:25 drobilla Exp $
#
# System wide procmail(1) configuration file.
# This configuration causes procmail(1) to deliver mail
# to maildir format as the recipient's UID.
#
# Felix Langelier, October 20th, 2006.

DROPPRIVS = yes
:0
/var/mail/$LOGNAME/

# EOF


Thanks to Dallman for his help!

--
Félix Langelier


____________________________________________________________
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>
  • RE : Mail delivery permissions [SOLVED]., Félix Langelier <=