From: Ratan N. <nal...@ya...> - 2006-04-21 23:48:33
|
Matthias: I think I understand the confusion on "read" vs. "unread" status. What I want is the mail on server to disappear and the mail on laptop to have "read" or "unread" according to what was on the server before the fetch started. What is happening is that the mail on the server is disappearing (as I want), but all mail on the laptop is unread (disconcerting). --- Matthias Andree <mat...@gm...> wrote: > Ratan Nalumasu <nal...@ya...> writes: [...] > > - The mailserver currently has IMAP and POP3 ports open, > > though POP3 may be closed in the future. There is no > server > > on the POP3S port as we speak though. > > Does the POP3 port offer STLS? If it does, no need for POP3S. Yes, it does. Ok, at least one less thing to worry about. [...] > > - I sometimes read the mail directly on the mail server > > using squirrelmail and elm. > > That will only work until fetchmail has downloaded the > messages. After > that, your requirement "empty mailbox after fetch" prevents > that. That is a good thing for me. I login to the mail sever or use squirrelmail infrequently (e.g., when I am on the road and don't have access to laptop). Once I am back in the office, I want to fetch all the mails along with their status. > > In these cases, the messages are being marked as Read on the > server > > ("Status: RO"). However, when I get them using fetchmail on > IMAP > > protocol, the Status line disappears in the fetched e-mail. > > This looks a bit like a server issue. Fetchmail would mark > downloaded > messages read (rather than marking read messages unread), but > as per > your description the effect is quite the opposite. I think here, you are stating that fetchmail would mark the messages on the server as read, right? That is true. After this step, as you find below, the fetchmail does mark it as deleted and expunge it--that is good too. My trouble with the mail on the laptop. > What I find most peculiar though is that (judging from the -v > -v log) > fetchmail marks the messages as seen and deleted, sends an > EXPUNGE > command that logs the two messages as expunged, and apparently > the > messages are still there (else you wouldn't have messages > marked unread, > but the messages should be gone). Any idea? > > > - When I fetch the same mail using fetchmail on POP3 > protocol, > > the "Status" fields are retained but it leads to a > different > > problem: insufficient integration with ssh/ssh-agent. > > Yes, that requires some experimenting on how exactly to start > the > server, and not all support it, since it's not standardized. > [...] Thanks much for the help Ratan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |