On Sun, 2016-02-21 at 16:33 -0500, DAN EGLI wrote:
> Basically what I want is if they are both a  particular domain, reject
>  the message. I.e. if it's from  [email protected] AND addressed to
>  [email protected], then block the  message. 

--------
Untested guesses
--------

acl_smtp_rcpt    = acl_check_rcpt
....
....
....

acl_check_rcpt:

drop   recipients    = [email protected]
       senders       = [email protected]
       message       = We do not want your spam. Bye, bye.

---or----

drop   recipients    = *@example.com
       senders       = *@example.com
       message       = We do not want your spam. Bye, bye.

---or----

drop   domains               = example.com
       sender_address_domain = *@example.com
       message               = We do not want your spam. Bye, bye.

---or----

drop   domains      = example.com    # recipient domain name
       condition    = ${if match{$sender_address_domain}{example.com}}
       message       = We do not want your spam. Bye, bye.





-- 
Regards,

Paul.
England, EU.      England's place is in the European Union.


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to