[exim] Exim - 4.97.1 - SIGSEGV

2024-01-24 Thread Mateusz Krawczyk via Exim-users
OS: CloudLinux 7

One of our user attempted to send a message using MS Outlook 2007
(Microsoft Office Outlook 12.0) to a large number of recipients (~700).
However, some kind of unintended loop occurred, resulting in the delivery
of the same message multiple times.

Paniclog:

2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS SIGSEGV (fault address: 0x4)
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS SIGSEGV (null pointer
indirection)
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS SIGSEGV (359009 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25
)
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS backtrace
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS ---
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x42a8de]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x42aa43]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS
/lib64/libpthread.so.0(+0xf630) [0x7fc04a6e1630]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x450317]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x46a50f]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x417858]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x431204]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc04a326555]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS /usr/sbin/exim() [0x40b299]
2024-01-24 10:12:58 1rSZJa-0001VOT-0OkS ---
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy SIGSEGV (fault address: 0x4)
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy SIGSEGV (null pointer
indirection)
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy SIGSEGV (359048 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25
)
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy backtrace
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy ---
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x42a8de]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x42aa43]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy
/lib64/libpthread.so.0(+0xf630) [0x7fc04a6e1630]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x450317]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x46a50f]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x417858]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x431204]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc04a326555]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy /usr/sbin/exim() [0x40b299]
2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy ---
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK SIGSEGV (fault address: 0x4)
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK SIGSEGV (null pointer
indirection)
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK SIGSEGV (359169 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25
)
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK backtrace
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK ---
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x42a8de]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x42aa43]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK
/lib64/libpthread.so.0(+0xf630) [0x7fc04a6e1630]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x450317]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x46a50f]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x417858]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x431204]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc04a326555]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK /usr/sbin/exim() [0x40b299]
2024-01-24 10:13:20 1rSZJw-0001VR3-0NMK ---
2024-01-24 10:13:37 1rSZKD-0001VTj-0pve SIGSEGV (fault address: 0x4)
2024-01-24 10:13:37 1rSZKD-0001VTj-0pve SIGSEGV (null pointer
indirection)
2024-01-24 10:13:37 1rSZKD-0001VTj-0pve SIGSEGV (359335 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25
)
and so on...

Any tips on how to solve this?

Thank you,
Mateusz

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


[exim] Re: Exim - 4.97.1 - SIGSEGV

2024-01-24 Thread Jeremy Harris via Exim-users

On 1/24/24 12:07, Mateusz Krawczyk via Exim-users wrote:

OS: CloudLinux 7

One of our user attempted to send a message using MS Outlook 2007
(Microsoft Office Outlook 12.0) to a large number of recipients (~700).
However, some kind of unintended loop occurred, resulting in the delivery
of the same message multiple times.

Paniclog:




2024-01-24 10:13:01 1rSZJd-0001VP6-2Hjy SIGSEGV (359048 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25



2024-01-24 10:13:37 1rSZKD-0001VTj-0pve SIGSEGV (359335 handling
incoming connection from (DESKTOPANIA) [x.x.x.x] I=[x.x.x.x]:25
)


They're different message as far as Exim is concerned; note the different
message IDs.  And it's during reception by Exim, not delivery.

Can you run your exim daemon with debug enabled, to get more info
on what it was doing?
--
Cheers,
  Jeremy


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


[exim] Replacing wildlsearch with query-style lookups?

2024-01-24 Thread Niels Kobschätzki via Exim-users
Hi,

I want to move my file lookups to database lookups (mariadb). While it is no 
problem with some of those file lookups because they become simple SELECTs. But 
I have a problem with (n)wildlsearch. Because I just don't know how I could 
replace them.
For example a sender-lookup for:

^.*@(.*\.)?domain\.tld$

How would I do look something like this up? I know that it would be easy to 
just look up a domain or a complete sender, but in this case I want for example 
block a domain and all possible subdomains from that domain.

Or I redirect some users that send out newsletters to special servers. I do 
that by doing a wildlsearch and have there an entry like:

^bounce.*@newsletter.domain.tld

Since there is always a random string coming after the bounce.
Is there a way to realize that with a database lookup? I know that there is 
apparently a regexp-lookup for mariadb (https://mariadb.com/kb/en/regexp/) but 
I think I cannot use that. Because I actually get the sender-address and would 
need to put the regexp in the database.

The only solution so far I come up with that I can put singular senders and 
domains in tables and have multiple ACLs and routers.
And then have an extra file for those cases where I need a regexp but then 
someone who needs to debug things, needs to look into several places (even 
though I could for example add some info into the log-messages, so that the 
debugging person has a better clue where to look).

How are others on the list solving this problem?

Best,

Niels

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