It's been a long time since I've had to edit my exim4 config, so I'm
very rusty.

A bit of googling didn't show any results, seems that it's not a common
need?

Is there a known working way to prevent any user on my exim server to
send Email to a list of Emails?


Something like this:

check_rcpt:
  deny
     message = The $sender_address is prohibited to send mail to the $recipient
     recipient = lsearch;/etc/exim4/restricted_recipient

I'm just not sure what exact syntax to use for 'recipient'

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/                       | PGP 7F55D5F27AAF9D08

-- 
## 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