[Dovecot] deliver + quota failure
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@in2sports.net service=deliver
Oct 22 00:17:51 mail dovecot: auth-worker(default): sql(mark.ruys@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@in2sports.net' AND active = 1
Oct 22 00:17:51 mail dovecot: auth(default): master out: USER 1 mark.ruys@in2sports.net home=in2sports.net/mark.ruys/ uid=5000 gid=5000 quota=dirsize:storage=10240
Oct 22 00:17:51 mail deliver(mark.ruys@in2sports.net): msgid=<00c801c6f55e$af416fb0$8801a8c0@Moskou>: save failed to INBOX
Oct 22 00:17:51 mail deliver(mark.ruys@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@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@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
On Sun, 2006-10-22 at 00:51 +0200, Mark Ruijs wrote:
Oct 22 00:17:51 mail deliver(mark.ruys@in2sports.net): open(in2sports.net/mark.ruys//.temp.mail.in2sports.net.12777.5c70c02bb158bd1a) 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:
Is that error really given when it happens? It should give "Out of quota" error then instead..
..
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit .. The problem is, there is no recipient (header is missing).
You showed only the message's body, not its headers (it's a multipart message). It is sent with To headers and all.
So as far as I know there are no headers missing. What exactly is Amavis's error message? And what exactly are the headers that it sees?
participants (2)
-
Mark Ruijs
-
Timo Sirainen