[Dovecot] dovecot crashing?

Eric campee at gmail.com
Wed Dec 26 04:26:27 EET 2012


Happy holidays! I am experiencing an issue when trying to check my mail
using IMAP. with Dovecot I have tried checking my mail using a full GUI
client (Thunderbird) and telnet. Both times I get disconnected before all
of my messages can be downloaded and I see an error in my mail log. Here
are the details:


[root at cust19-1-prod-domain userqa]# dovecot --version
2.0.9

[root at cust19-1-prod-domain userqa]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-164.11.1.el5 x86_64 CentOS release 5.4 (Final)
disable_plaintext_auth = no
login_trusted_networks = 172.19.136.0
mail_location = maildir:~/Maildir
mail_max_userip_connections = 100
mbox_write_locks = fcntl
mmap_disable = yes
passdb {
  args = scheme=plain username_format=%n /etc/dovecot/users
  driver = passwd-file
}
protocols = imap
ssl = no
userdb {
  args = username_format=%n /etc/dovecot/users
  driver = passwd-file
}
[root at cust19-1-prod-domain userqa]#

i try to check my mail:

username at ops1-1-domain:~$ telnet cust19-1-prod-domain imap
Trying 172.19.136.223...
Connected to cust19-1-prod-domain.domain.net (172.19.136.223).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
AUTH=PLAIN] Dovecot ready.

1 LOGIN userqa mypassword
1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT
CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC
ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in

3 EXAMINE INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 1 EXISTS
* 0 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 1356130761] UIDs valid
* OK [UIDNEXT 5] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
3 OK [READ-ONLY] Select completed.

4 FETCH 1 BODY[]

I get some binary output and some mail headers, but then it crashes..

Not sure if you guys want to see all of the extremely verbose output, so I
put it at the end of this message. The last messages that it processes is a
message with an Excel spreadsheet attached to it (a .xlsx file)

i enabled core dumps:

echo 'DAEMON_COREFILE_LIMIT="unlimited"' >> /etc/sysconfig/dovecot

Now I see this in /var/log/maillog:

2012-12-25T17:53:47-08:00 cust19-1-prod-domain dovecot: master: Error:
service(imap): child 11265 killed with signal 11 (core dumped)

core dumps are being written here, but they're empty:

[root at cust19-1-prod-domain userqa]# pwd
/mnt/mail/userqa
[root at cust19-1-prod-domain userqa]# ls -lh
total 20K
-rw------- 1 userqa userqa    0 Dec 25 17:52 core.11111
-rw------- 1 userqa userqa    0 Dec 25 17:53 core.11265
-rw------- 1 userqa userqa    0 Dec 25 17:58 core.11812
drwx------ 7 userqa userqa 4.0K Dec 25 17:58 Maildir
[root at cust19-1-prod-domain userqa]#

What should I try now? Is it possible that Dovecot is having difficulty
processing the attachment file? If I delete this user's mailbox file and
send basic text e-mail to the user I can read/retrieve them just fine..
there only seems to be an issue when this message with its attachment
arrives. The attachment seems small in size:

Content-Disposition: attachment; filename="report_amex.xlsx"; size=20527;


That means the attachment is 20527 bytes, correct?

Thank you for any suggestions/help you can offer!


Here's the message that it seems to be having issues with:

Return-Path: <user at company.com>
Received: from mxout.mailprovider.com
(slb1-prod-domain.domain.net[172.19.136.4])
    by cust19-1-prod-domain.domain.net (8.13.8/8.13.8) with ESMTP id
qBOM8oIE029715
    for <userqa_2938 at integration.company.com>; Mon, 24 Dec 2012 14:08:50
-0800
Received: from mxout.mailprovider.com (localhost [127.0.0.1])
    by mxout.mailprovider.com (Postfix) with ESMTP id 017E455325B
    for <userqa_2938 at integration.company.com>; Mon, 24 Dec 2012 17:08:51
