[exim] Re: Regex in address list does not work (Exim 4.94)

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Evgeniy Berdnikov
Data:  
Para: exim-users
Asunto: [exim] Re: Regex in address list does not work (Exim 4.94)
On Mon, Nov 13, 2023 at 04:33:25PM +0300, Evgeniy Berdnikov via Exim-users wrote:
> # echo '^.*@s\\d+\\..+\\.ru' > /etc/exim4/local_sender_blacklist
> # exim4 -d-all+lookup+expand -bh 94.139.242.37

[...]
> info@??? in "/etc/exim4/local_sender_blacklist"? yes (matched "^.*@s\d+\..+\.ru" in /etc/exim4/local_sender_blacklist)


Oh, sorry, sorry... Result of echo is a string with "\\" reduced to "\",
as this trace shows. Jeremy is right.
--
Eugene Berdnikov

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/