[emacs-berlin] Prevent gnus from moving email on the server
Michael Heerdegen
michael_heerdegen at web.de
Sun May 4 00:58:48 UTC 2025
jman <emacs-berlin at city17.xyz> writes:
> 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?
I can only say that I do use nnimap for years and don't see this. Dunno
what makes the difference.
I don't understand (info "(gnus) Client-Side IMAP Splitting"), the
effect that setting the described variables has is left a bit unclear,
but one interpretation is that setting `nnimap-inbox' triggers the
client side splitting, which may have the effect your describe. I would
try to remove that and wait for newly arrived messages.
When I recall correctly, I used ^ in the group buffer
(`gnus-group-enter-server-mode'), visited the server and "subscribe"d to
the groups I wanted to see listed in the group buffer by removing the "K"
("Killed") before the group name with u. INBOX is one of them. But
maybe this is not related at all in your case, I dunno.
In theory, quitting Gnus with Q instead of q could also help to avoid
the propagation of local changes to the server, but I dunno if that's
the case in your case. It may only have the same effect as your
nnimap-expunge -> never binding.
Michael.
More information about the emacs-berlin
mailing list