qmail-remote crashed.

Rejaine Silveira Monteiro <[email protected]> Mon, 18 Feb 2019 12:30:22 -0300
Newsgroups gmane.mail.qmail.general
Message-ID <CAMTrDfUnqru_hECH3a5cG5gPBW_iVuaho=6KNtWXjFQnno6Cbg@mail.gmail.com>
Hi all

I made this weekend the migration of my qmail to a virtual machine
with opensuse 42.2 leap, (4vcpu and 4G RAM and a faster internet link,
 better than the previous server).

everything is working fine  and several emails are already being sent
and received.

however I am having many segfault problems with qmail-remote.

the qmail settings as well as the defined limits are identical to the
previous server.

kernel 4.4.62-18.6-default 64 bits
qmail-smtpd-softlimit =3D 66000000

it *seems* that errors occur when qmail tries to deliver mail to
*.mail.protection.outlook.com domains (at least it seems) ,  but I can
access the mta's on port 25 using telnet.

here is a part of strace for qmail-rspawn

select(84, [0 3 5 7 9 11 13 15 17 19 21 25 27 29 31 33 35 37 39 41 43
45 47 49 51 53 55 57 59 61 63 65 67 69 71 75 77 79 81 83], NULL, NULL,
NULL) =3D 1 (in [0])
rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) =3D 0
read(0, "\n\00017/1048242\[email protected]"..., 1024) =3D 65
open("17/1048242", O_RDONLY|O_NONBLOCK) =3D 2
fstat(2, {st_mode=3DS_IFREG|0644, st_size=3D11841, ...}) =3D 0
pipe([23, 24])                          =3D 0
fcntl(23, F_SETFD, FD_CLOEXEC)          =3D 0
vfork()                                 =3D 21071
close(2)                                =3D 0
fcntl(24, F_SETFD, FD_CLOEXEC)          =3D 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) =3D 0
select(84, [0 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 75 77 79 81 83], NULL,
NULL, NULL) =3D ? ERESTARTNOHAND (To be
restarted if no handler)
--- SIGCHLD {si_signo=3DSIGCHLD, si_code=3DCLD_KILLED, si_pid=3D20994,
si_uid=3D361, si_status=3DSIGSEGV, si_utime=3D7, si_stime=3D0} ---
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) =3D=3D SIGSEGV}], WNOHANG, NULL) =
=3D 20994
close(32)                               =3D 0
wait4(-1, 0x7ffd77421f1c, WNOHANG, NULL) =3D 0
rt_sigreturn({mask=3D[]})                 =3D -1 EINTR (Interrupted system =
call)
rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) =3D 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) =3D 0
select(84, [0 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 75 77 79 81 83], NULL,
NULL, NULL) =3D 1 (in [31])
rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) =3D 0
read(31, "", 128)                       =3D 0
write(1, "\16\0Zqmail-remote crashed.\n\0", 26) =3D 26
close(31)                               =3D 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) =3D 0

any ideas?

--=20
*Esta mensagem pode conter informa=C3=A7=C3=B5es confidenciais ou privilegi=
adas,=20
sendo seu sigilo protegido por lei. Se voc=C3=AA n=C3=A3o for o destinat=C3=
=A1rio ou a=20
pessoa autorizada a receber esta mensagem, n=C3=A3o pode usar, copiar ou=20
divulgar as informa=C3=A7=C3=B5es nela contidas ou tomar qualquer a=C3=A7=
=C3=A3o baseada nessas=20
informa=C3=A7=C3=B5es. Se voc=C3=AA recebeu esta mensagem por engano, por f=
avor avise=20
imediatamente ao remetente, respondendo o e-mail e em seguida apague-o.=20
Agradecemos sua coopera=C3=A7=C3=A3o.*