Re: [Exim] PHP4 and Errors-To

Top Pagina
Delete this message
Reply to this message
Auteur: Nigel Metheringham
Datum:  
Aan: V. T. Mueller
CC: exim-users
Onderwerp: Re: [Exim] PHP4 and Errors-To
On Fri, 2001-10-05 at 14:32, V. T. Mueller wrote:
>
> Hello,
>
> 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?


Errors-To: is not a header that means anything. You need to set the
envelope sender of the message. This is done using the -f switch if you
are using command line invocation (you also need to be in the
trusted_users list for this to work), or alternatively (and probably
better) it can be set in the MAIL FROM: stanza of an SMTP transaction.

    Nigel.