procmail
[Top] [All Lists]

RE: file size error

2003-04-21 11:52:01
Try:
message_size_limit = 204800000

in your postfix main.cf

for a 200 MB message limit.

--
Isaac Saldana
Systems Administrator
Electrical Engineering Dept., UCR


-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE [mailto:procmail-
bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of Peter Hellman
Sent: Monday, April 21, 2003 11:08 AM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: file size error

Nope, no quota. I am starting to suspect postfix, or somehting with
the
pipe.
(as user peter) cat <100mb mailfile> | procmail delivers fine.. Very
very very annoying.
postfix has no message limits, since it accepts them , but procmail
can't write them...
Odd. Saw something similar in a list archive from 2001, but no
solution..
//Peter

Isaac Saldana wrote:

Does the user peter have a file system quota?  Is it on NFS or the
local
file system?

--
Isaac Saldana
Systems Administrator
Electrical Engineering Dept., UCR




-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE 
[mailto:procmail-
bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of Peter Hellman
Sent: Monday, April 21, 2003 10:04 AM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: file size error

Dallman Ross wrote:



Command output: procmail: Error while writing to
"/home/peter/Maildir/tmp/1050861258.15161_0.time" procmail:




Error while




writing to "/var/mail/peter" )

The server is postfix, procmail version 3.22
File size 256M. Recepie :
:0
$HOME/Maildir/

Is there a maximum file size for procmail ?






This has nothing to do with procmail.  It is a postfix issue.







What makes you think that ?
postfix accepts the message, spools it through a virus scanner,
and
accepts it back without problem.
The only error message comes when procmail writes it to the
maildir.




Only because of your previous message implying that procmail was
inserting or reacting to some kind of size limit.  Procmail has
none.  Postfix, otoh, has various default limits in its setup.
For instance, mail spools are capped at 50MB by default until
you change something.

I'd prefer to keep discussion on the list, so that if I'm wrong
(or not) others can have a chance to contribute ideas and
solutions.

Dallman





Yes, of course, my bad. I replyed without checking, a bit stressed


out,


server going live tomorrow ..
I initially suspected postfix, but procmail logs the error. I first
thought it was maildir related, but it's not.
I tested with mbox too.
This is the procmail log and rc file, disabled virus and spam,


checking.


VERBOSE=on
LOGFILE=$HOME/procmail.log
:0
$HOME/Maildir/

From log :

procmail: [16944] Mon Apr 21 19:55:01 2003
procmail: Error while writing to
"/home/peter/Maildir/tmp/1050947690.16944_0.time"
procmail: Locking "/var/mail/peter.lock"
procmail: Assigning "LASTFOLDER=/var/mail/peter"
procmail: Opening "/var/mail/peter"
procmail: Acquiring kernel-lock
procmail: [16944] Mon Apr 21 19:55:26 2003
procmail: Error while writing to "/var/mail/peter"
procmail: Truncated file to former size
procmail: Unlocking "/var/mail/peter.lock"
procmail: Notified comsat: "peter@:**Bounced**"
From kalle(_at_)testing(_dot_)segfault(_dot_)se  Mon Apr 21 19:54:49 2003
Subject: file attatchment
 Folder: **Bounced**
70826032
procmail: Assigning
"LASTFOLDER=/home/peter/Maildir/new/1050947726.16950_0.time"
procmail: Notified comsat:
"peter(_at_)0:/home/peter/Maildir/new/1050947726.16950_0.time"
From MAILER-DAEMON  Mon Apr 21 19:55:26 2003
Subject: Undelivered Mail Returned to Sender
 Folder:
/home/peter/Maildir/new/1050947726.16950_0.time
51319

Thank you
//Peter




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail






_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>