procmail
[Top] [All Lists]

Sendmail, procmail and Linux Quota

2005-10-31 07:25:42
Hello

I have defined Linux quotas for all the users under /home, and I have
configured procmail to deliver email to the users inbox under /home. The
delivery works ok, but procmail is allowed to exceed the users quota.

When I log in as an individual user I have confirmed that Linux quota is
working. I think this problem is because procmail is running as user root.
But I can't figure out how to configure procmail to deliver mail as the
receiving user. My configuration is as follows:

 

Sendmail.mc:

 

FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl

 

/etc/procmailrc (the users don't have there own .procmailrc files):

 

MAILDIR=$HOME/mail

COMSAT=no

LOGFILE=/var/log/procmail.log

VERBOSE=on

 

# send mail through spamassassin

:0fw

| /usr/bin/spamc -u $LOGNAME

 

:0:

* ^X-Spam-Status: Yes

Spam

 

:0:

INBOX

 

Can anyone help?

 

Rune Hamnvik

Mobinor AS

Norway

 

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