info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Agent in batch mode for imap


From: Julien Cubizolles
Subject: Re: Agent in batch mode for imap
Date: Mon, 14 Jan 2013 10:55:45 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

William Gardella <gardellawg@gmail.com>
writes:

> I believe you also asked about my config for using gnus-agent-batch as a
> cron job on the GNU Emacs help mailing list (or the gnu.emacs.help
> newsgroup, as the case may be), so here it is.

Thanks a lot. I tried merging the very few differences between your conf
and mine but it didn't solve the problem. However I've finally been able
to identify the problem with mine : I was splitting the messages on this
imap account. So, in a nutshell :

- imap + gnus-agent : works fine

- imap with splitting + gnus-agent : every unread mail on the server
  gets a duplicate in the Summary buffer every time the agent fetchs
  when gnus runs unplugged. This duplicate disappears with C-g in the
  Summary buffer when running gnus plugged.


Is there a reason why splitting shouldn't be used when agent fetching ?
Are some of you successfully using the agent in this manner ?

Here are the relevant parts of my .gnus.el.

--8<---------------cut here---------------start------------->8---
(setq gnus-secondary-select-methods
      '(
        (nnimap "free"
                (nnimap-address "imap.free.fr")
                (nnir-search-engine imap)
                (nnimap-inbox "INBOX")
              )
        )
)

(setq gnus-agent-synchronize-flags t
      gnus-agent-queue-mail 'always
      gnus-agent-prompt-send-queue t
      gnus-asynchronous t
      gnus-agent-go-online t)


(setq nnmail-split-methods 'nnmail-split-fancy)
(setq nnmail-split-fancy 
      '(|
        (: gnus-registry-split-fancy-with-parent)
;;      some splitting rules... 
        (: spam-split 'spam-use-bogofilter)
        ;; all the rest
        "INBOX"
        ))
--8<---------------cut here---------------end--------------->8---





reply via email to

[Prev in Thread] Current Thread [Next in Thread]