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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc MERLIN
Datum:  
To: Olaf.Hopp
CC: exim-users
Betreff: Re: [exim] check_rcpt to prevent sending Email to a list of users
On Wed, Jan 26, 2022 at 02:03:57PM +0100, Olaf Hopp (SCC) via Exim-users wrote:
> > 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.


haha, I was close. That worked, 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/