Re: [exim] Remote Spamassassin with TLS

2023-01-12 Thread Patrik Peng via Exim-users
Thanks all for the quick inputs. Some kind of tunneling with stunnel/haproxy/wireguard-like was already on the table as an alternative. OpenPGP_signature Description: OpenPGP digital signature -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at

[exim] Remote Spamassassin with TLS

2023-01-12 Thread Patrik Peng via Exim-users
Hi all Is it somehow possible to use TLS encrypted connections when using a remote Spamassassin instance while scanning at ACL time with `spamd_address`? According to their man pages, spamc and spamd support TLS but I couldn't find any hints in Exim's docs. Regards, Patrik

Re: [exim] stuck exim processes

2022-03-25 Thread Patrik Peng via Exim-users
On 24.03.22 20:59, Jeremy Harris via Exim-users wrote: I take it that this is after doing the above? Correct, we created a new build with d2f99aad04 applied. Was this for a freshly received message, or one that was in your spool from the previous build? One that was still in the spool dir

Re: [exim] stuck exim processes

2022-03-24 Thread Patrik Peng via Exim-users
On 22.03.22 17:25, Jeremy Harris via Exim-users wrote: Try pulling in commit d2f99aad04, which was made following similar issues (since 4.95). Still experiencing segfaults, but this time a core file is generated when running the debug build and the stack trace is different: #0  strlen

Re: [exim] stuck exim processes

2022-03-22 Thread Patrik Peng via Exim-users
On 18.03.22 19:48, Andrew C Aitchison via Exim-users wrote: Is that a locally built copy of libidn ? Yes, built from portstree. The punycode_encode man page on Ubuntu 21.10 isword-for-word the same as https://www.freebsd.org/cgi/man.cgi?query=punycode_encode=FreeBSD+13.0-RELEASE+and+Ports

Re: [exim] stuck exim processes

2022-03-22 Thread Patrik Peng via Exim-users
On 19.03.22 16:54, Jeremy Harris via Exim-users wrote: To work towards a fix will however need better info.  A first cut would be just a "-ggdb -O0" build, and inspect the stacktrace for obvious null-pointers in function args. We created a build with the mentioned flags. But with this version,

Re: [exim] stuck exim processes

2022-03-18 Thread Patrik Peng via Exim-users
On 17.03.22 21:20, Jeremy Harris via Exim-users wrote: Being certain would be better. Indeed. To be sure we created a new build based on the portstree + the following changes: - https://git.exim.org/exim.git/commitdiff/2ead369f8435918f3f15408b9394e580bcaf0910 -

Re: [exim] stuck exim processes

2022-03-17 Thread Patrik Peng via Exim-users
On 17.03.22 12:17, Jeremy Harris via Exim-users wrote: Do you have the other patches mentioned in this thread?  Because that is a different symptom to the one being addressed by that specific patch (and addressed in the code base by the recently committed 2ead369f84). Afaik yes. But further

Re: [exim] stuck exim processes

2022-03-17 Thread Patrik Peng via Exim-users
On 09.03.22 22:22, Michael Tratz via Exim-users wrote: I have added the following patch: diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 6a979a243..f97b0c625 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -4800,7 +4800,11 @@ if (sx->send_quit

Re: [exim] stuck exim processes

2022-03-09 Thread Patrik Peng via Exim-users
On 09.03.22 15:00, Jeremy Harris via Exim-users wrote: You replied to the start of the thread, so I couldn't tell if you'd read the followups. I also suggested hosts_avoid_pipelining as a possible workaround. But no conclusion to the actual issue. I didn't want to derail any previous

Re: [exim] stuck exim processes

2022-03-09 Thread Patrik Peng via Exim-users
On 18.02.22 12:32, Jeremy Harris via Exim-users wrote: You could also check hosts_avoid_pipelining; if that helps for these problem cases I'd call it slightly less suboptimal than  using cleartext. Using `hosts_avoid_pipelining = *` showed the same results in our tests. OpenPGP_signature

Re: [exim] stuck exim processes

2022-03-09 Thread Patrik Peng via Exim-users
On 09.03.22 15:04, Jeremy Harris via Exim-users wrote: Commit c57309a504 might also be relevant.  Has FreeBSD picked that one up? According to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261143 not yet. We tried a new build with the patch manually applied, but still observed the

Re: [exim] stuck exim processes

2022-03-09 Thread Patrik Peng via Exim-users
On 08.03.22 14:47, Jeremy Harris via Exim-users wrote: There was an entire thread in the mailing list. Hi Jeremy You mean the one i just replied? Yes I did follow it, but apart from the solution with `hosts_avoid_tls` I didn't see any conclusion, or did I miss something? OpenPGP_signature

Re: [exim] stuck exim processes

2022-03-08 Thread Patrik Peng via Exim-users
Hi Are there any updates regarding this issue? We are facing this problem as well and its keeping us from updating to 4.95. Regards Patrik OpenPGP_signature Description: OpenPGP digital signature -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] Stuck processes trying to deliver message

2022-02-17 Thread Patrik Peng via Exim-users
On 14.02.22 17:50, Patrik Peng via Exim-users wrote: On 14.02.22 16:27, Jeremy Harris via Exim-users wrote: Next time you get one, please run it with "-d+all" rather than "-v". Will do. ---8<--- 15:56:41 87345   SMTP<< 250 2.0.0 from MTA(smtp:[172.22.160.16]:

Re: [exim] Stuck processes trying to deliver message

2022-02-14 Thread Patrik Peng via Exim-users
On 14.02.22 16:27, Jeremy Harris via Exim-users wrote: Yup (which was also FreeBSD).  Did you also see eny indication of a crashed process? Nope, I did not observe any crashes. Next time you get one, please run it with "-d+all" rather than "-v". Will do. OpenPGP_signature Description:

[exim] Stuck processes trying to deliver message

2022-02-14 Thread Patrik Peng via Exim-users
Hello list After an upgrade from 4.94.2 to 4.95 on one of our FreeBSD mxout hosts, we encounter lots of stuck exim processes trying to deliver messages: mailnull 55171    0.0  0.0   26112 15628  -  I    Fri13 0:00.03 /usr/local/sbin/exim -Mc 1nIVPr-000ELk-EB mailnull 55305    0.0 

Re: [exim] Understanding of smtp_load_reserve

2022-02-14 Thread Patrik Peng via Exim-users
On 11.02.22 17:14, Jeremy Harris via Exim-users wrote: I've not checked, but I'd expect that to be a 1-minute average. Thanks for the quick response. I double checked and you are right. To explain the observed behaviour, I guess this means that there are sub 1-minute load spikes above 30

[exim] Understanding of smtp_load_reserve

2022-02-11 Thread Patrik Peng via Exim-users
Hi there We have a few FreeBSD hosts running Exim with something like `smtp_load_reserve = 30` configured and occasionally see dropped connections because of high load: 2022-02-11 10:02:07 temporarily refused connection from [1.2.3.4]: not in reserve list and load average = 30.74 But