procmail
[Top] [All Lists]

Re: file size error

2003-04-21 12:18:24
On Mon, Apr 21, 2003 at 07:04:25PM +0200, Peter Hellman wrote:

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**"

Okay.  The error description under `man procmail' says:

       Error while writing to "x"
                              Nonexistent  subdirectory, no write
                              permission, pipe died or disk full.

So you should check whether $HOME/Maildir/ exists first.  Then
look fir no write perms.  Is the recipe in Peter's .procmailrc?
Does the user whose id is invoking the recipe have write perms
to Peter's Maildir?

Procmail is failing to write to Maildir/, and I suspect you
haven't yet created the dir.  Then procmail attempts a fallback
delivery to /var/mail/$LOGNAME, because that value has been
compiled in as $DEFAULT; but that write is the failure that
is reflected in your log.

-- 
dman

_______________________________________________
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>