On Mon, 29 Apr 2019 14:46:18 +0200 Axel Beckert <[email protected]> wrote:
> Package: postfix
> Version: 3.1.12-0+deb9u1
> Severity: grave
> Affects: procmail
> Justfication: causes data loss (after a few days), breaks (more or less) 
unrelated packages (procmail)
> 
> Dear Debian Postfix Maintainers,
> 
>    * What led up to the situation?
> 
> Since a few minutes after upgrading Postfix on Stretch from
> 3.1.9-0+deb9u2 to 3.1.12-0+deb9u1, procmail (!) on my server has been
> unable to deliver mails to mailboxes bigger than some threshold:
> 
> procmail: Error while writing to "/home/abe/mbox"
> procmail: Truncated file to former size
> procmail: Error while writing to "/var/mail/abe"
> procmail: Truncated file to former size
> 
> procmail itself has last been updated with the dist-upgrade of that box
> from Jessie to Stretch.
> 
> This threshold seems somewhere between 472 MB and 609 MB (see below), so
> I suspect it to be 500 MB or 512 MB, as the examples of mailboxes to
> which or to which not procmail could deliver mail are clearly separated
> by their size:
> 
> Postfix via procmail has delivered mails into these mailboxes since the
> upgrade:
> 
> $ tail -42720 procmail-log.2019-04 | egrep "Folder: [^*]" | awk '{print $2}' 
| sort -u | xargs ls -lhSr --
> -rw------- 1 abe users 4.4M Apr 29 04:49 -spam.4
> -rw------- 1 abe users 7.9M Apr 29 10:15 -spam.3
> -rw------- 1 abe users  11M Apr 29 13:09 -spam.2
> -rw------- 1 abe users  16M Apr 29 12:10 -spam.20
> -rw------- 1 abe users  48M Apr 28 16:43 -pkg-xen-devel
> -rw------- 1 abe users  74M Apr 29 07:30 -debian-www
> -rw------- 1 abe users  77M Apr 29 06:31 -debian-apt
> -rw------- 1 abe users 110M Apr 28 20:24 -zsh
> -rw------- 1 abe users 115M Apr 29 13:58 -spam.5
> -rw------- 1 abe users 128M Apr 29 09:42 -debian-lintian
> -rw------- 1 abe users 138M Apr 29 12:13 -debian-sparc
> -rw------- 1 abe users 183M Apr 29 08:18 -debian-qa
> -rw------- 1 abe users 438M Apr 28 19:43 -spam.15
> -rw------- 1 abe users 472M Apr 29 09:17 -news
> 
> Postfix via procmail wasn't able to deliver mails into these mailboxes
> since the upgrade:
> 
> $ tail -42720 procmail-log.2019-04 | fgrep "Error while writing to" | sort -
u | awk -F'"' '{print $2}' | xargs ls -lhSr --
> lrwxrwxrwx 1 abe users   13 Jun 25  2018 /home/abe/mbox -> /var/mail/abe
> -rw------- 1 abe users 606M Apr 29 13:25 -debian-arm
> -rw------- 1 abe users 612M Apr 29 13:24 -debian-boot
> -rw------- 1 abe users 737M Apr 29 13:25 -debian-release
> -rw------- 1 abe users 838M Apr 29 08:00 -spam.10
> -rw------- 1 abe users 952M Apr 29 13:52 -debian
> -rw--w---- 1 abe mail  1.4G Apr 29 13:53 /var/mail/abe
> -rw------- 1 abe users 5.9G Apr 29 13:33 -logcheck
> 
> This is IMHO sufficiently enough statistically relevant data to show

I'm unable to explain this either.  The behavior of message_size_limit = 0 is 
undocumented (and was changed in 3.4 because of problems it was causing).  
What's your setting for that?  What if you set that to a sufficiently large 
value.  Does that help?

Scott K

Reply via email to