[exim] check_rcpt to prevent sending Email to a list of user…

Top Page
Delete this message
Reply to this message
Author: Marc MERLIN
Date:  
To: exim-users
Subject: [exim] check_rcpt to prevent sending Email to a list of users
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