procmail
[Top] [All Lists]

Re: Not executing what it claims

2001-11-01 12:58:25

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?

        Nope.

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.

        WE HAVE A WINNER!  The user has a "/usr/bin/false" shell so they
can POP/FTP, but not telnet. I added "SHELL=/bin/sh" to the top of 
.procmailrc and all is happy!

                        Thanks, Tuc/TTSG Internet Services, Inc.
_______________________________________________
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>