-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Wednesday 2005-08-31 at 20:39 +0200, Carlos E. R. wrote:


Yeah, this was long ago, but I was having the same problem now and then:

> procmail: Assigning "LASTFOLDER=/home/cer/Mail/in_foo"
> procmail: Opening "/home/cer/Mail/in_foo"
> procmail: Acquiring kernel-lock
> procmail: Error while writing to "/home/cer/Mail/in_foo"
> procmail: Truncated file to former size
> 
>   A write error. What write error?


The problem is caused by postfix "mailbox_size_limit" setting! 


<http://www.xray.mpe.mpg.de/mailing-lists/procmail/2006-10/msg00040.html>

|> Thank you, that was it.  I was getting the error from procmail so I 
|> didn't think to look at postfix, but it turns out it sets a ulimit 
|> before spawning the delivery agent, so procmail inherits the limit from 
|> postfix.
|>
|> If would be nice if procmail told you *what* error it encountered, at 
|> least in verbose mode.  If I'd seen that it was exceeding the file size 
|> limit (write returns EFBIG) I'd probably have thought to look in the 
|> right place.
|>
|> Anyway, for the benefit of people who google or search the procmail list 
|> archive and have this same problem, the postfix parameter is 
|> mailbox_size_limit and does NOT appear in the main.cf supplied with the 
|> source, but is documented in sample/sample-local.cf so you can copy that 
|> portion into main.cf and change the limit.


And it works. :-)


- -- 
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFq9t3tTMYHG2NR9URApPrAJ9VKO//iIoXmsCP/GeUugwFPCPoJQCgjXDJ
gh51QW0V/3K/PDsV/fbBp14=
=gCEY
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to