Problems with read/unread mail on IMAP server

[ Edited by Apple Discussions Moderator; Please start a new topic about your technical issue. ]
I'm having the strangest problem and I've yet to find a pattern or explanation for it. I retrieve all my mail from an IMAP server and store cached copies on my Mac. Sometimes after I've read a message, and Mail.app marks it as such, it will re-flag itself as unread after a number of minutes. Sometimes it's immediately, other times it's after several hours. It doesn't happen on all messages, just some, and seems to happen in at random in any of my IMAP folders. It's incredibly annoying. Has anyone else had this happen or do you know how to fix it? It doesn't seem to happen with other MUAs, just Mail.app. Thank you!

I brought this up with Apple and Mirapoint (the providers of our mail server infrastructure) a year and a half ago when I was running 10.3.4. The discussions ended up to a difference of opinion between the two companies concerning the IMAP spec. This has always been a issue with Mail.app ever since I can remember from back in the 10.0 days up until at least 10.4.4.
I will post the tail end of the discussion with the names removed to protect the innocent. I will admit that alot of this stuff is over my head. I also don't know how this applies to other mail servers. I don't think any other IMAP clients that I know of exhibit this read/unread state issue.
FROM APPLE:
Thanks for your patience on this escalation. A Mail.app engineer has reviewed the logs you sent in and determined that the Mirapoint server is returning the wrong response.
Specifically, in return to SELECT their server is returning:
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk Junk Forwarded JunkRecorded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk Junk Forwarded JunkRecorded \*)]
* 11 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1057775569]
3 OK [READ-WRITE] Completed
They are using the PERMANENTFLAGS response for session-based IMAP flags, which unfortunately does not abide by the IMAP spec. The engineer has agreed that Mail.app could likely do a better job handling session-based flags but concurrently Mirapoint needs to rev their software to return the appropriate response as per the IMAP spec.
MIRAPOINT'S RESPONSE:
I went through the spec (RFC 2060) and found the following...
IMAP server can allow a client to create permanent flags that can be stored:
Under Section 2.3.2. Flags Message Attribute
A keyword is defined by the server implementation. Keywords do not begin with "\". Servers MAY permit the client to define new keywords in the mailbox (see the description of the PERMANENTFLAGS response code for more information).
Also,
Under Section 6.3.1. SELECT Command
If the client can not change the permanent state of one or more of the flags listed in the FLAGS untagged response, the server SHOULD send a PERMANENTFLAGS response code in an OK untagged response, listing the flags that the client can change permanently.
Also,
Under Section 7.1 Server Responses - Status Responses....
PERMANENTFLAGS Followed by a parenthesized list of flags, indicates which of the known flags that the client can change permanently. Any flags that are in the FLAGS untagged response, but not the PERMANENTFLAGS list, can not be set permanently. If the client attempts to STORE a flag that is not in the PERMANENTFLAGS list, the server will either reject it with a NO reply or store the state for the remainder of the current session only. The PERMANENTFLAGS list can also include the special flag \*, which indicates that it is possible to create new keywords by attempting to store those flags in the mailbox.
Now, referring to the earlier IMAP session (over telnet ) that I had you do:
. select inbox
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk Junk JunkRecorded Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen NotJunk Junk JunkRecorded Forwarded \*)]
* 12 EXISTS
* 2 RECENT
* OK [UNSEEN 11]
* OK [UIDVALIDITY 1056569562]
. OK [READ-WRITE] Completed
. fetch 1:* flags
* 1 FETCH (FLAGS (\Seen))
* 2 FETCH (FLAGS (\Seen NotJunk))
* 3 FETCH (FLAGS (\Answered \Seen NotJunk))
* 4 FETCH (FLAGS (\Answered \Seen Forwarded))
* 5 FETCH (FLAGS (\Seen))
* 6 FETCH (FLAGS (\Seen))
* 7 FETCH (FLAGS (\Seen))
* 8 FETCH (FLAGS (\Seen))
* 9 FETCH (FLAGS (\Seen))
* 10 FETCH (FLAGS (\Seen))
* 11 FETCH (FLAGS (\Recent))
* 12 FETCH (FLAGS (\Recent))
. OK Completed
As you can see above, "NotJunk", "Forwarded" are the PERMANENTFLAGS defined and stored by Mail.App client, not the session specific flags. According to the snippets that quoted above from the IMAP specs, I think Mirapoint is correct in its PERMANENTFLAGS response.

