[exim] Exim 4.90 randomly crashes on content scan

Top Page
Delete this message
Reply to this message
Author: Max Kostikov
Date:  
To: Exim Users
Subject: [exim] Exim 4.90 randomly crashes on content scan
Hi!

Have some random (?) crashes of Exim instances after upgrade on 4.90 in
FreeBSD.
According to quick analysis, it happens somewhere in this section of
Exim config which comes directly after DMARC checks

   warn !verify         = header_syntax
        !hosts          = +relay_from_hosts
        ...


I'll try to isolate this rule to see what happens.

root@beta:/home/xm # uname -v
FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017     
root@???:/usr/obj/usr/src/sys/GENERIC
root@beta:/home/xm # exim -bV
Exim version 4.90 #0 (FreeBSD 11.1) built 24-Dec-2017 00:05:17
Copyright (c) University of Cambridge, 1995 - 2017
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 
- 2017
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 use_setclassresources PAM Perl 
Expand_dlfunc TCPwrappers OpenSSL Content_Scanning DKIM DNSSEC Event 
I18N OCSP PRDR Experimental_SPF Experimental_SRS Experimental_DANE 
Experimental_DCC Experimental_DMARC
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm 
dbmjz dbmnz dnsdb dsearch mysql passwd sqlite
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file is /usr/local/etc/exim/configure
root@beta:/home/xm # grep signal /var/log/messages | tail -n1
Dec 28 13:51:55 beta kernel: pid 82496 (exim), uid 26: exited on signal 
10
root@beta:/home/xm # ll /var/spool/exim/scan/
total 1
drwxr-x---  2 mailnull  mail  6 28 дек.  13:51 1eUWj5-000LSa-KM/
root@beta:/home/xm # ll /var/spool/exim/scan/1eUWj5-000LSa-KM/
total 18
-rw-r-----  1 mailnull  mail  2364 28 дек.  13:51 1eUWj5-000LSa-KM-00000
-rw-r-----  1 mailnull  mail   389 28 дек.  13:51 1eUWj5-000LSa-KM-00001
-rw-r-----  1 mailnull  mail  1160 28 дек.  13:51 1eUWj5-000LSa-KM-00002
-rw-r-----  1 mailnull  mail  4194 28 дек.  13:51 1eUWj5-000LSa-KM.eml
root@beta:/home/xm # grep 1eUWj5-000LSa-KM /var/log/maillog
Dec 28 13:51:55 beta exim[82496]: 1eUWj5-000LSa-KM DKIM: 
d=candice.vikomtools.ru s=default c=relaxed/relaxed a=rsa-sha256 b=1024 
[verification failed - signature did not verify (headers probably 
modified in transit)]
Dec 28 13:51:55 beta exim[82496]: 1eUWj5-000LSa-KM DMARC results: 
spf_domain=candice.vikomtools.ru dmarc_domain=candice.vikomtools.ru 
spf_align=yes dkim_align=no enforcement='Accept'
root@beta:/home/xm # grep 1eUWj5-000LSa-KM /var/log/clamav/clamd.log
Thu Dec 28 13:51:55 2017 -> 
/var/spool/exim/scan/1eUWj5-000LSa-KM/1eUWj5-000LSa-KM.eml: OK


--
With best regards,
Max Kostikov

BBM: 24CA5DF8 | W: https://kostikov.co