Imap problem

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tdelov
Posts: 14
Joined: Tue Dec 12, 2006 5:32 pm

Imap problem

Postby tdelov » Wed Jul 18, 2007 12:56 am

I seem to have a problem when I try to access my scalix mail via IMAP.
The IMAP client can retrieve the subject headings but not the email message.

This seems to happen with all clients that try to get the mail.

Any ideas?

These are the errors:

Code: Select all

SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:11:34
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:12:40
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5462
Procedure trace follows:
  <- msl_readContainerOpenedParent
  -> msl_outputBodyStructure
  <- msl_outputBodyStructure
  <- imapMimeGetStructure
  -> imapparse_structure
  -> parseEnvelopeStructure
  <- parseEnvelopeStructure
  -> imapinit_body
  <- imapinit_body
  -> parseBodyStructure
  <- parseBodyStructure
  <- imapparse_structure
  <- getStructure
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:12:40
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:12:56
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5469
Procedure trace follows:
  <- msl_readContainerOpenedParent
  -> msl_outputBodyStructure
  <- msl_outputBodyStructure
  <- imapMimeGetStructure
  -> imapparse_structure
  -> parseEnvelopeStructure
  <- parseEnvelopeStructure
  -> imapinit_body
  <- imapinit_body
  -> parseBodyStructure
  <- parseBodyStructure
  <- imapparse_structure
  <- getStructure
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:12:56
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:16:32
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5478
Procedure trace follows:
  <- msl_readContainerOpenedParent
  -> msl_outputBodyStructure
  <- msl_outputBodyStructure
  <- imapMimeGetStructure
  -> imapparse_structure
  -> parseEnvelopeStructure
  <- parseEnvelopeStructure
  -> imapinit_body
  <- imapinit_body
  -> parseBodyStructure
  <- parseBodyStructure
  <- imapparse_structure
  <- getStructure
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:16:32
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:02
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5570
Procedure trace follows:
  <- imaplex_nextRequest
  -> checkCoreNotifications
  <- checkCoreNotifications
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> imapFetch
  -> prepareFetch
  <- prepareFetch
  -> imapMimeUpdateCRecNums
  -> ct_ReadNextContentRec
  <- ct_ReadNextContentRec
  <- imapMimeUpdateCRecNums
  -> getMessageInfo
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:02
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:22
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5800
Procedure trace follows:
  <- imaplex_nextRequest
  -> checkCoreNotifications
  <- checkCoreNotifications
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> imapFetch
  -> prepareFetch
  <- prepareFetch
  -> imapMimeUpdateCRecNums
  -> ct_ReadNextContentRec
  <- ct_ReadNextContentRec
  <- imapMimeUpdateCRecNums
  -> getMessageInfo
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:22
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:52
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5923
Procedure trace follows:
  <- imaplex_nextRequest
  -> checkCoreNotifications
  <- checkCoreNotifications
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> imapFetch
  -> prepareFetch
  <- prepareFetch
  -> imapMimeUpdateCRecNums
  -> ct_ReadNextContentRec
  <- ct_ReadNextContentRec
  <- imapMimeUpdateCRecNums
  -> getMessageInfo
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:18:52
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:19:38
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5926
Procedure trace follows:
  <- imaplex_nextRequest
  -> checkCoreNotifications
  <- checkCoreNotifications
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> imapFetch
  -> prepareFetch
  <- prepareFetch
  -> imapMimeUpdateCRecNums
  -> ct_ReadNextContentRec
  <- ct_ReadNextContentRec
  <- imapMimeUpdateCRecNums
  -> getMessageInfo
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 14:19:38
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xaa8ee6]
/opt/scalix/lib/libom_er.so[0xaa91e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xaa938f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ebb3]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb4be23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


ERROR                          Omscan Server (Omscan Tool   ) 07.18.07 14:32:30
[OM 2401] The file name provided is invalid.
Current errno value: 2
        <- cvc_CnvStringTryIconv
        <- cvc_enhCnvString
        -> ul_OpenUL
        -> dr_ACISetDefaultContext
        -> dr_ACIModContextFlags
        <- dr_ACIModContextFlags
        <- dr_ACISetDefaultContext
        <- ul_OpenUL
        -> ul_IsAdmin
        <- ul_IsAdmin
        -> ul_CloseUL
        <- ul_CloseUL
        -> scn_ParseArgs
        -> im_FName2ItemRef
        <- /build/scalix-MAIN/src/lib/ombase/im/im_funcs.c:932[3,2401]


ERROR                          Omscan Server (Omscan Tool   ) 07.18.07 14:40:39
[OM 2401] The file name provided is invalid.
Current errno value: 2
        <- cvc_CnvStringTryIconv
        <- cvc_enhCnvString
        -> ul_OpenUL
        -> dr_ACISetDefaultContext
        -> dr_ACIModContextFlags
        <- dr_ACIModContextFlags
        <- dr_ACISetDefaultContext
        <- ul_OpenUL
        -> ul_IsAdmin
        <- ul_IsAdmin
        -> ul_CloseUL
        <- ul_CloseUL
        -> scn_ParseArgs
        -> im_FName2ItemRef
        <- /build/scalix-MAIN/src/lib/ombase/im/im_funcs.c:934[3,2401]

tdelov
Posts: 14
Joined: Tue Dec 12, 2006 5:32 pm

Postby tdelov » Wed Jul 18, 2007 3:01 am

I might add, that when I check the mail with outlook using the outlook connector it works fine?

tdelov
Posts: 14
Joined: Tue Dec 12, 2006 5:32 pm

still not luck with IMAP or webmail client. Help needed

Postby tdelov » Wed Jul 18, 2007 9:03 am

I just rebooted the server and unfortunately still have the same problem.
It seems that all users that are using the web client or IMAP are affected by this problem. Strangely enough, the outlook users are OK. When I use Outlook (and the outlook connector) it appears OK, this is even with the accounts that fail with IMAP behave OK with Outlook.

I'm becoming desperate for ideas here.
Has anyone got any suggestions?

Here are the logs after I rebooted the whole server and tried to check the emails via the web client.

The email messages subjects appear ok in the client, but 'none' of the email messages contents can be displayed.

Code: Select all

SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 22:51:34
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 4749
Procedure trace follows:
  <- imapFetch
  -> checkCoreNotifications
  <- checkCoreNotifications
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> imapFetch
  -> prepareFetch
  <- prepareFetch
  -> imapMimeUpdateCRecNums
  -> ct_ReadNextContentRec
  <- ct_ReadNextContentRec
  <- imapMimeUpdateCRecNums
  -> getMessageInfo
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 22:51:34
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x117ee6]
/opt/scalix/lib/libom_er.so[0x1181e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x11838f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ea51]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xcc8e23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 22:51:59
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 4752
Procedure trace follows:
  -> getNextId
  <- getNextId
  -> imapGetCoreResponse
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  -> processUntagged
  -> cacheMessageInfo
  <- cacheMessageInfo
  <- processUntagged
  -> imaplex_nextRequest
  <- imaplex_nextRequest
  <- imapGetCoreResponse
  <- imapSatDummyRead
  <- getMessageInfo
  -> sendMessageInfo
  -> imapMimeBrowseMessagePath
User Name: Tony Surname / scalix11/CN=Tony Surname


SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 07.18.07 22:51:59
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x117ee6]
/opt/scalix/lib/libom_er.so[0x1181e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x11838f]
/lib/tls/libpthread.so.0[0xb30888]
in.imap41d[0x805ea51]
in.imap41d[0x805f421]
in.imap41d[0x8063af9]
in.imap41d[0x806502b]
in.imap41d[0x80659f4]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xcc8e23]
in.imap41d[0x804e131]
User Name: Tony Surname / scalix11/CN=Tony Surname

Richard Hall
Scalix
Scalix
Posts: 147
Joined: Fri May 20, 2005 5:37 am

Postby Richard Hall » Thu Jul 19, 2007 4:25 am

Hi tdelov

It looks as though there is something about your mailbox that is causing the IMAP server to crash.

What version of Scalix are you running?
If you are running Scalix 11 then one thing that you can try is to remove the cache that the IMAP server uses and let it rebuild it. The way to do this is described in various other threads, for example: viewtopic.php?t=7164

If removing the IMAP cache does not fix the problem then PM me and we can talk about isolatiing the problem message for further investigation.

