Julien Cubizolles <[email protected]> writes:

> start gnus in unplugged mode
> have a cron job run 
>
> emacs -batch -l ~/.emacs -l ~/.gnus.el -f gnus-agent-batch >/dev/null 2>&1

A previous problem of mine comes in full force when using this setupĀ :
every unread mail gets a *new* duplicate in the nnimap summary buffer
every time the agent fetchs. With gnus-agent-batch running every 15
minutes, I had 8 copies of each unread message appearing in 2
hours... Plugging the agent and running M-g removes all those duplicates
but gnus-agent-batch can't really be a solution as long as this problem
remains.

Here are the methods definitions in .gnus.el

--8<---------------cut here---------------start------------->8---
(setq gnus-select-method 
        '(nnml "local"))

(setq gnus-secondary-select-methods
      '(
        (nnimap "gmail"
                (nnimap-address "imap.gmail.com")
                (nnimap-stream ssl)
                (nnir-search-engine imap))
        (nnimap "free"
                (nnimap-address "imap.free.fr")
                (nnimap-unsplittable-articles (%Deleted %Seen))
                (nnir-search-engine imap)
                (nnimap-split-methods default)
                (nnimap-inbox "INBOX")
                )
        (nntp "news.free.fr")
        (nntp "news.gwene.org"
              (nnir-search-engine gmane))
        (nntp "news.gmane.org"
              (nnir-search-engine gmane))
        )
)
--8<---------------cut here---------------end--------------->8---

Could anyone happy with gnus-agent-batch with an imap server post his
configurationĀ ?

Julien.


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to