procmail
[Top] [All Lists]

Re: "Error while writing to:" but I can't find cause - found!

2006-10-09 04:18:42
Ofer Inbar wrote:

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.

You could simply execute:

     postconf -d

to get a listing of all default Postfix settings. The
'mailbox_size_limit' defaults to 51200000 and can easily be changed by
modifying the 'main.cf' file. You could also check to see if it has been
previously modified by running:

     postconf -h mailbox_size_limits

To change it easily, just enter:

     postconf -e "mailbox_size_limits = VALUE"

replacing 'VALUE' with your own size limit.


-- 
Gerard


     Never fly in the same cockpit with someone braver than you.

          Richard Herman Jr., 'Firebreak'

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail