Re: [exim] Return to sender

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Ian Armstrong
CC: exim users
Subject: Re: [exim] Return to sender
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. 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.

--
dwmw2