[emacs-berlin] Prevent gnus from moving email on the server

jman emacs-berlin at city17.xyz
Sat May 3 18:29:37 UTC 2025


Hello,

I'm testing using gnus with IMAPS protocol to just check emails when I am not on my main 
computer. Then on my main PC I download them via POP3S for offline storage.

It works, but gnus instructs the mail server to move emails from "INBOX" to an IMAP folder 
"mail.misc", marking emails as read. Then I can't download these emails anymore via POP3S. This 
behaviour is controlled by the variable `nnimap-split-methods`, defaults to `(("mail.misc" ""))`, 
which IIUC basically says "take everything from the mailbox and move it to mail.misc".

I wonder if this behaviour of moving emails is intrinsic into the IMAP protocol or can gnus be 
instructed to not move emails around.
Has anyone experience to share?

My configuration is pretty basic:
--8<---------------cut here---------------start------------->8---
(setq gnus-interactive-exit nil)
(setq gnus-select-method
      '(nnimap "mail.mydoma.in"
               (nnimap-user "me at mydoma.in")
               (nnimap-inbox "INBOX")
               (nnimap-expunge never)
               (nnimap-stream ssl)))
--8<---------------cut here---------------end--------------->8---

Thanks


More information about the emacs-berlin mailing list