Re: [vchkpw] maildrop and quotas

2005-03-04 Thread Rick Widmer

Charles Sprickman wrote:
ps: anyone else notice that the sf.net list for vpopmail-devel looks to 
be dead?
The list seems to be working, except the SourceForge archive shows 6
messages on Feb 18 that don't appear in the message list.
I think most of the vpopmail work recently is happening in simscan and
qmailadmin.
Rick



[vchkpw] maildrop and quotas

2005-03-04 Thread Charles Sprickman
Hi,
I saw the following on one of the courier lists that piqued my interest:
- (Brian Candler <[EMAIL PROTECTED]>)
"I've used deliverquota, not maildrop, but they use the same library for
delivering mail into the maildir.
If I remember rightly: if you try to send a mail which would take the
mailbox over-quota, deliverquota will exit with an error code (EX_TEMPFAIL
or EX_NOPERM or something like that) and not deliver the message, nor any
warning.
What happens next is up to Postfix. It may treat this as a temporary 
error, and retain the mail in its queue - retrying periodically, and 
eventually bouncing it after a few days."
-

I use maildrop on anyone that's using spam filtering, and I occasionally 
see this error logged from maildrop:

Mar  4 15:48:50 xena maildrop[21338]: Unable to open mailbox.
Not very specific, but dollars to donuts says it's probably the above 
situation.  If that's the case, can anyone think of a fix for this 
situation (ie: user is at 89% usage w/10MB quota and a 2MB message comes 
in)?  Ideally, that message should bounce back to the sender with an 
overquota message...

ps: anyone else notice that the sf.net list for vpopmail-devel looks to be 
dead?

Thanks,
Charles


[vchkpw] Maildrop and quotas/warnings

2003-09-17 Thread Charles Sprickman
Hello all,

I'm having some problems getting maildrop to behave properly when someone
goes over quota.  This is vpopmail 5.3.27 and maildrop 1.5.2 (with quota
support).

First of all, when vdelivermail is delivering the mail, there's no
problem.  If the user is over 90%, they get a warning, if they are over
quota, the sender gets a bounce (is there a way to customize that
message?).

However users that have their mail filtered through maildrop never get a
warning.  I call maildrop with "-w 90" which should deliver
/usr/local/etc/qoutawarnmsg to the user when they go over 90% usage.
Additionally, once they are over quota, maildrop starts delivering to
/var/mail/vpopmail.  That's the really bad part.

Any ideas?

Thanks,

Charles