FAQ 6-6

Question 6.6

I don’t want expiration to delete my mails but to move them to another group.

Answer

Say something like this in ~/.gnus.el:

(setq nnmail-expiry-target "nnml:expired")

(If you want to change the value of nnmail-expiry-target on a per group basis see the question "How can I disable threading in some (e.g., mail-) groups, or set other variables specific for some groups?")