Hello,
I have been googling around all weekend and I cannot seem to solve a
problem I have having with maildrop and vpopmail.
I am having a bit of an issue with maildrop and vpopmail using quotas.
If I have NOQUOTA set, I get messages no problem. If I set a quota to
10MB and it goes over 10, I then get no messages and the sender
doesn't get any reply saying the user is over quota. The way this is
supposed to work is the vpopmail user should get a bounce.
I have tried turning off maildrop for one specific user and maxing the
quota. When I do this I get a bounce back to the sender saying the
user is over quota. This is the bounce I get back:
Hi. This is the qmail-send program at gce.nw.local.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<te...@goodcleanemail.com>:
Message rejected. Not enough storage space in user's mailbox to accept message.'
So I know it's not a vpopmail issue, it more of a maildrop related
issue. I have been googling around for vpopmail quota maildrop in
various different ways and I haven't found a solution. What I did find
in my mailfilter about exit code 77 was the following:
if( $RETURNCODE == 77)
{
log "=== END === $EXT@$HOST bounced (quota)"
to "|/var/qmail/bin/bouncesaying
'$EXT@$HOST is over quota'"
}
else
{
log "=== END === $EXT@$HOST failure
(unknown deliverquota error)"
to "$VHOME/Maildir/.Spam"
}
Doesn't seem to want to bounce messages. :-(
Here is my mailfilter I am using:
http://goodcleanemail.com/files/other/mailfilter
Anyone have any ideas?