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

2023-11-13 Thread Tapio Peltonen via Exim-users
Hello, I have the following line in my local_sender_blacklist file, which is included as a blacklisted address list: ^.*@s\\d+\\..+\\.ru (The reason is that a huge amount of spam comes from addresses following that pattern and not all of the sending IPs are included in RBLs. I've tried all sorts

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

2023-11-13 Thread Jeremy Harris via Exim-users
On 13/11/2023 12:25, Tapio Peltonen via Exim-users wrote: Is there something I'm missing here? Should the backslashes in included files be doubly escaped or something? You already have backslashes in front of the RE backslashes (eg "\d"). That would be for protecting against Exim expanding, bu

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

2023-11-13 Thread Evgeniy Berdnikov via Exim-users
Hello. On Mon, Nov 13, 2023 at 02:25:21PM +0200, Tapio Peltonen via Exim-users wrote: > I have the following line in my local_sender_blacklist file, which is > included as a blacklisted address list: > > ^.*@s\\d+\\..+\\.ru [...] > This does not match anything. Other lines in the blocklist wo

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

2023-11-13 Thread Tapio Peltonen via Exim-users
On Mon, 13 Nov 2023 at 15:34, Evgeniy Berdnikov via Exim-users wrote: > # exim4 -d-all+lookup+expand -bh 94.139.242.37 Oh, thank you, I hadn't really familiriazed me with the exim command line options and how to run a fake session. It works now, I had too many backslashes in the file, as Jeremy

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

2023-11-13 Thread Evgeniy Berdnikov via Exim-users
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 [...] > i...@s7.alextro.ru in "/etc/exim4/local_sender_blacklist"? yes (matched > "^.*@s\d+\..+\

[exim] Message ID length change: Expected?

2023-11-13 Thread Kris Oye via Exim-users
I am responsible for a cluster of mail servers that I blindly upgraded to Exim 4.97. Previously, the message IDs were 16 or so bytes long and fit nicely in our database schema, but after upgrading I found the identifiers had changed to 24 bytes. I do not see this mentioned in the release notes

[exim] Re: Message ID length change: Expected?

2023-11-13 Thread Kris Oye via Exim-users
After re-reading the release notes, I see this footnote: "Notable changes: - The internal (but exposed in logs, Received: headers and Message-ID: headers) identifier used for messages is longer than in the previous release" I guess this was my warning? I thought I "future proofed" myself by