procmail
[Top] [All Lists]

procmail not running recipe commands

2002-07-03 00:00:08
The recipe seems to run but the file ftp-req never shows up in /tmp


VERBOSE=on
COMSAT=no
SENDMAIL=/usr/lib/sendmail
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/sbin:/usr/local/bin:
MAILDIR=/Mail      # You'd better make sure it exists
DEFAULT=/var/mail/root
LOGFILE=/var/log/procmail.root
LOCKFILE=$MAILDIR/.lockmail
#-----------------------------
:HDwb
* ^Subject.*ftp_admin*
| cat > /tmp/ftp-req

Here is an example from the log file.

procmail: Assigning "LOCKFILE=/Mail/.lockmail"
procmail: Locking "/Mail/.lockmail"
procmail: No match on "^Subject.*Receipt*"
procmail: Match on "^Subject.*ftp_admin*"
procmail: Executing " cat > /tmp/ftp-req"
procmail: Assigning "LASTFOLDER= cat > /tmp/ftp-req"
From u50928(_at_)sun12770(_dot_)kcp(_dot_)com Mon Jul  1 16:55:21 2002
 Subject: ftp_admin
  Folder:  cat > /tmp/ftp-req                                                30
procmail: Unlocking "/Mail/.lockmail"

Replacing the recipe command with just
/tmp/ftp-req
will put the message in the file but what I need is something like what I have
on a procamail 3.11 system, the command I want works

| cat > /tmp/ftp-req;  myprogram

===============  related information ================

bash-2.03# ls -l /usr/local/bin/procmail
-rwsr-sr-x   1 root     mail       81684 Jun 22 13:11 /usr/local/bin/procmail

bash-2.03# ls -ld /tmp
drwxrwxrwt   2 root     sys          458 Jul  1 16:55 /tmp


bash-2.03# /usr/local/bin/procmail -v
procmail v3.22 2001/09/10
    Copyright (c) 1990-2001, Stephen R. van den Berg    <srb(_at_)cuci(_dot_)nl>
    Copyright (c) 1997-2001, Philip A. Guenther         
<guenther(_at_)sendmail(_dot_)com>

Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail-users(_at_)procmail(_dot_)org>

And of course, subscription and information requests for this list to:
        <procmail-users-request(_at_)procmail(_dot_)org>

Locking strategies:     dotlocking, fcntl(), lockf()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/mail/root




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