Gnus development mailing list
 help / color / mirror / Atom feed
* Downloading 'Read' messaged via IMAP
@ 2011-07-31  8:45 Manuel Carro
  2011-07-31  9:08 ` Andreas Schwab
  2011-08-22 16:50 ` Eric S Fraga
  0 siblings, 2 replies; 5+ messages in thread
From: Manuel Carro @ 2011-07-31  8:45 UTC (permalink / raw)
  To: ding


Hi.  I am using GNUS to access several mail accounts through IMAP and
_download_ the mail to my laptop to have it always available and read /
answer even if I am online.

I wanted to use some (Android) application(s) to get mail notifications
and access it via IMAP.  However, these applications mark messages as
'Read' in the server (didn't see any way to disallow it).  GNUS would
not download it, ten.  After marking mail as unread in the server
(through a web interface), then GNUS downloads it.  I didn't find anyway
to prevent the mail from being marked as 'Read' on the Android side.

Is there a way / option to tell GNUS to download mail which has been
marked as 'Read'?  I would not mind patching a bit the sources, but I'd
need a hint of where to start.  I had a quick look at the sources and
didn't see a clear place where downloading of IMAP mail is done.  I am
using NoGnus V 0.16, commit 431eb51d120f2fa3180a77fb9cc103fe815302e0 .


If it helps, this is part of what my mail source definition looks like:

(setq mail-sources
   '(
    ; IMDEA Software local server.  
        (imap   :server     "software.imdea.org"
                :user       "manuel.carro"
                :port       "imaps"
                :stream      'tls 
        )
    ; More similar lines follow...
    )
)


I am using nnml as backed for the virtual server.

Thanks in advance!
-- 
+------------------------------------------------------------------------------+
|  Manuel Carro --- Facultad de Informática -- U. Politécnica de Madrid (UPM)  |
|       Campus de Montegancedo --- E-28660 Boadilla del Monte --- Spain        |
|          Phone: +34-91-336-3742 ext 4140 --- FAX: +34-91-336-5018            |



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Downloading 'Read' messaged via IMAP
  2011-07-31  8:45 Downloading 'Read' messaged via IMAP Manuel Carro
@ 2011-07-31  9:08 ` Andreas Schwab
  2011-08-02 18:01   ` Manuel Carro
  2011-08-22 16:50 ` Eric S Fraga
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2011-07-31  9:08 UTC (permalink / raw)
  To: Manuel Carro; +Cc: ding

Manuel Carro <mcarro@fi.upm.es> writes:

> Is there a way / option to tell GNUS to download mail which has been
> marked as 'Read'?

Set :predicate to a different predicate that does not include UNSEEN.

See (gnus) Mail Source Specifiers.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Downloading 'Read' messaged via IMAP
  2011-07-31  9:08 ` Andreas Schwab
@ 2011-08-02 18:01   ` Manuel Carro
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Carro @ 2011-08-02 18:01 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: ding


> Set :predicate to a different predicate that does not include UNSEEN.
> 
> See (gnus) Mail Source Specifiers.

Thanks.  Worked beautifully.

Cheers,
-- 
+------------------------------------------------------------------------------+
|  Manuel Carro --- Facultad de Informática -- U. Politécnica de Madrid (UPM)  |
|       Campus de Montegancedo --- E-28660 Boadilla del Monte --- Spain        |
|          Phone: +34-91-336-3742 ext 4140 --- FAX: +34-91-336-5018            |



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Downloading 'Read' messaged via IMAP
  2011-07-31  8:45 Downloading 'Read' messaged via IMAP Manuel Carro
  2011-07-31  9:08 ` Andreas Schwab
@ 2011-08-22 16:50 ` Eric S Fraga
  2011-10-04  8:55   ` Manuel Carro
  1 sibling, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2011-08-22 16:50 UTC (permalink / raw)
  To: ding

Manuel Carro <mcarro@fi.upm.es> writes:

> Hi.  I am using GNUS to access several mail accounts through IMAP and
> _download_ the mail to my laptop to have it always available and read /
> answer even if I am online.
>
> I wanted to use some (Android) application(s) to get mail notifications
> and access it via IMAP.  However, these applications mark messages as
> 'Read' in the server (didn't see any way to disallow it).  GNUS would

which Android applications?  I use k9-mail; notifications work just fine
and the messages are *not* marked as read simply because of the
notification aspect.  Gnus downloads my emails as New perfectly fine.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.18



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Downloading 'Read' messaged via IMAP
  2011-08-22 16:50 ` Eric S Fraga
@ 2011-10-04  8:55   ` Manuel Carro
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Carro @ 2011-10-04  8:55 UTC (permalink / raw)
  To: ding


Hi.  This message is a bit old, but I am answering for completeness.

> which Android applications?  I use k9-mail; notifications work just
> fine and the messages are *not* marked as read simply because of the
> notification aspect.  Gnus downloads my emails as New perfectly fine.

I am using k9-mail too, and notifications do not mark the messages as
read, but if I actually read the message, then it is of course marked as
read.  At the beginning I thought that the notification would be enough,
but very soon I started to read the messages.

Best,
-- 
+------------------------------------------------------------------------------+
|  Manuel Carro --- Facultad de Informática -- U. Politécnica de Madrid (UPM)  |
|       Campus de Montegancedo --- E-28660 Boadilla del Monte --- Spain        |
|          Phone: +34-91-336-3742 ext 4140 --- FAX: +34-91-336-5018            |



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-04  8:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-31  8:45 Downloading 'Read' messaged via IMAP Manuel Carro
2011-07-31  9:08 ` Andreas Schwab
2011-08-02 18:01   ` Manuel Carro
2011-08-22 16:50 ` Eric S Fraga
2011-10-04  8:55   ` Manuel Carro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).