[Dovecot] deliver + quota failure
Mark Ruijs
mark.ruys at in2sports.net
Sat Oct 21 23:51:38 UTC 2006
I use Dovecot's deliver as the LDA for Postfix in a virtual user setting. My
maillog reads:
Oct 22 00:17:51 mail dovecot: auth(default): master in: USER 1
mark.ruys at in2sports.net service=deliver
Oct 22 00:17:51 mail dovecot: auth-worker(default):
sql(mark.ruys at in2sports.net): SELECT maildir AS home, 5000 AS uid, 5000 AS
gid, CONCAT('dirsize:storage=', round(quota/1000)) AS quota FROM mailbox
WHERE username = 'mark.ruys at in2sports.net' AND active = 1
Oct 22 00:17:51 mail dovecot: auth(default): master out: USER 1
mark.ruys at in2sports.net home=in2sports.net/mark.ruys/ uid=5000
gid=5000 quota=dirsize:storage=10240
Oct 22 00:17:51 mail deliver(mark.ruys at in2sports.net):
msgid=<00c801c6f55e$af416fb0$8801a8c0 at Moskou>: save failed to INBOX
Oct 22 00:17:51 mail deliver(mark.ruys at in2sports.net):
open(in2sports.net/mark.ruys//.temp.mail.in2sports.net.12777.5c70c02bb158bd1
a) failed: No such file or directory
The reason is, I'm out of quota. I expected some kind of bounce, but the
message is killed by Amavis because of a bad header:
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Your message was automatically rejected by Dovecot Mail Delivery Agent.
The following reason was given:
Quota exceeded
--12684/mail.in2sports.net
Content-Type: message/disposition-notification
Reporting-UA: mail.in2sports.net; Dovecot Mail Delivery Agent
Final-Recipient: rfc822; mark.ruys at in2sports.net
The problem is, there is no recipient (header is missing).
Anyone a clue how to fix it? Thanks for some directions.
Mark Ruys
Config:
- Dovecot rc 10
- postfix-2.3.3-2.mysql.sasl2.vda.fc4
dovecot.conf:
protocol imap {
mail_plugins = quota imap_quota
}
protocol lda {
postmaster_address = postmaster at in2sports.net
mail_plugins = quota
auth_socket_path = /var/run/dovecot/auth-master
}
postfix/main.cf:
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot
virtual_create_maildirsize = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/limits.cfg
virtual_mailbox_limit_override = yes
virtual_overquota_bounce = yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20061022/b97fdb82/attachment-0001.html
More information about the dovecot
mailing list