At 18:00 2002-06-18 -0400, Pat Lendon did say:
(1) I know that as soon as quotas are implemented thru procmail, someone
will have a very good reason to be excluded from the quotas. Is it
possible to exclude a user from quotas in procmail? How do you exclude a
user?
The specifics would rather depend on the quota mechanism you're
using. Assuming it is something that you're calling from /etc/procmailrcs,
and you can maintain a list of users who are to be excluded:
:0
* ! ? grep -q ^$LOGNAME\$ /etc/quota.nomail
{
# do your regular quota operation
}
Then, in /etc/quota.nomail (or whatever you want to name it), put in the
userids of the accounts which should be excluded.
It looks like a simple fix because it is.
(2) Has anyone used procmail for quotas (rather than quotas setup with
file system) and are there any concerns/problems?
I can't address this, as I don't do quotas within procmail recipes.
(3) When a message is sent to an account, but the account is over quota
and the message is not delivered - the auto reply sends a message back to
the sender. The sender receives the autorepy message if the sender is
not over quota. What happens to autoreply when sender is over quota?
One would hope that the over quota notice is coming from the MAILER-DAEMON,
and as such, the auto-reply shouldn't reply to it. If you're wondering
where the messages went, check the /etc/maillog, or take a peek into root's
email...
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail