Hi Folks,

Need your advise on how to solve a problem related to  'unknown mail
transport error'. I've narrowed the error to linked to VDA. VDA works fine
for cases where (incoming mail size) + (existing mailbox file size) is
greater than the quota set for the mailbox.

Example:
Quota set for User 'A' = 5Mb (5000000)
Existing mailbox size = 4Mb (4000000)
Case (A) : Incoming mail size = 2 Mb (2000000) . The sender gets a bounce
mail as expected because 4+2mb would be greater than 5mb.

However whenever an the incoming mail size by itself is greater than the set
quota (5Mb), postfix panics and the mail would be stuck in the mail queue.

Case (B) : Incoming mail size = 6.8 Mb (6887595) .

/var/log/maillog:
Aug 21 11:12:54 node1 postfix/virtual[40382]: panic: file size limit 5000000
< message size 6887595. This causes large messages to be delivered
repeatedly after they were submitted with "sendmail -t" or after recipients
were added with the Milter SMFIR_ADDRCPT request
Aug 21 11:12:55 node1 kernel: pid 40382 (virtual), uid 5000: exited on
signal 6

'mailq' will show the mail is stucked in queue due to reason: unknown mail
transport error

Appreciate any ideas to solve or workaround this issue!

Ryan

==============================================================
main.cf VDA config:
virtual_mailbox_limit_maps = proxy:mysql:$config_directory/
vj-postfix-vboxlimit.cf
virtual_mailbox_limit_override = yes
virtual_overquota_bounce = yes

postfix version 2.7.1 on Freebsd 8.0 (via ports). VDA version: 2.6.5

Reply via email to