<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi!
</div>
<div>
<br>
</div>
<div>
Can you get backtrace from the core file?
</div>
<div>
<br>
</div>
<div>
<a href="https://dovecot.org/bugreport.html">https://dovecot.org/bugreport.html</a>
<br>
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL <
<a href="mailto:maciej.milaszewski@iq.pl">maciej.milaszewski@iq.pl</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi
</div>
<div>
Thenx for replay.
</div>
<div>
<br>
</div>
<div>
Finaly for a test in my lab
</div>
<div>
<br>
</div>
<div>
I upgrate to latest 2.2.36 and os debian 10
</div>
<div>
In this machine is dovecot director
</div>
<div>
<br>
</div>
<div>
But if i tested via telnet
</div>
<div>
<br>
</div>
<div>
root@postfix:~# telnet 46.xxx.xxx.xxx 143
</div>
<div>
Trying 46.xxx.xxx.xxx...
</div>
<div>
Connected to 46.xxx.xxx.xxx.
</div>
<div>
Escape character is '^]'.
</div>
<div>
* BYE Disconnected: Auth process broken
</div>
<div>
Connection closed by foreign host.
</div>
<div>
<br>
</div>
<div>
In log:
</div>
<div>
Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63)
</div>
<div>
starting up for imap, pop3, lmtp, sieve
</div>
<div>
Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command
</div>
<div>
startup failed, throttling for 2 secs
</div>
<div>
Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth):
</div>
<div>
child 10443 killed with signal 11 (core dumped)
</div>
<div>
Jan 24 16:02:07 postfix dovecot: director: Error: Auth server
</div>
<div>
disconnected unexpectedly
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
in strace:
</div>
<div>
<br>
</div>
<div>
ioctl(3, FIONBIO, [1]) = 0
</div>
<div>
setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
</div>
<div>
select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
</div>
<div>
select(4, [0 3], [], [3], NULL) = 1 (in [3])
</div>
<div>
recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, NULL) = 41
</div>
<div>
select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out [1],
</div>
<div>
left {tv_sec=0, tv_usec=0})
</div>
<div>
write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected:
</div>
<div>
Auth process broken
</div>
<div>
) = 40
</div>
<div>
recvfrom(3, "", 8151, 0, NULL, NULL) = 0
</div>
<div>
......
</div>
<div>
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
</div>
<div>
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo
</div>
<div>
...}) = 0
</div>
<div>
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
</div>
<div>
ioctl(0, FIONBIO, [0]) = 0
</div>
<div>
ioctl(1, FIONBIO, [0]) = 0
</div>
<div>
write(2, "Connection closed by foreign hos"..., 35Connection closed by
</div>
<div>
foreign host.
</div>
<div>
) = 35
</div>
<div>
close(-1) = -1 EBADF (Bad file descriptor)
</div>
<div>
exit_group(1) = ?
</div>
<div>
+++ exited with 1 +++
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Second machine (backend with dovecot clinet) is old debian (8.11) and
</div>
<div>
2.2.32 | ( and tested 2.2.36)
</div>
<div>
<br>
</div>
<div>
telnet 10.0.0.24 143
</div>
<div>
Trying 10.0.0.24...
</div>
<div>
Connected to 10.0.0.24.
</div>
<div>
Escape character is '^]'.
</div>
<div>
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
</div>
<div>
IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready.
</div>
<div>
<br>
</div>
<div>
and works fine
</div>
<div>
<br>
</div>
<div>
In productions i have debian 8.11 and 9.x all workings fine (this same
</div>
<div>
configurations etc)
</div>
<div>
<br>
</div>
<div>
Where i found solutions etc ?
</div>
<div>
<br>
</div>
<div>
On 23.01.2019 08:35, Aki Tuomi via dovecot wrote:
</div>
<blockquote type="cite">
<div>
Maybe you should try 2.2.36?
</div>
</blockquote>
<blockquote type="cite">
<div>
Aki
</div>
</blockquote>
<blockquote type="cite">
<div>
On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote:
</div>
<blockquote type="cite">
<div>
Hi
</div>
<div>
I have little problem with debian10 and dovecot 2.2.33.2
</div>
</blockquote>
</blockquote>
<div>
>> ps -ax
</div>
<div>
>> 21815 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21816 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21817 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21818 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21819 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21821 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>> 21822 ? S 0:00 dovecot/pop3-login director
</div>
<div>
>>
</div>
<div>
>> But if I testes via telnet like this:
</div>
<div>
>>
</div>
<div>
>> telnet 46.xxx.xxx.113 143
</div>
<div>
>> Trying 46.xxx.xxx.113...
</div>
<div>
>> Connected to 46.xxx.xxx.113.
</div>
<div>
>> Escape character is '^]'.
</div>
<div>
>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
</div>
<div>
>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
</div>
<div>
>> ^]
</div>
<div>
>> telnet> q
</div>
<div>
>> Connection closed.
</div>
<div>
>>
</div>
<div>
>> and ps:
</div>
<div>
>> 21808 ? S 0:00 dovecot/imap-login
</div>
<div>
>> ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
</div>
<div>
>> 21826 ? S 0:00 dovecot/imap-login
</div>
<div>
>> ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
</div>
<div>
>>
</div>
<div>
>> strace:
</div>
<div>
>> strace -p 21808
</div>
<div>
>> strace: Process 21808 attached
</div>
<div>
>> gettimeofday({tv_sec=1548168193, tv_usec=419420}, NULL) = 0
</div>
<div>
>> epoll_wait(14,
</div>
<div>
>>
</div>
<div>
>> doveconf:
</div>
<div>
>> doveconf -n |head -n 4
</div>
<div>
>> # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
</div>
<div>
>> # Pigeonhole version 0.4.8 (0c4ae064f307+)
</div>
<div>
>> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid
</div>
<div>
>> auth_cache_negative_ttl = 5 mins
</div>
<div>
>>
</div>
<div>
>>
</div>
<div>
>>
</div>
<div>
>> Probably dovecot not closed correctly imap-login and this same for
</div>
<div>
>> imap-pop3. Any idea ?
</div>
<div>
>>
</div>
<div>
>>
</div>
<div>
<br>
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
---
<br>Aki Tuomi
</div>
</body>
</html>