Quota exceed inform sender

rutekp

Verified User
Joined
May 29, 2007
Messages
20
Hello,

I have only those two setting about quota in my exim.conf
quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
quota_warn_threshold = 85%

And the problem is when someone almost exceed his mailbox quota. Then new emails waiting in queue.

Is there any option to send those email back to sender and inform that quota of the recipient is exceed ?

Thanks
 
You can't return mail once you've received it, because so many spammers use forged sender information, and if you send the mail back, you're most likely sending much of it back to innocent victims who never sent the mail to you in the first place.

You can refuse to accept it. To do that you'd have to create code in the check_recipient ACL to check the quota and if the mailbox is over quota, to give a temporary error. I'm sure it's possible, but I haven't studied how to do it.

Jeff
 
Back
Top