-0500 (EST)
X-Virus-Scanned: by SpamTitan at mail.lan
Received: from HUB025.mail.lan (unknown [10.110.2.1])
    by mxout.mailprovider.com (Postfix) with ESMTP id 63DA0553132
    for <userqa_2938 at integration.company.com>; Mon, 24 Dec 2012 17:08:50
-0500 (EST)
Received: from MAILR001.mail.lan ([10.110.18.28]) by HUB025.mail.lan
 ([10.110.17.25]) with mapi; Mon, 24 Dec 2012 17:08:48 -0500
From: User Name <user at company.com>
To: "userqa_2938 at integration.company.com"
    <userqa_2938 at integration.company.com>
Date: Mon, 24 Dec 2012 17:08:47 -0500
Subject:
Thread-Index: Ac3fx0lCAoza6rTzQTSh8g52mx84GwAC2GGwAAH1lkAAkiyekA==
Message-ID: <0370E60157CA7E4097D81B9E09728A941CB269A29D at MAILR001.mail.lan>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/mixed;
    boundary="_004_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_"
MIME-Version: 1.0

--_004_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_
Content-Type: multipart/alternative;
    boundary="_000_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_"

--_000_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

From: User Name
Sent: Friday, December 21, 2012 6:23 PM
To: 'userqa_2938 at integration.company.com'
Subject: FW:


With Best Regards,
User Name

From: User Name
Sent: Friday, December 21, 2012 5:27 PM
To: 'userqa_2938 at integration.company.com'
Subject: FW:


With Best Regards,
User Name

From: User Name
Sent: Friday, December 21, 2012 4:05 PM
To: 'userqa_2938 at integration.company.com'
Subject:



With Best Regards,
User Name