Similar Messages

  • Problem with Gmail "unread mail" in OSX mavericks

    Since updating to OSX Mavericks (and I installed all available upgrades/patches as they came out) I have had a problem with getting my Gmail to sync across various devices. I have a macbook air as well as the iMac, ipad and iphone. The problem is that with the two computers, emails received to my gmail account will appear "unread" even if I have previously accessed them on a different computer or device. It is as if Apple Mail is no longer able to differentiate from the Gmail server which emails I have opened and which I have not yet read, and I come home to an inbox full of dozens of messages I have already read and deleted that are sitting in my inbox again so I have to double-delete them. I cannot figure out which setting I need to change in order to correct this - I have never had a problem with this before upgrading the operating system and do not have "leave an unread copy on the server" or some similar setting activated in gmail, to my knowledge. The recenly released mail fix did not help.
    thanks in advance for your advice.

    Entering this ongoing discussion might help:
    https://discussions.apple.com/message/23911727#23911727

  • Problems sending mail: some problem with the outgoing mail server SMTP?

    I can't send e mails: some problem with the outgoing mail server SMTP?

    I had this same problem with both my imac and mac book pro using hotmail via mac mail with bt as my internet provider. Suddenly 4 months ago out of nowhere i could receive emails but could not send them. I scoured all the threads followed all the fixes none of them worked. However I just phoned apple support and fixed it in a matter of minutes. I am SO happy. This is what the technician advised me:
    Go to your apple icon and scroll down to system preferences. Then dependant on what machine you have it is different for my imac and mac book pro click on either air port/wifi then the advanced tab in the bottom right hand corner. Then click on the DNS tab. Hit the + sign on the left hand side and type in 8.8.8.8 then hit the + sign again on the left hand side it will create a new line underneathe and type 8.8.4.4 then hit okay on the bottom right and then hit apply, again on the bottom right. Then send a test email to check but it should be fixed.
    Had to share this. Its been driving me mad for months.

  • Problems with Windows Live Mail send/recieve after upgrading Firefox

    I recently upgraded Firefox and since then I get this:
    An unknown error has occurred.
    Server: 'smtp.frontier.com'
    Windows Live Mail Error ID: 0x80070057
    Protocol: SMTP
    Port: 25
    Secure(SSL): No

    have you tried using imap instead?
    if you can access your email from the web page then sounds more like a problem with windows live mail and not your BT account
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Problems with AOL e-mail and Droid Charge

    Problems with AOL e-mail and Droid Charge
    After setting up my AOL email account on my Charge, it has been syncing new messages ok, but I've been having other problems:
    - Syncing AOL mail: I have the Charge set to sync 50 emails (set up the same way as my Comcast Account) but the AOL account pulls up the last 50 old emails and delivers them to the phone. (Comcast does not do this). If I delete these old messages, it just pulls up the same amount of even older mail. Very frustrating. Because of the 2nd problem below, some of these messages were actually deleted on my AOL account before I realized what was happening. It seems I have to just keep 50 old mails on my Charge to prevent this from happening. Any ideas?
    - Second problem (kinda related) Deleting Old Mail: When I delete AOL emails I have read on the Charge, they are also deleted from my 'old mail' folder on AOL and sent to deleted mail. This is not how it worked on my BB Storm2. After deleting them with the Storm, the AOL mail would show them as read and put them in 'old mail' unless I told the Storm to delete them from the server. I cannot find any "choice" option on the Charge. I hate this because the "deleted mail" folder on AOL dumps its contents much more quickly than the "old mail" folder. How do I stop this from happening?
    FYI, both Comcast and g-mail are working as they should.....
    Thanks,

    Dear Richs10,
    As to the second problem, I have seen this before in other threads. The only solution I can come up with is to delete the AOL account and set it up on the phone from scratch. The reason for this is that the ONLY time you are able to see the option for leaving email on the server (or removing them) after reading on the phone is during the account setup process. After the account is set up, there seems to be no way to access this setting again. Kind of dumb, IMHO, but that seems to be the case.
    If you need step-by-step walkthrough of the account setup, PM me.

  • Iphone 3GS - windows 7 - syncing problems with windows live mail

    I brought a new iphone 3gs last week and tried to sync it with my new dell PC running windows 7 (with windows live mail).
    It wouldnt sync, so I read the forums and reset the sync history through itunes.
    This worked, and synced my iphone to the computer. It appears to have backed up all my contacts on the iphone to somewhere on the PC (cant find where) but it hasnt copied the contacts from windows live mail to the iphone
    Have I confused anyone??

    have you tried using imap instead?
    if you can access your email from the web page then sounds more like a problem with windows live mail and not your BT account
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Mcafee site advisor add on caused problems with my yahoo mail..ahd to disable,but need the mcafee for security..what to do?

    all of a sudden i had problems with my yahoo mail..messages and such would not load..tried everything..clearing cache,restart comp etc...nothing..then someone suggested i disable add ons..could only think of McAfee site adviser as the culprit..as soon as i changed that add on to "ask to activate" it seemed to get rid of the problem and i was able to see my messages..but i want the site adviser so how do i fix this problem??

    I haven't heard about this conflict before. If your McAfee software is as up-to-date as possible, you might check their forums to see whether it is a known issue.
    Meanwhile, since you mentioned Yahoo! mail... As you know, Yahoo has made lots of changes in its mail, including changing servers. While old bookmarks and home page addresses should be redirected to the correct server, this is not happening consistently.
    To make sure you are using the latest server for your account, try accessing your mail through one of these pages:
    * Yahoo home page: https://www.yahoo.com/
    * My Yahoo page: https://my.yahoo.com/
    * General mail redirect: https://mail.yahoo.com/

  • Problem with pdf display downloaded from application server

    Hi all,
    I have a problem with displaying pdf downloaded from application server (saved in BINARY MODE).
    I am getting the pdf output of adobe form in FPFORMOUTPUT-PDF as rawstring back to my program and then converting that rawstring into binary form using the function module SCMS_BINARY_TO_STRING.
    Now, when I export the data to presentation server directly using cl_gui_frontend_services=>gui_download, the pdf is downloaded properly.
    However, when I save the data to application server file by looping at the internal table obtained from SCMS_XSTRING_TO_BINARY and using TRANSFER, and subsequently downloading the file in "unconverted format" from AL11 to my desktop, I am getting a "blank" pdf file (with the same number of pages as the one downloaded using gui_download).
    I have tried different encodings during download but in those cases i get corrupted pdf message. only the default option of INTIAL value seems to work.
    I am forced to believe that there is a problem in my code which saves the data to app server but I cant find any solution that is logical. Any solution to this would be greatly appreciated.
    Regards,
    Sasi
    Edited by: Sasi Upadrasta on Sep 29, 2010 7:55 PM

    used a program to read the file from appl server and then downloading it to desktop.

  • List of Problems with new Web Mail

    List of Problems with NEW Web Mail :
    - At first doesn't open full page message list or retain full page as default setting, have to drag down bar
    - Only shows 20 message lines after “pulling down” the divider, screen partially empty until I scroll down.  It should show at least 26, preferably all available
    - After moving bar, bar moves back up after going back to inbox (not delete message) after reading a message, have to move it down again, and again...
    - Doesn't go to next message when delete message on screen is selected, no setting option for default to do this.
    - There is a drop down to select which folder to move a selected email to.  The initial display shows 7 usable choices, with the usual slider and arrow to show more choices.  The space on the slider clearly shows more choices are present (actually about 20 or so are there), but any attempt to use the slider or arrow to see more choices causes the drop-down to instantly disappear.  I can't move the selected field with arrow keys either.  I can select any of the visible 7 choices, and move an email to only one of the 7.  NOTE: This one works in both IE and Firefox, but if Verizon Webmail was fully web standard (see http://en.wikipedia.org/wiki/Web_standards) compliant it would also work in my preferred browser, Mozilla Seamonkey, the direct descendant of the original Mozilla browser.  Webmail should be FULLY web standard.
    - Occasionally a message will move from inbox to trash, without NO indication or command to move them.
    - Emails occasionally flash an error message and simply disappear - not to trash or other findable place, just disappear.  No time to read the error message either.
    - No way to set a whitelist for supposed spam emails, unless the whitelist for “Blocking” is the same.  Very unclear.
    - How can I switch my service back to the original, basic, email which works ok?  I know it’s still there, since some of my other accounts still access it!!!
    This seems my only way of getting this info direclty to the programming staff.  If it doesn't actually do this, will SOMEONE PLEASE FORWARD THIS MESSAGE TO THEM !?!  
    Thanks!

    vz_ric wrote:
    The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
    Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code.

  • Problem  while reading XML file from Aplication server(Al11)

    Hi Experts
    I am facing a problem while  reading XML file from Aplication server  using open data set.
    OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.
    IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      READ DATASET v_dsn INTO v_rec.
    WHILE sy-subrc <> 0.
      ENDWHILE.
      CLOSE DATASET v_dsn.
    The XML file contains the details from an IDOC number  ,  the expected output  is XML file giving  all the segments details in a single page and send the user in lotus note as an attachment, But in the  present  output  after opening the attachment  i am getting a single XML file  which contains most of the segments ,but in the bottom part it is giving  the below error .
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    for all the xml  its giving the error in bottom part ,  but once we open the source code and  if we saved  in system without changing anything the file giving the xml file without any error in that .
    could any one can help to solve this issue .

    Hi Oliver
    Thanx for your reply.
    see the latest output
    - <E1EDT13 SEGMENT="1">
      <QUALF>003</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    - <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20110803</NTANF>
      <NTANZ>080000</NTANZ>
      <NTEND>20110803<The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/~1922011.xml'.
    /SPAN></NTEND>
      <NTENZ>000000</NTENZ>
    E1EDT13 with QUALF>003 and  <E1EDT13 SEGMENT="1">
    with   <QUALF>001 having almost same segment data . but  E1EDT13 with QUALF>003  is populating all segment data
    properly ,but E1EDT13 with QUALF>001  is giving in between.

  • I have a problem with my e mail.  It appears stuck.  I cannot do anything with it.  Any suggestions

    I am having a problem with my e mail.  It appears stuck.  Every other app works but my mail?  Can anyone help

    Tap your home button to get to your home page.  Then double tap your home button to open the Task Bar (most recently used apps).  Hold your finger on your mail app until all the apps on the task bar jiggle.  You'll see an on the uppre left side.  Touch the to fully close your mail app (closing all recently used apps on a regular basis is actually a good idea).  Tap your home button to close the task bar.
    Now, reboot your iPad.  Press and hold BOTH the power and home buttons at ths SAME time for at least 10 seconds (ignore the red slider to shut down) until the Apple Logo appears, then let go of both buttons and your iPad will come back up. 
    Once it comes back up, you should be good to go.
    ETA:  Looks like my friend Demo and I are in full agreement on the solution.

  • Problem with send e-mail

    Hello,
    I have a problem with send e-mail.
    When I create a new message, the e-mail is send for customer and me, but the description of message dont send with e-mail.
    I have created a Smartform that send this e-mail and your context there is information for send this information.
    When I do a modification in this message, when i put a new description, a description preview is send, but a new description dont send.
    Can anyboby help me.
    Thanks a lot.

    Hi,
    I already have created a development, but this found the description preview and not actual in run time.
    Development:
    read table gt_notif_type_text into gs_notif_type_text
    with  key type_text = gs_notif_text-type_text.
    if sy-subrc <> 0.
    clear gs_notif_type_text.
    endif.
    read table gt_notif_type_textt into gs_notif_type_textt
    with  key type_text = gs_notif_text-type_text.
    if sy-subrc <> 0.
    clear gs_notif_type_textt.
    endif.
    In the Smartform on acording abouve:
    &gs_notif_type_textt-stxt()& &gs_notif_text-last_usr()& &gv_notif_textdate& &gv_notif_texttime&
    Thanks.

  • Problem with my Yahoo mail

    Hello, I have recently both linksys wireless router model number WRT54GC. Ever since I have put it I am having problems with my yahoo mail. I can enter the inbox, read the text of the message but I can not reply, forward, compose or download the attachment. When I take out the router everything works. Can anyone please help me, since there must be something wrong with the settings of the router... Thank you in advance!

    Try to login from some other browser like firefox or opera. Try from some other computer. On router you can try settings MTU to 1350, and under security tab, try disabling block anonymous internet requests.

  • Problem with READ Statement in the field routine of the Transformation

    Hi,
    I have problem with read statement with binary search in the field routine of the transformation.
    read statement is working well when i was checked in the debugging mode, it's not working properly for the bulk load in the background. below are the steps i have implemented in my requirement.
    1. I selected the record from the lookuo DSO into one internal table for all entried in source_packeage.
    2.i have read same internal table in the field routine for each source_package entry and i am setting the flag for that field .
    Code in the start routine
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
         and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp <> 3.
    delete it_zcam where end_dt initial.
    sort it_zcam by surce accno.
    endif.
    field routine code:
    read table it_zcam with key source = source_package-source
                                                 accno  = source_package-accno
                                                 binary search
                                                 transportin no fields.
    if sy-subrc = 0.
    RESULT  = 'Y'.
    else.
    RESULT = 'N'.
    endif.
    this piece of code exist in the other model there its working fine.when comes to my code it's not working properly, but when i debug the transformation it's working fine for those accno.
    the problem is when i do full load the code is not working properly and populating the wrong value in the RESULT field.
    this field i am using in the report filter.
    please let me know if anybody has the soluton or reason for this strage behaviour.
    thanks,
    Rahim.

    i suppose the below is not the actual code. active table of dso would be /bic/azcam_o1100...
    1. is the key of zcam_o11 source and accno ?
    2. you need to get the sortout of if endif (see code below)
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
    and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp 3.
    delete it_zcam where end_dt initial.
    endif.
    sort it_zcam by surce accno.
    field routine code:
    read table it_zcam with key source = source_package-source
    accno = source_package-accno
    binary search
    transportin no fields.
    if sy-subrc = 0.
    RESULT = 'Y'.
    else.
    RESULT = 'N'.
    endif.

  • Problems with parameter button in Crystal Report Server  2008

    Dear all,
    I have problems with parameter button in Crystal Report Server 2008.
    when I created some parameters and groups in Crystal Report 2008, they showed both parameters in 'Parameter button' and group in 'Group button'  on the left, so I can choose or type without clicking 'Refresh button' But when I added it to Crystal Report Server 2008 and I click parameter button , it doesn't show any parameter. Only click refresh button to choose them. On the other hand, for 'Group Tree' is ok. When go to Default Setting-> Parameter, all parameters are in 'Unused parameter'  First time I think I had problems with my installation, but when I reinstalled it again, it was like before.
    Could any one help me with this?
    I appreciate looking forward to your reply
    Ketya

    Try posting your questionin the correct forum, this is for SAP Business One, not Crystal reports Server

