[Exim] [slightly OT] Summary: PHP4 and Errors-To

Top Pagina
Delete this message
Reply to this message
Auteur: V. T. Mueller
Datum:  
Aan: exim-users
Onderwerp: [Exim] [slightly OT] Summary: PHP4 and Errors-To
Problem was:

I'm facing a very annoying problem with exim 3.33 and Apache/PHP4.04pl1:
Apache runs as user httpd and therefore, for mails created by PHP the
sender's UID is httpd. From/Reply-To/Errors-To headers are set to a
seperate address. Unfortunately, every error mail "Mail delivery failed:
returning message to sender" gets back to httpd instead of the user
specified in the header. What am I missing here?

Solution is:

First, ensure that httpd is among the exim trusted users.

Then, PHP defaults to sendmail -t . The t flag prevents the changed sender
to become active. In my case the ini file was correct but in the wrong
directory.

Many thanks to Nigel Metheringham and especially Phil Pennock who spent
their time to help tracking this down.

Regards,
Volker
--
V. T. Mueller      UCC Freiburg, Germany     vtmue (at) uni-freiburg.de


             "problems are just opportunities in work cloth"