Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Expiring nnimap messages automatically
@ 2020-04-07  8:42 Nicolas Cavigneaux
  2020-04-07 17:13 ` Eric Abrahamsen
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Cavigneaux @ 2020-04-07  8:42 UTC (permalink / raw)
  To: info-gnus-english

Hello,

this is my first post in this newsgroup. I hope I'll follow this
newsgroup and general guidelines in my post.

I'm using Gnus for quite some times now and I really like it so far. I
managed to tweak it to my needs.

I mainly use it to read / write emails from multiple accounts but I also
use it to read newsgroups and newsfeeds.

I'm only one tweak away from my dream setup. I know how to manually
expire a given mail or thread. I did setup the nnmail-expiry-wait to
'immediate. As far as I know my setup is ready to auto-expire expired
mail in my nnimap groups but in fact expiry never happens.

When I leave a group, Gnus tells me that it is expiring my emails but
they never get deleted / moved. I can even call
gnus-summary-expire-articles and nothing happens.

The only way I found to really expire my expired mails (so they get
moved to according trash group) is to manually call
gnus-summary-expire-articles-now. This commands asks me for a
confirmation.

I though that the deletion / moving would be done automatically in some
way by Gnus…

Am I missing something? Is there something related to gnus-agent?

I'd be really grateful if someone was able to provide some insights to
help me with auto-deletion.

Here is the relevant part of config regarding expiry:

(setq gnus-secondary-select-methods
      '((nnimap "home"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port "imaps")
                (nnimap-stream ssl)
                (nnir-search-engine imap)
                ;; @see http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html
                ;; press 'E' to expire email
                (nnmail-expiry-target "nnimap+home:[Gmail]/Trash")
                (nnmail-expiry-wait 'immediate))))

Thanks in advance and stay safe.
-- 
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-04-09 21:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07  8:42 Expiring nnimap messages automatically Nicolas Cavigneaux
2020-04-07 17:13 ` Eric Abrahamsen
2020-04-07 18:24   ` Nicolas Cavigneaux
2020-04-07 19:49     ` Eric Abrahamsen
2020-04-07 20:22       ` Nicolas Cavigneaux
2020-04-07 21:29         ` Eric Abrahamsen
2020-04-07 22:32           ` Nicolas Cavigneaux
2020-04-08  3:45             ` Eric Abrahamsen
2020-04-08  8:38               ` Nicolas Cavigneaux
2020-04-08 14:55                 ` Eric Abrahamsen
2020-04-09  8:22                   ` Nicolas Cavigneaux
2020-04-09 16:47                     ` Eric Abrahamsen
2020-04-09 19:26                       ` Nicolas Cavigneaux
2020-04-09 20:23                         ` Eric Abrahamsen
2020-04-09 20:27                           ` Eric Abrahamsen
2020-04-09 21:15                             ` Nicolas Cavigneaux
2020-04-09 21:32                               ` Eric Abrahamsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).