We're trying out Scalix 11 RC2 on a Fedora Core 5 Athlon 64 architecture.
We've tried sendmail versions 8.13.5 and the latest, 8.13.8 releases but with both we're getting the same error, which is that sendmail segfaults.
Note that throughout the message, we have replaced the real domain with DOMAIN due to extreme paranoia

Code: Select all
/var/log/messages
Dec 17 20:13:08 serv0 kernel: sendmail[3276]: segfault at 0000000055822788 rip 00002b0823670826 rsp 00007fffffa6e640 error 4
We've set it up so that sendmail listens to the loopback interface and smtpd listens to port 25 normally.
Code: Select all
sendmail 2901 root 4u IPv4 10095 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 2937 root 4u IPv4 10204 TCP DOMAIN.UNDISCLOSED:smtp (LISTEN)
In other words, telnetting to port 25 on the looback interface will yield:
Code: Select all
[root@serv0 ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 serv0.DOMAIN ESMTP Sendmail 8.13.8/8.13.8; Sun, 17 Dec 2006 20:19:58 +0200
HELO test
250 serv0.DOMAIN Hello serv0.DOMAIN [192.168.2.130], pleased to meet you
MAIL FROM: test@DOMAIN
Connection closed by foreign host. <<SEGFAULT>>
and when telnetting to the network interface
Code: Select all
[root@serv0 ~]# telnet 192.168.2.130 25
Trying 192.168.2.130...
Connected to serv0.DOMAIN (192.168.2.130).
Escape character is '^]'.
220 serv0.DOMAIN ESMTP Scalix SMTP Relay 11.0.0.417; Sun, 17 Dec 2006 20:23:03 +0200 (EET)
HELO test
250 serv0.DOMAIN Hello serv0.DOMAIN [192.168.2.130], pleased to meet you
MAIL FROM: test@DOMAIN
250 test@DOMAIN... Sender ok
RCPT TO: test@DOMAIN <<SEGFAULT>>
We've tried with several clean installs of both Scalix (always RC2) and different versions of sendmail. We've had sendmail up and running for several months on the same box previously.
Any ideas regarding this issue would be greatly appreciated.
The strange thing is that sendmail segfaults even if we telnet to smtpd, and it segfaults in a different place.
As soon as we remove the MAILER(scalix)dnl line from sendmail.mc (and remake sendmail.cf, restart the service etc) the segfaults stop, but of course also make the whole system meaningless.
EDIT: Here are the relevant lines of sendmail.mc
Code: Select all
[root@serv0 mail]# grep -v "dnl " sendmail.mc
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`DOMAIN')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
MAILER(scalix)dnl