Maybe you are looking for

  • Pre7 after upgrade from Vista to Windows 7 (Ultimate 64bit)

    I recently upgraded my Vista Ultimate (64bit) computer to Windows 7 Ultimate (64bit).  This was an upgrade, not a clean, fresh install.  Today is the first time I have tried to run PRE7 under Windows 7.  Prior to the upgrade, I had no problems to spe

  • I have Lightroom 3.6, which Photoshop should I add to edit faces & textures?

    I am an amateur photographer.  I have Lightroom 3.6 and use to manage and edit my existing shots.  I am interested in having more creative control over my shots by adding textures as well as more easily removing flaws in faces or photos than Lightroo

  • Reader 11.0.04 installs but can't open anything

    reader 11.0.04 installs but can't open pop up states: "failed to load core DLL" have tried to use adobe cleaner & downloaded/installed several times with same results also in Windows folders with PDF files no longer can preview

  • How to speed up loading of web gallery on .Mac??

    On my .Mac web pages I have both web galleries created from iPhoto, and Photo Albums created from iWeb. All have been created from high res (8 MB+) image files. In iWeb I choose a smaller file size when uploading, to in turn get a faster loading when

  • Plz Help...Downloaded, but won't open to install

    Someone PLZ help... I have downloaded the correct iTunes edition. But when I try to open it, nothing happens. I have deleted my Temp files, cookies, etc..tried using another user profile, downloaded the file once more, downloaded QuickTime(facing sam