Re: [Exim] "senders= :" in router not recognizing mail bounc…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc Sherman
CC: Exim List
Subject: Re: [Exim] "senders= :" in router not recognizing mail bounced by user filter?
On Sat, 24 Feb 2001, Marc Sherman wrote:

> > Use a "senders= :" setting on an appropriate router.
>
> Hi Philip. This solution is working for genuine bounce messages,
> but it's not working for mail bounced by a user filter using the
> "mail" command.


Oh, I see what's going on. When an unprivileged user sends a message
using -f <> to set the envelope sender (which is what is happening as a
result of the mail filter running an autoreply), the check on "senders"
still checks the real sender of the message, namely the user, not the
envelope sender.

This makes some sense - it means that, for messages submitted by
unprivileged local users, you can do checks on the senders, whatever is
placed in the envelope.

Since, I understand, you are using this on a personal system without
other users, you can get round this by making yourself a trusted user.
See the trusted_users option.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.