On 5/31/2010 3:54 PM, Timo Sirainen wrote:
> On 31.5.2010, at 23.45, Mark Sapiro wrote:
> 
>> I am having problems setting up rawlog. I need some help.
> 
> Oh, right, I forgot. With v2.0 it's different.
> http://dovecot.org/list/dovecot/2009-December/045139.html (just
> remove the /tmp/test.sh from the example)
> 


That worked. The attached logs.txt contains maillog entries and the
rawlog entries for two crashes (both the same), and dovecot -n.
Unfortunately, I didn't get a core dump. By the time I figured out how
to enable dumps, I had syncd the Sent folder on this account, which has
avoided the problem for the moment.

The problem appeared to be because the phone had an old Sent message
which was no longer if ever in the server's Sent folder and the phone
client was trying to append that message.

Anyway, the crashes will return and then I will get the gdb backtrace.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

May 31 16:26:32 sbh16 dovecot: imap-login: Login: user=<mark>, method=PLAIN, 
rip=97.183.80.174, lip=72.52.113.34, TLS
May 31 16:26:32 sbh16 dovecot: imap(mark): Panic: stream doesn't support 
seeking backwards
May 31 16:26:32 sbh16 dovecot: imap(mark): Error: Raw backtrace: 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc61780] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc617d5] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc60e38] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc69c00] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x7e) [0xc67a4e] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc6a358] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0xc67b2a] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x2b) [0xc67d9b] -> 
/usr/local/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x87) 
[0xc4fc27] -> /usr/local/lib/dovecot/libdovecot.so.0 [0xc4c1b5] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc4c8a7] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0xc67b2a] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc4be47] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0xc4bfe8] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x7e) [0xc67a4e] -> 
/usr/local/lib/dovecot/libd
May 31 16:26:32 sbh16 dovecot: master: Error: service(imap): child 7256 killed 
with signal 6 (core dumps disabled)

May 31 16:33:05 sbh16 dovecot: imap-login: Login: user=<mark>, method=PLAIN, 
rip=97.183.80.174, lip=72.52.113.34, TLS
May 31 16:33:06 sbh16 dovecot: imap(mark): Panic: stream doesn't support 
seeking backwards
May 31 16:33:06 sbh16 dovecot: imap(mark): Error: Raw backtrace: 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3ba780] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3ba7d5] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3b9e38] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3c2c00] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x7e) [0x3c0a4e] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3c3358] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0x3c0b2a] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x2b) [0x3c0d9b] -> 
/usr/local/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x87) 
[0x3a8c27] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x3a51b5] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3a58a7] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0x3c0b2a] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3a4e47] -> 
/usr/local/lib/dovecot/libdovecot.so.0 [0x3a4fe8] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x7e) [0x3c0a4e] -> 
/usr/local/lib/dovecot/libd
May 31 16:33:06 sbh16 dovecot: master: Error: service(imap): child 7342 killed 
with signal 6 (core dumps disabled)


20100531-162632-7258.in

2 SELECT "Sent"
3 APPEND "Sent" (\Seen) {899}
X-User-Agent: K-9 Mail for Android
In-Reply-To: <fc52899b-44ea-4130-955c-61262174f...@email.android.com>
References: <fc52899b-44ea-4130-955c-61262174f...@email.android.com>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: Testing
From: Mark Sapiro <m...@msapiro.net>
Date: Mon, 10 May 2010 09:20:57 -0700
To: Mark Sapiro <m...@msapiro.net>
BCC: m...@msapiro.net
Message-ID: <a504092e-f4b0-400a-943a-50a6fdc3b...@email.android.com>

20100531-162632-7258.out

1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk $MDNSent $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk 
$MDNSent $Forwarded \*)] Flags permitted.
* 119 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1] UIDs valid
* OK [UIDNEXT 452] Predicted next UID
* OK [HIGHESTMODSEQ 1172] Highest
2 OK [READ-WRITE] Select completed.
+ OK


20100531-163305-7344.in

2 SELECT "Sent"
3 APPEND "Sent" (\Seen) {899}
X-User-Agent: K-9 Mail for Android
In-Reply-To: <fc52899b-44ea-4130-955c-61262174f...@email.android.com>
References: <fc52899b-44ea-4130-955c-61262174f...@email.android.com>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: Testing
From: Mark Sapiro <m...@msapiro.net>
Date: Mon, 10 May 2010 09:20:57 -0700
To: Mark Sapiro <m...@msapiro.net>
BCC: m...@msapiro.net
Message-ID: <a504092e-f4b0-400a-943a-50a6fdc3b...@email.android.com>

20100531-163305-7344.out

1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk $MDNSent $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk 
$MDNSent $Forwarded \*)] Flags permitted.
* 119 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1] UIDs valid
* OK [UIDNEXT 452] Predicted next UID
* OK [HIGHESTMODSEQ 1172] Highest
2 OK [READ-WRITE] Select completed.
+ OK



dovecot -n

# 2.0.beta5: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-8.1.14.el5 i686 CentOS release 5 (Final) 
auth_mechanisms = plain apop login
auth_worker_max_count = 5
mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u
mail_privileged_group = mail
mbox_write_locks = fcntl dotlock
passdb {
  args = /usr/local/etc/dovecot.passwd
  driver = passwd-file
}
passdb {
  driver = pam
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
service imap-postlogin {
  executable = script rawlog
}
service imap {
  executable = imap imap-postlogin
}
ssl_cert = </etc/postfix/sbh16-cert.pem
ssl_key = </etc/postfix/sbh16-key.pem
userdb {
  driver = passwd
}
protocol imap {
  mail_max_userip_connections = 30
}

Reply via email to