Displaying 2 results from an estimated 2 matches for "mymailus".
Did you mean:
mymail
2012 May 08
1
Enforcing Dovecot Quotas
...plugins = quota
}
protocol imap {
mail_plugins = quota imap_quota
}
plugin {
quota_exceeded_message = You have exceeded the maximum quota for
your mailbox
}
the dovecot sql (mysql) file has the following query for pulling out user
ids and quotas etc:
user_query = SELECT maildir, mymailuser as uid, mymailgroup as
gid,concat('maildir:storage=',quota) as quota FROM virtual_mailbox WHERE
username = '%u'
I have set one of my users to have a quota of 1 (so one byte I believe) so
it should be over the limit pretty much immediately.
Looking at the logs I can see that the...
2006 Apr 19
0
Connection closed by foreign host.
...nd are disconnected. The user is a valid Linux
user and the mail file exists under /var/mail. They say no errors are
written to /var/log/maillog.
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK dovecot ready.
USER mymailuser
+OK
PASS 123456
+OK Logged in.
Connection closed by foreign host.
#
Can anyone give me ideas where we would begin troubleshooting this?
Many thanks,
Steve :)