Re: [Exim] Re: Returned mail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matthew Byng-Maddick
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Re: Returned mail
On Sat, Feb 16, 2002 at 08:12:54AM +0800, Suresh Ramasubramanian wrote:
> +++ dman [exim-users] <15/02/02 14:24 -0500>:
> > | 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.
> A far better solution is to open a socket to localhost:25 instead of calling
> exim with -t -oi -oem -f or whatever.


This is never a good solution. What have you done with the real Suresh?

This is only a solution if you are prepared to queue mail before it gets
to the local SMTP port. The correct solution is that you call
/usr/{sbin,lib}/sendmail -oi -oem -bm -f <sender> <recipient> <recipient...>
and pipe it the message on standard input.

This is *ALWAYS* the correct solution for local delivery.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/