Hello
XMail is mail server of my choice because it is all what i need
(SMTP/POP3 in one app, very simple configuration, remotely
administration withs pecial protoco, very fast working etc. etc.).
The problem with XMail on OpenBSD is that it randomly crashing
(generating xmail.core).
It happend only with OpenBSD OS.
I investigate this with XMail author & we think it may be OpenBSD
library error, not XMail itself.
Here are my compile instructions:
cd /usr/src
wget http://www.xmailserver.org/xmail-1.23-pre01.tar.gz
# this is special version dedicated to BSD OSs (checked for errors by
the author & a little optimized for BSDs)
tar zxvf xmail-1.23-pre01.tar.gz
cd xmail-1.23-pre01
export XMAIL_DEBUG=1
gmake -f Makefile.bsd OSTYPE=OpenBSD
Here are instructions that i made after compile ends succefully
(never had any problems with that):
cp -r MailRoot /var
chmod 700 /var/MailRoot
cp bin/* /var/MailRoot/bin/
cp bin/CtrlClnt /usr/sbin
mkdir /usr/share/doc/xmail
cp docs/* /usr/share/doc/xmail/
mv /usr/sbin/sendmail /usr/sbin/sendmail.orig
cp bin/sendmail /usr/sbin/sendmail.xmail
chmod +s /usr/sbin/sendmail.xmail
cp sendmail.sh /usr/sbin/sendmail
chmod +x /usr/sbin/sendmail
The XMail configurations are other on other servers, but i got chance
to use it on few OpenBSD servers & everywhere is the same problem!
The first server (Pentium4/OpenBSD 3.7-release.i386) (about 5
domains, about 100 users, 1 mailing list accout):
DMESG: http://nicram.sytes.net/openbsd/xmail/pentium4/dmesg.txt
gdb /var/MailRoot/bin/XMail /XMail.core:
http://nicram.sytes.net/openbsd/xmail/pentium4/problem.txt
XMail.core file if someone would like to check it:
http://nicram.sytes.net/openbsd/xmail/pentium4/xmail.core
The second server (Duron/OpenBSD 3.8-release.i386) (3 domain, 6
users, 0 mailing list accounts):
DMESG: http://nicram.sytes.net/openbsd/xmail/duron/dmesg.txt
gdb /var/MailRoot/bin/XMail /XMail.core:
http://nicram.sytes.net/openbsd/xmail/duron/problem.txt
In both cases the problem is with _thread_start () from
/usr/lib/libpthread.so.6.1
I have installed XMail with same isntructions on OpenBSD
3.8-release.amd64 today but with 1 domain & 1 user.
but i think soon it will do the same & crash, then i will prepeare
LOG files like those here.
I'm using XMail on some Linux server too, it is working there for a 7
months without any problems (ful uptime of server, about 60 users, 5
domains, few mailing list accounts). Even when i testes XMail on
windows it was stable :S
Can anyone using XMail confirm this, or someone that got something to
do with OpenBSD source says omething about this libpthread.so.6.1 problem?
Any comments please :)
Best Regards