On 1/25/22 23:44, Marc MERLIN via Exim-users wrote:
> 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'
Note: recipients is plural, with 's' at the end. so
recipients = lsearch;/etc/exim4/restricted_recipient
will correct.
Olaf
--
Karlsruher Institut für Technologie (KIT)
Steinbuch Centre for Computing (SCC)
Dipl.-Geophys. Olaf Hopp
Zirkel 2
Gebäude 20.21, Raum 316
76131 Karlsruhe
Telefon: +49 721 608-48009
E-Mail: Olaf.Hopp@???
Web:
www.scc.kit.edu
Sitz der Körperschaft:
Kaiserstraße 12, 76131 Karlsruhe
KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft