Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-18-2010, 04:29 PM
Junior Member
 
Posts: 5
Default [SOLVED] Lost messages: How to debug to find the cause of the problem?

Hi:

I'm the administrator of a ZCS OSE 6.0.x integrated with MailScanner running on RHEL 5.4 x86_64. The system is working fine but several users are reporting that some sent messages never arrive to the inbox of the destination user.

According to that I asked for info of those messages like:

- Sender address
- Destination address
- Date and time

With this informationn I proceed to look at /var/log/maillog and I find that messages that was successfully delivered according to postfix logs like:

relay=mail.domain.com[172.27.2.2]:7025, delay=3.9, delays=3.5/0/0/0.43, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)

This messages just tells me that Postfix (Zimbra's MTA) delivered correctly the message to the Zimbra's POP3/IMAP server (vía LMTP?), right?
So I asume that this message wasn't deleted/retained/quarantined/etc... by MailScanner nor Postfix.

Then I try to look for the messages at the mailbox folder of the user (at /opt/zimbra/store/...) but I don't find the message because the user already downloaded and deleted it vía their MUA (MS Outlook) using POP3.

That's all I can do to "probe" that messages aren't lost. But users still keep claming that some messages get lost (occurs randomly).

I suggested to the local administrator of this company that verify things such as:

- Junk folder of the MUA (MS Outlook)
- Custom rules/filters of the MUA (MS Outlook)
- Antivirus quarantine & report
- Even suggested to stop using the MUA and just use Zimbra Web (no success, users can't stop using their favorite crap called Outlook)

So now I'm not sure who's responsible of this lost messages. Is it Zimbra? Is it the MUA? Is it the network causing errors on communication between client and server?

I would like to know if there's a way to turn on a debugging mode of Zimbra of the POP3 server, so I can know what messages got downloaded by whom.
It would be great if I can have a log of every message stored at POP3 server of Zimbra and when was downloaded via POP3.

I hope someone can help me with some ideas.

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-18-2010, 11:40 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by angelrengifo View Post
I suggested to the local administrator of this company that verify things such as:

- Junk folder of the MUA (MS Outlook)
- Custom rules/filters of the MUA (MS Outlook)
- Antivirus quarantine & report
- Even suggested to stop using the MUA and just use Zimbra Web (no success, users can't stop using their favorite crap called Outlook)
You should also check that there are no rules set in the Zimbra Web UI for these users. You could also stop them from using POP3 and get them to use IMAP (or even Zimbra Desktop). I'd take this as an opportunity to force a change of habits on the users.

Quote:
Originally Posted by angelrengifo View Post
I would like to know if there's a way to turn on a debugging mode of Zimbra of the POP3 server, so I can know what messages got downloaded by whom.
It would be great if I can have a log of every message stored at POP3 server of Zimbra and when was downloaded via POP3.
Have a read of these articles:

Ajcody-Logging - Zimbra :: Wiki
Using log4j to Configure mailboxd Logging - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-03-2010, 07:06 AM
Junior Member
 
Posts: 5
Default

Thanks, your suggestions helped me to find the cause of the problem trough /opt/zimbra/log/mailbox.log messages.

Finally, there were a lot of messages that Zimbra just deleted because of duplicated Message-ID values.
So I decided to change disable this feature by setting:

$ zmprov mcf zimbraMessageIdDedupeCacheSize 0

Now there aren't any lost messages, even if in some cases some messages arrive with duplicated Message-ID.

Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.