procmail
[Top] [All Lists]

Re[2]: automatic PHP script ?

2003-02-28 12:05:01
On Fri, 28 Feb 2003, Toph Kemmann enslaved 16 hundred monkeys to type:

:0 i:
* ^To(_dot_)*bild(_at_)kemweb(_dot_)info
| /usr/local/bin/php /home/www/web1/html/getemail_auto.php >> 
/var/log/post.log

This php-script works with this special e-mail, it writes the attached
file into a database. But it does not, it says "nothing in e-mail". I
think the problem is, that procmail and the script are using the
e-mail at the same time and/or procmail write a temp-e-mail-file as
long as it works with it.

What var are you using to grap the email info?

I never found a var for | php -q script.php

Like I said before, I couldonly get php -q script.php "$stuff" Instead

Post your php script.

Poff

poff(_at_)sixbit(_dot_)org
SDF Public Access UNIX System - http://sdf.lonestar.org


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