Dagent and Gateway Crashed after receiving email from Outlook using RTF
-
Hello,
Does anyone know the fix on our issue?
We have two servers who have the same behaviour, when our server receives an email from Outlook which is set to “Send using Outlook Rich Tech format”, the dagent log generates the following and email are not being delivered to Kopano user inbox.I believe there’s a bug KC-556 on version 8.2, but I am unable to view it.
We are using 8.4.90.68-0+5.1 on Debian.From the dagent log:
Wed Oct 18 15:29:49 2017: [info ] [27850] Accepted connection from [::ffff:192.168.35.1]:48106 Wed Oct 18 15:29:49 2017: [info ] [12427] Starting worker for LMTP request pid 12427 Wed Oct 18 15:29:49 2017: [debug ] [12427] Initializing provider "Kopano Directory Service" Wed Oct 18 15:29:49 2017: [debug ] [12427] Initializing provider "Private Folders" Wed Oct 18 15:29:49 2017: [debug ] [12427] Initializing provider "Public Folders" Wed Oct 18 15:29:49 2017: [debug ] [12427] < 220 2.1.5 LMTP server is ready Wed Oct 18 15:29:49 2017: [debug ] [12427] > LHLO srv.compsos.com.au Wed Oct 18 15:29:49 2017: [debug ] [12427] LHLO ID: srv.compsos.com.au Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250-SERVER ready Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250-PIPELINING Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250-ENHANCEDSTATUSCODE Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250 RSET Wed Oct 18 15:29:49 2017: [debug ] [12427] > MAIL FROM:<shiena@compsos.com.au> Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250 2.1.0 Ok Wed Oct 18 15:29:49 2017: [debug ] [12427] > RCPT TO:<shiena@compsos.com.au> Wed Oct 18 15:29:49 2017: [debug ] [12427] Resolved command "RCPT TO:<shiena@compsos.com.au>" to recipient address "shiena@compsos.com.au" Wed Oct 18 15:29:49 2017: [notice ] [12427] Resolved recipient shiena@compsos.com.au as user shiena Wed Oct 18 15:29:49 2017: [debug ] [12427] < 250 2.1.5 Ok Wed Oct 18 15:29:49 2017: [debug ] [12427] > DATA Wed Oct 18 15:29:49 2017: [debug ] [12427] < 354 2.1.5 Start mail input; end with <CRLF>.<CRLF> Wed Oct 18 15:29:50 2017: [debug ] [12427] PYTHONPATH = /usr/share/kopano-dagent/python Wed Oct 18 15:29:50 2017: [info ] [12427] * Loading plugins started Wed Oct 18 15:29:50 2017: [info ] [12427] ** Checking plugins in /var/lib/kopano/dagent/plugins Wed Oct 18 15:29:50 2017: [info ] [12427] * Loading plugins done Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Kopano Directory Service" Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Private Folders" Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Public Folders" Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Kopano Directory Service" Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Private Folders" Wed Oct 18 15:29:50 2017: [debug ] [12427] Initializing provider "Public Folders" Wed Oct 18 15:29:50 2017: [info ] [12427] Mail will be delivered in Inbox Wed Oct 18 15:29:50 2017: [crit ] [12427] ---------------------------------------------------------------------- Wed Oct 18 15:29:50 2017: [crit ] [12427] Fatal error detected. Please report all following information. Wed Oct 18 15:29:50 2017: [crit ] [12427] Application kopano-dagent version: 8.4.90 Wed Oct 18 15:29:50 2017: [crit ] [12427] OS: Linux, release: 3.16.0-4-amd64, version: #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26), hardware: x86_64 Wed Oct 18 15:29:50 2017: [crit ] [12427] Thread name: kopano-dagent Wed Oct 18 15:29:50 2017: [crit ] [12427] Peak RSS: 24960 Wed Oct 18 15:29:50 2017: [crit ] [12427] Pid 12427 caught SIGSEGV (11), traceback: Wed Oct 18 15:29:50 2017: [crit ] [12427] Backtrace: Wed Oct 18 15:29:50 2017: [crit ] [12427] #0. /usr/lib/libkcutil.so.0(+0x2898d) [0x7f3335aae98d] Wed Oct 18 15:29:50 2017: [crit ] [12427] #1. /usr/lib/libkcutil.so.0(+0x21e4f) [0x7f3335aa7e4f] Wed Oct 18 15:29:50 2017: [crit ] [12427] #2. /usr/lib/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1c1) [0x7f3335aa81c1] Wed Oct 18 15:29:50 2017: [crit ] [12427] #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7f3332641890] Wed Oct 18 15:29:50 2017: [crit ] [12427] #4. /usr/lib/libmapi.so.1(MAPIFreeBuffer+0xf) [0x7f3335f3ca1f] Wed Oct 18 15:29:50 2017: [crit ] [12427] #5. /usr/lib/libkcinetmapi.so.0(+0x727e8) [0x7f33362077e8] Wed Oct 18 15:29:50 2017: [crit ] [12427] #6. /usr/lib/libkcinetmapi.so.0(+0x58d56) [0x7f33361edd56] Wed Oct 18 15:29:50 2017: [crit ] [12427] #7. /usr/lib/libkcinetmapi.so.0(+0x576ef) [0x7f33361ec6ef] Wed Oct 18 15:29:50 2017: [crit ] [12427] #8. /usr/lib/libkcinetmapi.so.0(+0x5862a) [0x7f33361ed62a] Wed Oct 18 15:29:50 2017: [crit ] [12427] #9. /usr/lib/libkcinetmapi.so.0(+0x5a05b) [0x7f33361ef05b] Wed Oct 18 15:29:50 2017: [crit ] [12427] #10. /usr/lib/libkcinetmapi.so.0(+0x5b334) [0x7f33361f0334] Wed Oct 18 15:29:50 2017: [crit ] [12427] #11. /usr/lib/libkcinetmapi.so.0(_ZN2KC8IMToMAPIEP12IMAPISessionP9IMsgStoreP9IAddrBookP8IMessageRKSsNS_16delivery_optionsE+0x12e) [0x7f33361f3f7e] Wed Oct 18 15:29:50 2017: [crit ] [12427] #12. /usr/sbin/kopano-dagent() [0x4102ce] Wed Oct 18 15:29:50 2017: [crit ] [12427] #13. /usr/sbin/kopano-dagent() [0x415329] Wed Oct 18 15:29:50 2017: [crit ] [12427] #14. /usr/sbin/kopano-dagent() [0x416a31] Wed Oct 18 15:29:50 2017: [crit ] [12427] #15. /usr/sbin/kopano-dagent() [0x4176a7] Wed Oct 18 15:29:50 2017: [crit ] [12427] #16. /usr/sbin/kopano-dagent() [0x41a12a] Wed Oct 18 15:29:50 2017: [crit ] [12427] #17. /usr/lib/libkcutil.so.0(_ZN2KC18unix_fork_functionEPFPvS0_ES0_iPi+0x6d) [0x7f3335aac9ad] Wed Oct 18 15:29:50 2017: [crit ] [12427] #18. /usr/sbin/kopano-dagent() [0x40bab7] Wed Oct 18 15:29:50 2017: [crit ] [12427] #19. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f3330eddb45] Wed Oct 18 15:29:50 2017: [crit ] [12427] #20. /usr/sbin/kopano-dagent() [0x40ccff] Wed Oct 18 15:29:50 2017: [crit ] [12427] Signal errno: Success, signal code: 1 Wed Oct 18 15:29:50 2017: [crit ] [12427] Sender pid: 234946563, sender uid: 0, si_status: 0 Wed Oct 18 15:29:50 2017: [crit ] [12427] User time: 0, system time: 0, signal value: 0 Wed Oct 18 15:29:50 2017: [crit ] [12427] Faulting address: 0xe010003, affected fd: 0 Wed Oct 18 15:29:50 2017: [crit ] [12427] When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
From the Gateway log:
root@mailx:~# tailf /var/log/kopano/gateway.log Wed Oct 18 15:58:59 2017: [crit ] [ 537] Signal errno: Success, signal code: 1 Wed Oct 18 15:58:59 2017: [crit ] [ 537] Sender pid: 0, sender uid: 0, si_status: 0 Wed Oct 18 15:58:59 2017: [crit ] [ 537] User time: 0, system time: 0, signal value: 0 Wed Oct 18 15:58:59 2017: [crit ] [ 537] Faulting address: (nil), affected fd: 0 Wed Oct 18 15:58:59 2017: [crit ] [ 537] When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version. Wed Oct 18 15:59:01 2017: [error ] [ 543] Could not open data of message attachment 0. Error: 0x80070005 Wed Oct 18 15:59:01 2017: [warning] [ 543] Error in generating message 3070 for user shiena in folder Sent Items Wed Oct 18 15:59:01 2017: [error ] [ 543] Could not open data of message attachment 0. Error: 0x80070005 Wed Oct 18 15:59:01 2017: [warning] [ 543] Error in generating message 3070 for user shiena in folder Sent Items Wed Oct 18 15:59:01 2017: [warning] [ 543] {?} Error fetching mail Wed Oct 18 16:16:32 2017: [crit ] [ 535] ---------------------------------------------------------------------- Wed Oct 18 16:16:32 2017: [crit ] [ 535] Fatal error detected. Please report all following information. Wed Oct 18 16:16:32 2017: [crit ] [ 535] Application kopano-gateway version: 8.4.90 Wed Oct 18 16:16:32 2017: [crit ] [ 535] OS: Linux, release: 3.16.0-4-amd64, version: #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26), hardware: x86_64 Wed Oct 18 16:16:32 2017: [crit ] [ 535] Thread name: kopano-gateway Wed Oct 18 16:16:32 2017: [crit ] [ 535] Peak RSS: 18868 Wed Oct 18 16:16:32 2017: [crit ] [ 535] Pid 535 caught SIGSEGV (11), traceback: Wed Oct 18 16:16:32 2017: [crit ] [ 535] Backtrace: Wed Oct 18 16:16:32 2017: [crit ] [ 535] #0. /usr/lib/libkcutil.so.0(+0x2898d) [0x7f23368a698d] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #1. /usr/lib/libkcutil.so.0(+0x21e4f) [0x7f233689fe4f] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #2. /usr/lib/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1c1) [0x7f23368a01c1] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7f2336262890] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #4. /usr/lib/libmapi.so.1(MAPIFreeBuffer+0xf) [0x7f2336d34a1f] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #5. /usr/lib/libkcinetmapi.so.0(+0x727e8) [0x7f2336fff7e8] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #6. /usr/lib/libkcinetmapi.so.0(+0x58d56) [0x7f2336fe5d56] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #7. /usr/lib/libkcinetmapi.so.0(+0x576ef) [0x7f2336fe46ef] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #8. /usr/lib/libkcinetmapi.so.0(+0x5862a) [0x7f2336fe562a] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #9. /usr/lib/libkcinetmapi.so.0(+0x5a05b) [0x7f2336fe705b] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #10. /usr/lib/libkcinetmapi.so.0(+0x5b334) [0x7f2336fe8334] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #11. /usr/lib/libkcinetmapi.so.0(_ZN2KC8IMToMAPIEP12IMAPISessionP9IMsgStoreP9IAddrBookP8IMessageRKSsNS_16delivery_optionsE+0x12e) [0x7f2336febf7e] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #12. /usr/sbin/kopano-gateway() [0x42e287] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #13. /usr/sbin/kopano-gateway() [0x43129c] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #14. /usr/sbin/kopano-gateway() [0x40a0bd] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #15. /usr/lib/libkcutil.so.0(_ZN2KC18unix_fork_functionEPFPvS0_ES0_iPi+0x6d) [0x7f23368a49ad] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #16. /usr/sbin/kopano-gateway() [0x409bd7] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #17. /usr/sbin/kopano-gateway() [0x40895e] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #18. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f2332cd8b45] Wed Oct 18 16:16:32 2017: [crit ] [ 535] #19. /usr/sbin/kopano-gateway() [0x408d3f] Wed Oct 18 16:16:32 2017: [crit ] [ 535] Signal errno: Success, signal code: 1 Wed Oct 18 16:16:32 2017: [crit ] [ 535] Sender pid: 93, sender uid: 108, si_status: 0 Wed Oct 18 16:16:32 2017: [crit ] [ 535] User time: 0, system time: 0, signal value: 0 Wed Oct 18 16:16:32 2017: [crit ] [ 535] Faulting address: 0x6c0000005d, affected fd: 0 Wed Oct 18 16:16:32 2017: [crit ] [ 535] When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version. Wed Oct 18 16:16:34 2017: [error ] [ 734] Could not open data of message attachment 0. Error: 0x80070005 Wed Oct 18 16:16:34 2017: [warning] [ 734] Error in generating message 3070 for user shiena in folder Sent Items Wed Oct 18 16:16:34 2017: [error ] [ 734] Could not open data of message attachment 0. Error: 0x80070005 Wed Oct 18 16:16:34 2017: [warning] [ 734] Error in generating message 3070 for user shiena in folder Sent Items Wed Oct 18 16:16:34 2017: [warning] [ 734] {?} Error fetching mail
Thanks
-
Hi @compsos-shiena ,
I’ve removed sensitive data from the ticket and made https://jira.kopano.io/browse/KC-556 public.
Can you provide an eml of such a mail (the easiest is to configure the dagent to
log_raw_message = yes
). -
Hi Felix,
I enabled the log_raw_message = yes and restarted the dagent, I checked the /tmp/ for an eml file but the email that was on queue in NethServer postfix is not there as yet, as probably it was not processed by Kopano as yet.
I saved the email that I sent from my test Outlook as EML - it can be found here.
I was trying to replicate the same scenario and was not able to ask the sender to resend the same email as it will be stuck in the queue.
We have NethServer which has postfix, which then uses LMTP to deliver to Kopano. Kopano is installed in Debian separately. We have been receiving and sending emails with attachments OK. There was no update on Kopano, it was fresh install last August using version 8.4.Thanks again
-
Hello folks,
probably related: Crash in gateway 8.4.90.492:---------------------------------------------------------------------- Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Fatal error detected. Please report all following information. Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Application kopano-gateway version: 8.4.90.492 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] OS: Linux, release: 2.6.32-042stab120.20, version: #1 SMP Fri Mar 10 16:52:50 MSK 2017, hardware: x86_64 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Thread name: kopano-gateway Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Peak RSS: 679744 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Pid 28199 caught SIGSEGV (11), traceback: Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Backtrace: Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #0. /usr/lib64/libkcutil.so.0(+0x29eab) [0x7f76f64faeab] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #1. /usr/lib64/libkcutil.so.0(+0x2320f) [0x7f76f64f420f] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #2. /usr/lib64/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK7siginfoPKv+0x1d0) [0x7f76f64f4580] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #3. /lib64/libpthread.so.0(+0xf7e0) [0x7f76f590d7e0] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #4. /usr/lib64/kopano/libkcclient.so(+0xaa518) [0x7f76eb03f518] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #5. /usr/lib64/kopano/libkcclient.so(+0xa94ef) [0x7f76eb03e4ef] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #6. /usr/lib64/kopano/libkcclient.so(+0xa9699) [0x7f76eb03e699] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #7. /usr/lib64/libkcmapi.so.0(_ZN2KC9ECUnknown7SuicideEv+0x1b) [0x7f76f674b73b] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #8. /usr/lib64/libkcmapi.so.0(_ZN2KC9ECUnknown7ReleaseEv+0x83) [0x7f76f674bad3] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #9. /usr/lib64/kopano/libkcclient.so(+0x5a8d4) [0x7f76eafef8d4] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #10. /usr/lib64/kopano/libkcclient.so(+0x5a949) [0x7f76eafef949] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #11. /usr/lib64/libkcmapi.so.0(_ZN2KC9ECUnknown7SuicideEv+0x1b) [0x7f76f674b73b] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #12. /usr/lib64/libkcmapi.so.0(_ZN2KC9ECUnknown7ReleaseEv+0x83) [0x7f76f674bad3] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #13. /usr/lib64/libmapi.so.1(+0x2e709) [0x7f76f69a9709] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #14. /usr/lib64/libmapi.so.1(+0x2786a) [0x7f76f69a286a] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #15. /usr/lib64/libmapi.so.1(+0x278c9) [0x7f76f69a28c9] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #16. /usr/lib64/libmapi.so.1(+0x1a762) [0x7f76f6995762] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #17. /usr/sbin/kopano-gateway() [0x40a24a] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #18. /usr/sbin/kopano-gateway() [0x414137] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #19. /usr/sbin/kopano-gateway() [0x414599] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #20. /usr/sbin/kopano-gateway() [0x408e1c] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #21. /lib64/libpthread.so.0(+0x7aa1) [0x7f76f5905aa1] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] #22. /lib64/libc.so.6(clone+0x6d) [0x7f76f3b78bcd] Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Signal errno: Success, signal code: 1 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Sender pid: 64, sender uid: 0, si_status: -360811352 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] Signal value: -360811352, faulting address: 0x40 Wed Oct 18 18:34:26 2017: [kopano-gateway|T9012] [crit ] When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version. Thu Oct 19 09:19:03 2017: [kopano-gateway|T1007] [ notice] Starting kopano-gateway version 8.4.90.492 (pid 1007)
++umgfoin
-
Hi @compsos-shiena,
I tried to reproduce this for the version 8.4.90.492-0+85.1 , but I couldn’t get the same logfile.
EDIT: looking further into the eml file it actually does not include an rtf part, but just plain and html.
-
Hi umgfoin,
The error we got is more on libkcinetmapi I think, your log seems to be more on libmapi, but I’m not sure.
Hi lherrmann,
Thanks for your time trying to reproduce the issue.
Re. RTF part, how about this part on the eml, would that be the part you’re after?
I setup IMAP on Outlook and enabled “Send using Outlook Rich Text format” under Options -> Mail. Then send myself a test email by selecting “Rich Text” as format, then formatting my text on the body (i.e. made it bold, etc). That’s when I get the error as per my original message.
-
Hi @compsos-shiena ,
yes that is the part we have also seen in your eml. it actually does not contain rtf, but is already converted from rtf to html. But unfortunately neither with your eml nor when hooking up Outlook via imap and setting the format to rtf we could observe a crash of the dagent.
-
Hi Felix,
The eml file was from the Sent folder, and not from the Inbox as it would not deliver to the Inbox. due to the crash. Would that be ok as an eml sample?
-
Hi @compsos-shiena ,
if you can reproduce the crash with the eml from the sent items we would of course love to have a look at this mail. If you cannot get the dagent to dump the raw message then an alternative approach could be to dump the message directly from the postfix queue. Step 2 in https://www.wirehive.com/5-top-tips-reviewing-postfix-mail-queue/ explains how.
-
Hi Felix,
I sent another test email from Outlook 2016 with Rich Text enabled and formatting was enabled on text. It was then stuck in queue.
I then followed step 2 from your link and saved the file, it can be viewed here https://www.dropbox.com/s/krkysnet4nv0v19/test-dagentcrash-251020171018.txt?dl=0Postfix on NethServer maillog when I tried to send the test email to myself was:
Oct 25 10:23:53 srv postfix/qmgr[1982]: 543A560005A00: from=<shiena@compsos.com.au>, size=292819, nrcpt=1 (queue active) Oct 25 10:23:53 srv postfix/lmtp[16813]: 543A560005A00: to=<shiena@compsos.com.au>, relay=mailx[192.168.35.3]:2003, delay=350, delays=349/0.11/0.04/0.12, dsn=4.4.2, status=deferred (lost connection with mailx[192.168.35.3] while sending end of data -- message may be sent more than once)
Kopano Dagent log file:
Wed Oct 25 10:23:53 2017: [info ] [14111] Accepted connection from [::ffff:192.168.35.1]:41794 Wed Oct 25 10:23:53 2017: [info ] [17398] Starting worker for LMTP request pid 17398 Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Kopano Directory Service" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Private Folders" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Public Folders" Wed Oct 25 10:23:53 2017: [debug ] [17398] < 220 2.1.5 LMTP server is ready Wed Oct 25 10:23:53 2017: [debug ] [17398] > LHLO srv.compsos.com.au Wed Oct 25 10:23:53 2017: [debug ] [17398] LHLO ID: srv.compsos.com.au Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250-SERVER ready Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250-PIPELINING Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250-ENHANCEDSTATUSCODE Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250 RSET Wed Oct 25 10:23:53 2017: [debug ] [17398] > MAIL FROM:<shiena@compsos.com.au> Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250 2.1.0 Ok Wed Oct 25 10:23:53 2017: [debug ] [17398] > RCPT TO:<shiena@compsos.com.au> Wed Oct 25 10:23:53 2017: [debug ] [17398] Resolved command "RCPT TO:<shiena@compsos.com.au>" to recipient address "shiena@compsos.com.au" Wed Oct 25 10:23:53 2017: [notice ] [17398] Resolved recipient shiena@compsos.com.au as user shiena Wed Oct 25 10:23:53 2017: [debug ] [17398] < 250 2.1.5 Ok Wed Oct 25 10:23:53 2017: [debug ] [17398] > DATA Wed Oct 25 10:23:53 2017: [debug ] [17398] < 354 2.1.5 Start mail input; end with <CRLF>.<CRLF> Wed Oct 25 10:23:53 2017: [debug ] [17398] PYTHONPATH = /usr/share/kopano-dagent/python Wed Oct 25 10:23:53 2017: [info ] [17398] * Loading plugins started Wed Oct 25 10:23:53 2017: [info ] [17398] ** Checking plugins in /var/lib/kopano/dagent/plugins Wed Oct 25 10:23:53 2017: [info ] [17398] * Loading plugins done Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Kopano Directory Service" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Private Folders" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Public Folders" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Kopano Directory Service" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Private Folders" Wed Oct 25 10:23:53 2017: [debug ] [17398] Initializing provider "Public Folders" Wed Oct 25 10:23:53 2017: [info ] [17398] Mail will be delivered in Inbox Wed Oct 25 10:23:53 2017: [crit ] [17398] ---------------------------------------------------------------------- Wed Oct 25 10:23:53 2017: [crit ] [17398] Fatal error detected. Please report all following information. Wed Oct 25 10:23:53 2017: [crit ] [17398] Application kopano-dagent version: 8.4.90 Wed Oct 25 10:23:53 2017: [crit ] [17398] OS: Linux, release: 3.16.0-4-amd64, version: #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19), hardware: x86_64 Wed Oct 25 10:23:53 2017: [crit ] [17398] Thread name: kopano-dagent Wed Oct 25 10:23:53 2017: [crit ] [17398] Peak RSS: 25276 Wed Oct 25 10:23:53 2017: [crit ] [17398] Pid 17398 caught SIGSEGV (11), traceback: Wed Oct 25 10:23:53 2017: [crit ] [17398] Backtrace: Wed Oct 25 10:23:53 2017: [crit ] [17398] #0. /usr/lib/libkcutil.so.0(+0x2898d) [0x7fd6bd10398d] Wed Oct 25 10:23:53 2017: [crit ] [17398] #1. /usr/lib/libkcutil.so.0(+0x21e4f) [0x7fd6bd0fce4f] Wed Oct 25 10:23:53 2017: [crit ] [17398] #2. /usr/lib/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1c1) [0x7fd6bd0fd1c1] Wed Oct 25 10:23:53 2017: [crit ] [17398] #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7fd6b9c96890] Wed Oct 25 10:23:53 2017: [crit ] [17398] #4. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt8__detail15_List_node_base7_M_hookEPS0_+0xf) [0x7fd6b8e424bf] Wed Oct 25 10:23:53 2017: [crit ] [17398] #5. /usr/lib/libkcinetmapi.so.0(+0x728d0) [0x7fd6bd85c8d0] Wed Oct 25 10:23:53 2017: [crit ] [17398] #6. /usr/lib/libkcinetmapi.so.0(+0x58d56) [0x7fd6bd842d56] Wed Oct 25 10:23:53 2017: [crit ] [17398] #7. /usr/lib/libkcinetmapi.so.0(+0x576ef) [0x7fd6bd8416ef] Wed Oct 25 10:23:53 2017: [crit ] [17398] #8. /usr/lib/libkcinetmapi.so.0(+0x5862a) [0x7fd6bd84262a] Wed Oct 25 10:23:53 2017: [crit ] [17398] #9. /usr/lib/libkcinetmapi.so.0(+0x5a05b) [0x7fd6bd84405b] Wed Oct 25 10:23:53 2017: [crit ] [17398] #10. /usr/lib/libkcinetmapi.so.0(+0x5b334) [0x7fd6bd845334] Wed Oct 25 10:23:53 2017: [crit ] [17398] #11. /usr/lib/libkcinetmapi.so.0(_ZN2KC8IMToMAPIEP12IMAPISessionP9IMsgStoreP9IAddrBookP8IMessageRKSsNS_16delivery_optionsE+0x12e) [0x7fd6bd848f7e] Wed Oct 25 10:23:53 2017: [crit ] [17398] #12. /usr/sbin/kopano-dagent() [0x4102ce] Wed Oct 25 10:23:53 2017: [crit ] [17398] #13. /usr/sbin/kopano-dagent() [0x415329] Wed Oct 25 10:23:53 2017: [crit ] [17398] #14. /usr/sbin/kopano-dagent() [0x416a31] Wed Oct 25 10:23:53 2017: [crit ] [17398] #15. /usr/sbin/kopano-dagent() [0x4176a7] Wed Oct 25 10:23:53 2017: [crit ] [17398] #16. /usr/sbin/kopano-dagent() [0x41a12a] Wed Oct 25 10:23:53 2017: [crit ] [17398] #17. /usr/lib/libkcutil.so.0(_ZN2KC18unix_fork_functionEPFPvS0_ES0_iPi+0x6d) [0x7fd6bd1019ad] Wed Oct 25 10:23:53 2017: [crit ] [17398] #18. /usr/sbin/kopano-dagent() [0x40bab7] Wed Oct 25 10:23:53 2017: [crit ] [17398] #19. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd6b8532b45] Wed Oct 25 10:23:53 2017: [crit ] [17398] #20. /usr/sbin/kopano-dagent() [0x40ccff] Wed Oct 25 10:23:53 2017: [crit ] [17398] Signal errno: Success, signal code: 1 Wed Oct 25 10:23:53 2017: [crit ] [17398] Sender pid: -1532713817, sender uid: 0, si_status: 0 Wed Oct 25 10:23:53 2017: [crit ] [17398] User time: 0, system time: 0, signal value: 0 Wed Oct 25 10:23:53 2017: [crit ] [17398] Faulting address: 0xa4a4a4a7, affected fd: 0 Wed Oct 25 10:23:53 2017: [crit ] [17398] When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
I looked at the Kopano Gateway log, but there was no log during that time when I tried to send the email.
Thanks again
-
@compsos-shiena said in Dagent and Gateway Crashed after receiving email from Outlook using RTF:
it can be viewed here
Ah, that already looks a lot more like an rtf body part. I’ll see if I can have someone test this in the next few days.
@compsos-shiena said in Dagent and Gateway Crashed after receiving email from Outlook using RTF:
I looked at the Kopano Gateway log, but there was no log during that time when I tried to send the email.
Yes, I should have pointed that out earlier. the dagent and the gateway are not directly connected. the dagent is used to deliver mails from the mta to kopano-server, while the gateway is utilised if you open stores via pop3/imap.
-
I tested this again, but no error messages came up in the agent.log file. Just one warning message (which can be ignored):
Mon Oct 30 10:26:54 2017: [26413] [warning] TNEF attachment saving failed: 0x80004002
I tested this with 8.4.90
-
Hello lherrmann and fbartels,
Do you think it’s the libraries we have installed like libkcutil, libpthread, libstdc++, libkcinetmapi causing our issue?
I attached the result of dpkg-query from our server https://www.dropbox.com/s/3kda0edsmibdsn0/dpkg-query.txt?dl=0
Thanks -
Hi @compsos-shiena ,
you are running quite an old version of Kopano Core. You could try if upgrading solves the issue for you.
-
Hi Felix,
The boss is currently away so I’m not doing an update as yet, I will let you know once I’ve done the update and hopefully if it fixed that issue.
Thank you all for your help.