On Sun, 28 Mar 1999, Toralf Lund wrote:
> Some of our users have .forward files of the form
>
> \<user>
> <different user>@<some other domain>
>
> In other words, they have their messages delivered to their normal
> mailbox with a copy to a different address. Is there any way to
> configure Exim so that error reports on failure to send messages to this
> second address are written to the local mailbox or sent to postmaster,
> rather than to the sender, while retaining the normal behaviour for
> users who forward mail without copy to their local mailbox?
The errors_to generic option for directors can set the errors address.
However, it applies to all addresses generated by that director. The
only way of doing what you want would be to change the forward file so
that it creates a new message, sent by the local user. Something like
\<user>
|/usr/lib/sendmail <different user>@<some other domain>
This would look a bit odd, as it would acquire a Sender: header from the
local domain. A better approach would be to pipe it to a script which
did a proper "resend" operation.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***