[email protected]:
> Dear Internet,
>
> There is a problem with interaction between postfix and the VDA patch.
> When mailbox_size_limit is set to 0 (or any size smaller than a typical
> message size) in main.cf, incoming mail generates the following error
>
> ----
>
> Nov 3 01:54:25 vps-1015933-8657 postfix/virtual[4550]: panic: file size
> limit 0 < message size 1544. 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
>
> ----
The VDA patch is not supported by Postfix maintainers. That said,
you can try the patch below (also not supported).
Wietse
*** ./src/global/mail_copy.c- Tue Jan 24 19:41:08 2012
--- ./src/global/mail_copy.c Sun Nov 3 10:48:42 2013
***************
*** 152,158 ****
*/
if (fstat(vstream_fileno(src), &st) < 0)
msg_fatal("fstat: %m");
! if ((size_limit = get_file_limit()) < st.st_size)
msg_panic("file size limit %lu < message size %lu. This "
"causes large messages to be delivered repeatedly "
"after they were submitted with \"sendmail -t\" "
--- 152,159 ----
*/
if (fstat(vstream_fileno(src), &st) < 0)
msg_fatal("fstat: %m");
! if ((size_limit = get_file_limit()) < st.st_size
! && size_limit > 0)
msg_panic("file size limit %lu < message size %lu. This "
"causes large messages to be delivered repeatedly "
"after they were submitted with \"sendmail -t\" "