Sam Varshavchik wrote:
Bowie Bailey writes:
Sam Varshavchik wrote:
Bowie Bailey writes:
I just set up a new server and it is accepting mail to
over-quota accounts and letting it sit in the mailq. I think
this is a permissions problem. What do I need to do so that
Courier can reject mail with a 4xx if the account is over quota?
The current version of Courier, under its default settings, will
accept one message to an overquota account, which will sit in the
mailq, but all further messages to this address will get turned
away with a 4xx, until such time that the message in the mail
queue gets delivered.
That's not what I'm seeing. I have not seen a single quota
rejection in my maillog. One of my over-quota users has six
messages in the queue right now.
That's why wrote "under its default settings".
All I see in the log is repeated "maildir over quota" and "status:
deferred" messages coming from courierlocal.
Are there any permissions issues that could be involved? Where are
the settings that control this behavior?
The BOFHSUPPRESSBACKSCATTER setting in the bofh configuraton file,
and the ESMTP_BLOCKBACKSCATTER in the courierd configuration file.
Ok, I did have this disabled in the courierd configuration. I had
forgotten about that.
I'm still not sure why this affects quota checking. The description
of the ESMTP_BLOCKBACKSCATTER setting only mentions dropping DSNs. It
says nothing about accepting or rejecting other messages.
I changed that setting back to default and did a "courier restart".
I was still able to drop three more messages into the queue for my
user (via non-auth smtp). What am I missing?