Cheers - Richard

tdelov
Posts: 14
Joined: Tue Dec 12, 2006 5:32 pm

Postby tdelov » Thu Jul 19, 2007 9:23 am

I just tired the as suggested on that link. I even went a step further and removed "all" the imap-cache files from "all" the users. Still no luck.

I ran a omscan utility and it suggested that there were a lot of errors related to ownership of files. Should I make the suggested changes?
The ownership of the newly created imap-cache files all reverted back to numeric user id?
The imap-cache folders all have numeric id's too.

Code: Select all

/var/opt/scalix/s1/s/user/g00003m/imap-cache/00067ec37cf84e9b
# Filename: /var/opt/scalix/s1/s/user/g00003m/imap-cache/000654e2192b2381 ( Scalix OM-USERGFILES )
# Uid is 60545 (UNKNOWN) should be 101 (scalix)
chown scalix /var/opt/scalix/s1/s/user/g00003m/imap-cache/000654e2192b2381
# Filename: /var/opt/scalix/s1/s/user/g00003m/imap-cache/000674605838ebd7 ( Scalix OM-USERGFILES )
# Uid is 60545 (UNKNOWN) should be 101 (scalix)
chown scalix /var/opt/scalix/s1/s/user/g00003m/imap-cache/000674605838ebd7
# Filename: /var/opt/scalix/s1/s/user/g00003m/00000v8.ofs/0000006.ofa.UTF8 ( Scalix OM-USERGFILES )
# Uid is 60545 (UNKNOWN) should be 101 (scalix)
chown scalix /var/opt/scalix/s1/s/user/g00003m/00000v8.ofs/0000006.ofa.UTF8



I get a lot of these mime errors too:

Code: Select all

ERROR                          Browser       (Service 14    ) 07.19.07 23:07:57
[OM.MIME 4000] Browser Args :index.browse -c -o /var/opt/scalix/s1/s/temp/mime_cache/mime5eUGgh 00058e7557aa0e1a


ERROR                          Browser       (Service 14    ) 07.19.07 23:07:57
[OM.MIME 4000] Browser Args :index.browse -c -o /var/opt/scalix/s1/s/temp/mime_cache/mimeesO07w 00058e6ca3603295





This is the installed scalix packages:

scalix-tomcat-connector-11.0.0.130-1.rhel4
scalix-platform-11.0.0.653-1
scalix-sis-11.0.0.653-1
scalix-tomcat-5.5.16-140
scalix-postgres-11.0.0.653-1
scalix-res-11.0.0.653-1
scalix-sac-11.0.0.653-1
scalix-mobile-11.0.0.653-1
scalix-server-11.0.0.431-1.rhel4
scalix-swa-11.0.0.653-1

Richard Hall
Scalix
Scalix
Posts: 147
Joined: Fri May 20, 2005 5:37 am

Postby Richard Hall » Thu Jul 19, 2007 9:58 am

The ownership is OK, and the ERRORs in the log are not related to your IMAP problem.
I've PM'ed you about getting hold of the message that is giving you problems so that I can take a lool at it,
Richard

tdelov
Posts: 14
Joined: Tue Dec 12, 2006 5:32 pm

Postby tdelov » Thu Jul 19, 2007 10:10 pm

I have not used omcontain before.
I'm not sure how to get it to show anything.
If I just run it normally I get the start up message but not much else.

Code: Select all

WARNING: This is a diagnostic tool for use by Scalix trained personnel.
   Improper use can cause serious damage.
   If you do not wish to continue, hit return now.



btw. I ran omscan and have this error.
Only its on an account that I dont really want to mess with unless I really have to.

Bad extensions ....

Code: Select all

Owner Info : Yvonne Sher / scalix11/CN=Yvonne Sher
Parent Container : ~/data/0000064/000s03g:1, RecNum : 37
Child Affected : ~/data/000006j/000ucj7:1
Child Subject : Project Hours Week Ending 12/1/07



more info:
This is error page the the Scalix Webmail client gives:

Code: Select all

ERROR:
Scalix Web Access could not correctly parse this message because it is not a valid MIME e-mail message.
Contact the sender and have them fix their mail application (which is sending out the invalid MIME message.)
Mime Error:
null


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron