Gnus development mailing list
 help / color / mirror / Atom feed
From: XeCycle <xecycle@gmail.com>
To: Yagnesh Raghava Yakkala <yagnesh@live.com>
Cc: ding@gnus.org
Subject: Re: gnus fetching same mails again and again (pop)
Date: Fri, 13 Apr 2012 14:17:22 +0800	[thread overview]
Message-ID: <87hawo17gt.fsf@Gmail.com> (raw)
In-Reply-To: <BLU0-SMTP253BA6F554FE9DBE2BC273DCC3B0@phx.gbl> (Yagnesh Raghava Yakkala's message of "Fri, 13 Apr 2012 14:35:46 +0900")

[-- Attachment #1: Type: text/plain, Size: 2025 bytes --]

Yagnesh Raghava Yakkala <yagnesh@live.com> writes:

> Hello ,
>
> XeCycle <XeCycle@Gmail.com> writes:
>
>> Yagnesh Raghava Yakkala <yagnesh@live.com> writes:
> [...]
>>> Unfortunately no. Only pop interface. Thunderbird can keep
>>> mails on server, is
>>> not it possible with gnus.? 
>>
>> I use `getmail'.  Using an external tool also gives the
>> possibility to crontab it.
>
> Thanks for mentioning it, I think I would go with this. Could you share your
> configuration at least on gnus side.?
>
>
> Thanks.,

getmailrc:
--8<---------------cut here---------------start------------->8---
[retriever]
type = SimplePOP3SSLRetriever
server = pop.gmail.com
username = xecycle@gmail.com
port = 995
password = my_password

[destination]
type = MDA_external
path = /usr/bin/procmail

[options]
read_all = False
--8<---------------cut here---------------end--------------->8---

Here I tell getmail to use procmail.

.procmailrc:
--8<---------------cut here---------------start------------->8---
MAILDIR=$HOME/Mail/.incoming
DEFAULT=$MAILDIR/uninteresting/
LOGFILE=$MAILDIR/.procmail.log

:0:
* ^TOxecycle@gmail.com
inbox/
--8<---------------cut here---------------end--------------->8---

Mails not addressed to me are usually list mails, so they go to
uninteresting.  My config is indeed longer than this.  This is
used primarily for desktop notifications, so that it doesn't
inform me of every mail.

--8<---------------cut here---------------start------------->8---
(setq mail-sources '((maildir :path "~/Mail/.incoming/inbox")
                     (maildir :path "~/Mail/.incoming/uninteresting")))
(setq mail-source-delete-incoming t)
--8<---------------cut here---------------end--------------->8---

Then I resplit mail in Gnus to be more specific.

The procmail step is optional.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

  reply	other threads:[~2012-04-13  6:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 10:16 Yagnesh Raghava Yakkala
2012-04-12 10:55 ` Alberto Luaces
2012-04-12 16:11   ` Yagnesh Raghava Yakkala
2012-04-12 17:07     ` Andreas Schwab
2012-04-12 18:14       ` Yagnesh Raghava Yakkala
2012-04-12 18:37         ` Lars Magne Ingebrigtsen
2012-04-13  5:45           ` Yagnesh Raghava Yakkala
2012-04-13 10:56             ` Steinar Bang
2012-04-13  2:20         ` XeCycle
2012-04-13  5:35           ` Yagnesh Raghava Yakkala
2012-04-13  6:17             ` XeCycle [this message]
2012-04-16  5:19               ` Yagnesh Raghava Yakkala
2012-04-16  6:05                 ` XeCycle
2012-04-16  6:58                   ` Yagnesh Raghava Yakkala
2012-04-16  9:06                     ` Steinar Bang
2012-04-16  9:31                       ` Setting up Dovecot [Was => Re: gnus fetching same mails again and again (pop)] Yagnesh Raghava Yakkala
2012-04-16 13:06                         ` Steinar Bang
2012-04-17  5:33                           ` Yagnesh Raghava Yakkala
2012-04-17  6:28                             ` Steinar Bang
2012-04-16 23:55                         ` Jonas Hörsch
2012-04-17  2:07                           ` Rasmus
2012-04-17  5:43                           ` Yagnesh Raghava Yakkala
2012-04-13  4:17         ` gnus fetching same mails again and again (pop) Binjo
2012-04-13  5:38           ` Yagnesh Raghava Yakkala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hawo17gt.fsf@Gmail.com \
    --to=xecycle@gmail.com \
    --cc=ding@gnus.org \
    --cc=yagnesh@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).