Pigeonhole and email quotas

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,358
Location
www.poralix.com
I've managed to enable quotas, this error I've got if quotas are exceeded:

Code:
LMTP error after end of data: 552 5.2.2 <[email protected]> Quota exceeded (mailbox for user is full)

I've followed this http://wiki2.dovecot.org/Quota/Configuration

I've had to modify passwd file:

Code:
# cat /etc/virtual/domain.com/passwd
po4ta:$1$************:503:12::/home/username/imap/domain.com/po4ta:/bin/false:userdb_quota_rule=*:bytes=50M
test:$1$************:503:12::/home/username/imap/domain.com/test:/bin/false:userdb_quota_rule=*:bytes=1M

So, I guess we need changes in Directadmin.

p.s. For now I'm running a merge files script, which is executed by Directadmin. Could we have it in Directadmin?
 
Alex, what did you change in dovecot regarding quota? There are different steps to manage from your how-to dovecot+exim+manageisieve+pigeonhole?

Regards
 
With that method Exim keeps logging that message has been delivered and dovecot drops it immediatelly (which means it's lost). Can we keep the message in exim queue for a while before declining it completelly?
Another one - can "Rejected: xx" message be customised somehow?
 
Hello,

1. Update exim.conf

What do you see with

Code:
tail /etc/exim.conf

exim.conf version 4.3.4 has the following lines:

Code:
[root@server etc]# tail /etc/exim.conf
##################################################################################
# RETRY CONFIGURATION
##################################################################################
#EDIT#65:
# Domain               Error       Retries
# ------               -----       -------
begin retry
*                      quota
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
# End of Exim 4 configuration

If you see the same you might need to remove/modify line:



Code:
*                      quota

and restart exim.

2. Update dovecot configs:

add

Code:
quota_full_tempfail = yes

in protocol section for lmtp or lda (depending of what protocol you use).

p.s. That's up to you to protect your configs from being overwritten by custombuild.
 
Back
Top