Re: [Exim] Returned mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: dman
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Returned mail
On Fri, Feb 15, 2002 at 07:33:04PM +0100, Starhost - N.P.G. Elsten wrote:
|
| How come that when a user send's a email and when it isn't able to
| deliver it I get the error message and not the user who is sending
| the email??

|
| Apache runs as user httpd. So PHP also use that uid. And all
| undeliveral email is returned to httpd@???. Really
| frustrating.


Of course the bounce goes to the user "httpd" since he's the one who
sent the message in the first place!

(snail-mail analogy : if I write my friend a letter, but put your home
as the return address, I'm not going to get the letter back when it is
undeliverable)

| How can I solve this??


One solution is to make 'httpd' a trusted user and have your script
use the "-f" option to set the "real" sender in the envelope.

-D

--

Trust in the Lord with all your heart and lean not on your own
understanding; in all your ways acknowledge Him, and He will make your
paths straight.
        Proverbs 3:5-6