procmail
[Top] [All Lists]

Re: Not executing what it claims

2001-11-01 12:13:52
Tuc wrote,

| In verbose mode, I see :
|
| procmail: Executing "(/usr/local/bin/formail -r -A "Precedence: junk" \
| -I"Subject: Your Machine is infected with the Sircam Virus"; \
| cat /usr/home/wwwcust1/crazies/sircam.txt)>> /tmp/results"
|
| Yet, I don't see the /tmp/results file at all.

First guess: could procmail be running on a different machine from the shell
session where you're looking for /tmp/results, such that you and it are
using two different /tmp directories?

Second guess: since procmail needs a shell to handle that command, is $SHELL
something that can interpret that command line and create /tmp/results?  All
procmail is saying is that it is invoking $SHELL and telling that program to
run the command line.

Third guess: is the value of $SHELLFLAGS (either the compiled-in value or an
overriding setting in an rcfile) correct?  Maybe not, and any command that
needs a shell is going unexecuted.

Fourth guess (assuming that /tmp is writable by the process): /tmp/results
already exists and is not writable by the process.



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