Message de Matthias Andree, le mardi 07 décembre :
glo <glo(_at_)defora(_dot_)org> writes:
I'm using Mutt to read my e-mails on the IMAP server. When I read a
message, close mutt, lunch it again and reconnect to the server, the
message is marked read.
After retreiving with fetchmail, all the e-mails are marked NEW.
I'm quite sure it's not a procmail problem.
I've tried with --mda '/usr/bin/ls' : no "Status: RO" header, whereas
the mail has been marked read, and is marked, read when opening the imap
folder with mutt.
Which fetchmail version are you running?
Did you try 6.2.5?
Yep, 6.2.5+NTLM+SDPS+SSL+NLS
.fetchmailrc :
set invisible
poll mail.defora.org
proto imap
#no envelope
user ben
ssl
pass xxx
no keep
no dropstatus
fetchall
no rewrite
mda "/usr/bin/formail -s /usr/bin/procmail"
How come mail remains on your server with "no keep" and "fetchall"?
That's when I use mutt to read the mails directly on the server, without
fetching them with fetchmail.
Do you have fetchmail -vv output for us?
Here it comes :
(The fetched mail is marked as read on the server, but no more after
being fetched.)
fetchmail: 6.2.5 querying mail.defora.org (protocol IMAP) at Tue Dec 7
02:19:02 2004: poll started
fetchmail: mail.defora.org key fingerprint:
4C:DC:0A:61:7F:90:D7:0E:D7:B2:A7:3E:8B:16:0C:4E
fetchmail: IMAP< * OK dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND
UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED NAMESPACE AUTH=PLAIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "ben" *
fetchmail: IMAP< A0002 OK Logged in.
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
\*)] Flags permitted.
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1100374211] UIDs valid
fetchmail: IMAP< * OK [UIDNEXT 1119] Predicted next UID
fetchmail: IMAP< A0003 OK [READ-WRITE] Select completed.
fetchmail: 1 messages waiting after first poll
fetchmail: IMAP> A0004 EXPUNGE
fetchmail: IMAP< A0004 OK Expunge completed.
fetchmail: 1 messages waiting after expunge
1 message for ben at mail.defora.org.
fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 573)
fetchmail: IMAP< A0005 OK Fetch completed.
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {564}
reading message ben_(_at_)mail(_dot_)defora(_dot_)org:1 of 1 (564 header octets)
fetchmail: about to deliver with: /usr/bin/formail -s /usr/bin/procmail
#
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK Fetch completed.
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {9}
(9 body octets) *
fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK Fetch completed.
flushed
fetchmail: IMAP> A0008 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Deleted \Seen))
fetchmail: IMAP< A0008 OK Store completed.
fetchmail: IMAP> A0009 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< A0009 OK Expunge completed.
fetchmail: selecting or re-polling default folder
fetchmail: 0 messages waiting after re-poll
fetchmail: IMAP> A0010 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0010 OK Logout completed.
fetchmail: 6.2.5 querying mail.defora.org (protocol IMAP) at Tue Dec 7
02:19:54 2004: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
--
ben