Re: [exim] Quota disciplne, need some help with rules

2011-09-17 Thread Tomasz
Brett Parker iDunno at sommitrealweird.co.uk writes: Why isn't that, more simply: deny message = Sending prohibited, your mailbox is full authenticated = lsearch;/etc/mail/blocked_because_mailboxisfull That doesn't work either. No errors but messages is passed. Q2: Is such

[exim] Quota disciplne, need some help with rules

2011-09-16 Thread Tomasz
Hello. I'm using Exim for virtual domains mail with system accounts. I have a cron script that checks quota usage every minute and creates a current list of system users that went X MB over softquota limit for more then Y days. This is a simple file with each username in new line: cat

Re: [exim] Quota disciplne, need some help with rules

2011-09-16 Thread Brett Parker
On 16 Sep 02:44, Tomasz wrote: snip class=lots / I've added additional rule to acl_smtp_rcpt chain that will deny SMTP for authenticating users, who are in the blacklist: denymessage = Sending prohibited, your mailbox is full condition = ${if \