William Gardella <[email protected]>
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---
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english