John wrote:
Hi,
I'm sorry if this has been asked many times before but how do I pipe new
email to a file instead of to a mailbox? I tried adding an alias to a file,
but it bounced and said 'Can't write output', then I tried to pipe it to a
program (the php interpreter) like this
Which mail server are you using?
"|php /home/php-script.php"
and that didn't work either.
this seems correct but there may be other issues such as permissons that
come into the picture. if you are using qmail as your MTA you will find
loads of sample if you include '.qmail' or 'dot-qmail' in your search query.
--
Raditha Dissanayake.
---------------------------------------------
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php