When Gnus reads in incoming mail, it stores a copy of the slurped file as Incomingxxxx in the ~/Mail folder as a backup. These files get deleted by default after 10 days. If you need to change it to something else or delete it immediately upon reading into Gnus, add the following to your .gnus or gnus.el file.
More information on these and other options can be found in the Mail Source Customization in the Gnus Manual.
;;if retrieving from spool, delete temp file after 1 day(s)
(setq mail-source-delete-incoming 1) ;; change 1 to t to immediately delete or any number
(setq mail-source-delete-old-incoming-confirm nil)
(setq mail-source-delete-incoming 1) ;; change 1 to t to immediately delete or any number
(setq mail-source-delete-old-incoming-confirm nil)
More information on these and other options can be found in the Mail Source Customization in the Gnus Manual.
No comments:
Post a Comment