Skip navigation

MISSING IMAP MAIL

800 Views 5 Replies Latest reply: Nov 16, 2013 9:02 AM by UptimeJeff RSS
Brian Guam Engineer Level 1 Level 1 (25 points)
Currently Being Moderated
Nov 15, 2013 6:53 AM

We run a Snow Leopard IMAP mail server for seven users.

 

We're noticing that mail is coming in and can be read/seen on an iPad or iPhone, but never shows up in our desktop Mail (all running Mavericks).  It's just not anywhere on the desktop computers.

 

Where has it gone?

Mac mini, Mac OS X (10.6.8)
  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Nov 15, 2013 7:07 PM (in response to Brian Guam Engineer)

    check and see what exists on the server..

    webmail is convenient for that task.

    you could also explore the maildir directly.

     

    Once you know if the missing mail is (or is not) on the server, you'll have an idea where to go with this.

     

    -----

     

    Also - on the long shot that you have VERY large mailboxes, with > 10,000 messages in the inbox... I've worked on several servers over the last few weeks where the quantity of messages (not overall size in MB) has caused indexing to timeout... in this case, you could have inconsistencies like you describe.

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Nov 16, 2013 8:16 AM (in response to Brian Guam Engineer)

    Some of these questions may be really basic.. but I need a better picture of the environment and the issue.

     

    All clients are imap (corrrect) ?

     

    You are saying that ALL new mail for ALL users only appears in the inbox of iOS devices and you don't see it in the webmail inbox at all? This happens consistently? If I sent a message to you now, you would never see it in webmail?

     

    Assuming above is all true, and we are troubleshooting ALL mail for ALL users.

    What if you quit Mavericks mail, then I sent you mail.

    Would you see it on iOS and not in webmail?

     

    If thats true, we can take Mavericks out of the picture.

     

    What else has changed?

    When did this start?

     

     

     

     

    The IMAP server can log who moves/purges mail and with those entries, you can track it down to an IP or device type. Its tedious, but sometimes required. To have this level of logging, you need to enable the mail_log.

     

    If you want to head down this path:

     

    For 10.6 server, edit

    /etc/dovecot/dovecot.conf

    Look for this section

      # Support for dynamically loadable plugins. mail_plugins is a space separated

      # list of plugins to load.

      mail_plugins = quota imap_quota mail_log

    Add mail_log per above

     

    And look for this

    #mail_log_max_lines_per_sec = 10

    Uncomment and change it to

    mail_log_max_lines_per_sec = 0

     

    Stop/start mail service

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Nov 16, 2013 9:02 AM (in response to Brian Guam Engineer)

    Editing the mail config files has to be done carefully and the information it adds to the logs helps but it still takes alot of sluething to track down an issue like this.

    To edit the imap config

         sudo pico /etc/dovecot/dovecot.conf

    edit carefully and track your changes.

    if anything unexpected occurs, you will have to revert changes.

     

    Regarding the mail appear in your ipad.. I bet its cached.

    To test, remove the account and re-add it on the ipad.

    If the mail is gone, then the only reason you saw it on the ipad is because of local ios mail cache... it doesn't update as often as the Mac OS Mail app does.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.