RE: [exim] Error generated from pipe|php in /etc/valiases

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dave Kennedy
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: RE: [exim] Error generated from pipe|php in /etc/valiases

Wrap your whole command up in 'sh -c' and see if it goes away
(substituting
a shell which works on your system for 'sh', and checking the man page
for
it to see what the correct syntax is).

This works in the shell but in exim the user@??? email's are not
processed by the php script.
/bin/sh -c "/usr/bin/php /home/domain/public_html/wordpress/phone2wp.php
> /dev/null 2>&1"



Is the exim syntax correct?

user@???: '/bin/sh -c "/usr/bin/php
/home/domain/public_html/wordpress/phone2wp.php > /dev/null 2>&1"'