Re: [Exim] ACL to reject mail from MAILER-DAEMON to anyone b…

Pàgina inicial
Delete this message
Reply to this message
Autor: Brian Kendig
Data:  
A: Brian Kendig
CC: exim-users
Assumpte: Re: [Exim] ACL to reject mail from MAILER-DAEMON to anyone but me?
I wrote:

> I want to refuse all messages that come from MAILER-DAEMON@* and are
> NOT addressed to brian@???.


The ACL that I set up to try to do this is:

deny message   = The original message did not originate from this site
      condition = ${if
eq{$sender_address}{MAILER_DAEMON@$domain}{yes}{no}}
      condition = ${if eq{$local_part}{brian}{no}{yes}}


But it doesn't seem to be having any effect, even when I test it with
exim -bh. I don't know why it's not working,