On Wed, 20 Apr 2005, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:
procmail: Executing " echo "Mail received from: Ftex-user" >> $MSG_FILE"
procmail: Error while writing to " echo "Mail received from: Ftex-user" >>
$MSG_FILE"
You need to fix that path or filename so it works, if you want to use this
custom record (log).
The path is correct. After executing a program successfully, procmail
tries to write something to that program. For example with the
command "procmail ~/.procmailrc.TEST < farsitex.mail" and the following
~/.procmailrc.TEST:{{{
INBOX_DIR=$HOME/mail
LOGFILE=/ext3/home/tmp/procmail.from
VERBOSE=on
:0
* ^X-BeenThere:(_dot_)*farsitex-user(_at_)lists(_dot_)sourceforge(_dot_)net
{
:0
| /ext3/home/bin/my_procmail
:0:
$INBOX_DIR/.NEW_Ftex-user
}
}}}
my $LOGFILE contains:
procmail: [2537] Thu Apr 21 08:51:50 2005
procmail: Match on
"^X-BeenThere:(_dot_)*farsitex-user(_at_)lists(_dot_)sourceforge(_dot_)net"
procmail: Executing "/ext3/home/bin/my_procmail"
procmail: Error while writing to "/ext3/home/bin/my_procmail"
procmail: Assigning "LASTFOLDER=/ext3/home/bin/my_procmail"
procmail: Locking "/ext3/home/users/hossein/mail/.NEW_Ftex-user.lock"
procmail: Assigning "LASTFOLDER=/ext3/home/users/hossein/mail/.NEW_Ftex-user"
procmail: Opening "/ext3/home/users/hossein/mail/.NEW_Ftex-user"
procmail: Acquiring kernel-lock
procmail: Unlocking "/ext3/home/users/hossein/mail/.NEW_Ftex-user.lock"
From n_haghgoo(_at_)yahoo(_dot_)com Sun Apr 17 16:04:48 2005
Subject: [ftex-user]Error in Farsitex 1.0 pre1
Folder: /ext3/home/users/hossein/mail/.NEW_Ftex-user 4979
procmail: Locking "/dos/f/Lists/.NEW_Ftex-user.lock"
procmail: Lock failure on "/dos/f/Lists/.NEW_Ftex-user.lock"
Why is there a lock failure? Is this location a directory? If so,
you do not want a lockfile on the recipe. But I think it is not a
directory, but an mbox file, in which case you do want a lock.
It is a folder on DOS partition which I have read/write access to it.
However I fixed the problem with moving that folder to a Linux partition.
Thanks,
Hossein
____________________________________________________________
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