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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave Kennedy
Datum:  
To: exim-users
Betreff: RE: [exim] Error generated from pipe|php in /etc/valiases
That won't work. You have written a shell command. Exim does not run a
shell by default. You have to ask for one if you want one. A similar
problem is answered in FAQ 0084. See also section 29.2 of the reference
manual.

I'm not sure what "won't work" means, since
when an email message is received by user@???,
the PHP script, Phone2wp.php, is executed and the email message is
posted to the wordpress blog.

The issue is with the permanent error that is emailed back to me:
The following address(es) failed:
pipe to |/usr/bin/php -q -f
/home/user/public_html/wordpress/phone2wp.php >/dev/null 2>&1
generated by <mailto:user@domain.com:> user@???:

The delivery instruction was modeled on an existing instruction for
mailman in the /etc/valiases file:
mylist-subscribe@???:
"|/usr/local/cpanel/3rdparty/mailman/mail/mailman subscribe
mylist_domain.com"