Szerző: Ian Armstrong Dátum: Címzett: exim users Tárgy: Re: [exim] Return to sender
On Mon, Jan 31 2005 : 16:05:00, David Woodhouse <dwmw2@???> wrote:
|On Mon, 2005-01-31 at 15:59 +0100, Ian Armstrong wrote: |>
|> No. My site is being used by several evening schools, teaching adults
|> how to use email. They often send mail to non-existent, or wrongly
|> formulated addresses. When this mail is returned, it is being sent to
|> 'mail@???'. What I would like, is to have it returned to the
|> sender, e.g. 'user@???'.
|>
|> It is quite possible that I have made some error in the 'exim.conf'
|> file. |
|It sounds like your web interface is sending mail by invoking Exim to
|send mail as /usr/lib/sendmail.
Yes, I am using the PHP 'mail()' function.
|The mail will end up appearing to be
|from the user which the scripts run as. You _could_ make Exim fix up the
|return-path automatically using the From: address, but it's probably
|better to fix the web scripts to use SMTP instead. They get to specify
|the return-path then.