Postfix command line with php page
We created a php page that sends mail with Postfix. It sends email when
someone loads the page using Firefox. Now we'd like to automate that
process and have Ubuntu load the page once a day, which should send out an
email.
I've tried testing from the command line using the below:
/usr/bin/php /var/www/webpage.php
The problem looks to be that postfix is inserting the username into the
from field.
postfix/pickup uid=33 from=username
...
postfix/qmgr from=username@noreply@domain.com
How do we fix this?
No comments:
Post a Comment