--_000_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
    {font-family:Tahoma;
    panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin:0in;
    margin-bottom:.0001pt;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
    {mso-style-priority:99;
    color:blue;
    text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
    {mso-style-priority:99;
    color:purple;
    text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
    {mso-style-priority:99;
    mso-style-link:"Balloon Text Char";
    margin:0in;
    margin-bottom:.0001pt;
    font-size:8.0pt;
    font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
    {mso-style-name:"Balloon Text Char";
    mso-style-priority:99;
    mso-style-link:"Balloon Text";
    font-family:"Tahoma","sans-serif";}
span.EmailStyle19
    {mso-style-type:personal;
    font-family:"Calibri","sans-serif";
    color:windowtext;}
span.EmailStyle20
    {mso-style-type:personal;
    font-family:"Calibri","sans-serif";
    color:#1F497D;}
span.EmailStyle21
    {mso-style-type:personal;
    font-family:"Calibri","sans-serif";
    color:#1F497D;}
span.EmailStyle22
    {mso-style-type:personal-reply;
    font-family:"Calibri","sans-serif";
    color:#1F497D;}
.MsoChpDefault
    {mso-style-type:export-only;
    font-size:10.0pt;}
@page WordSection1
    {size:8.5in 11.0in;
    margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
    {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'c=
olor:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal><span style=
=3D'color:#1F497D'><o:p> </o:p></span></p><div><p class=3DMsoNormal><s=
pan style=3D'color:#1F497D'>With Best Regards,<o:p></o:p></span></p><p clas=
s=3DMsoNormal><span style=3D'color:#1F497D'>User Name<o:p></o:p></span></=
p><p class=3DMsoNormal><span style=3D'color:#1F497D'>______________________=
_<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>s=
kype: user<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color=
:#1F497D'>cell phone: +1 224 600 0072<o:p></o:p></span></p></div><p class=
=3DMsoNormal><span style=3D'color:#1F497D'><o:p> </o:p></span></p><div=
><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in=
 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-fami=
ly:"Tahoma","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;f=
ont-family:"Tahoma","sans-serif"'> User Name <br><b>Sent:</b> Friday, Dec=
ember 21, 2012 6:23 PM<br><b>To:</b> 'userqa_2938 at integration.aggregateknow=
ledge.com'<br><b>Subject:</b> FW: <o:p></o:p></span></p></div></div><p clas=
s=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><span style=3D'colo=
r:#1F497D'><o:p> </o:p></span></p><div><p class=3DMsoNormal><span styl=
e=3D'color:#1F497D'>With Best Regards,<o:p></o:p></span></p><p class=3DMsoN=
ormal><span style=3D'color:#1F497D'>User Name<o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span style=3D'color:#1F497D'>_______________________<o:p></=
o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>skype: eg=
irik<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D=
'>cell phone: +1 224 600 0072<o:p></o:p></span></p></div><p class=3DMsoNorm=
al><span style=3D'color:#1F497D'><o:p> </o:p></span></p><div><div styl=
e=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>=
<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma=
","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family=
:"Tahoma","sans-serif"'> User Name <br><b>Sent:</b> Friday, December 21, =
2012 5:27 PM<br><b>To:</b> 'userqa_2938 at integration.company.com'=
<br><b>Subject:</b> FW: <o:p></o:p></span></p></div></div><p class=3DMsoNor=
mal><o:p> </o:p></p><p class=3DMsoNormal><span style=3D'color:#1F497D'=
><o:p> </o:p></span></p><div><p class=3DMsoNormal><span style=3D'color=
:#1F497D'>With Best Regards,<o:p></o:p></span></p><p class=3DMsoNormal><spa=
n style=3D'color:#1F497D'>User Name<o:p></o:p></span></p><p class=3DMsoNo=
rmal><span style=3D'color:#1F497D'>_______________________<o:p></o:p></span=
></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>skype: user<o:p><=
/o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>cell pho=
ne: +1 224 600 0072<o:p></o:p></span></p></div><p class=3DMsoNormal><span s=
tyle=3D'color:#1F497D'><o:p> </o:p></span></p><div><div style=3D'borde=
r:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=
=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-=
serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma=
","sans-serif"'> User Name <br><b>Sent:</b> Friday, December 21, 2012 4:0=
5 PM<br><b>To:</b> 'userqa_2938 at integration.company.com'<br><b>S=
ubject:</b> <o:p></o:p></span></p></div></div><p class=3DMsoNormal><o:p>&nb=
sp;</o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal=
><o:p> </o:p></p><p class=3DMsoNormal>With Best Regards,<o:p></o:p></p=
><p class=3DMsoNormal>User Name<o:p></o:p></p><p class=3DMsoNormal>______=
_________________<o:p></o:p></p><p class=3DMsoNormal>skype: user<o:p></o:=
p></p><p class=3DMsoNormal>cell phone: +1 224 600 0072<o:p></o:p></p><p cla=
ss=3DMsoNormal><o:p> </o:p></p></div></body></html>=

--_000_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_--

--_004_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_
Content-Type:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
    name="report_company.xlsx"
Content-Description: report_company.xlsx
Content-Disposition: attachment; filename="report_company.xlsx"; size=20527;
    creation-date="Thu, 11 Oct 2012 22:38:14 GMT";
    modification-date="Mon, 24 Dec 2012 22:08:22 GMT"
Content-Transfer-Encoding: base64

UEsDBBQABgAIAAAAIQDretKTYgEAAJAEAAATANwBW0NvbnRlbnRfVHlwZXNdLnhtbCCi2AEooAAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAA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AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADlDAAAeGwv
c3R5bGVzLnhtbFBLAQItABQABgAIAAAAIQDppiW4ggYAAFMbAAATAAAAAAAAAAAAAAAAALIUAAB4
bC90aGVtZS90aGVtZTEueG1sUEsBAi0AFAAGAAgAAAAhAOhJXyi8LAAAyx8BABgAAAAAAAAAAAAA
AAAAZRsAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbFBLAQItABQABgAIAAAAIQAU45/9UAEAAGMC
AAARAAAAAAAAAAAAAAAAAFdIAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQBxujxc
hQEAAAMDAAAQAAAAAAAAAAAAAAAAAN5KAABkb2NQcm9wcy9hcHAueG1sUEsFBgAAAAAKAAoAgAIA
AJlNAAAAAA==

--_004_0370E60157CA7E4097D81B9E09728A941CB269A29DMAILR001maill_--
Connection closed by foreign host.


More information about the dovecot mailing list