From: Nicolas Cavigneaux <cavigneaux@gmail.com>
To: info-gnus-english@gnu.org
Subject: Expiring nnimap messages automatically
Date: Tue, 07 Apr 2020 10:42:33 +0200 [thread overview]
Message-ID: <m2pncjk7pi.fsf@bounga.org> (raw)
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
next reply other threads:[~2020-04-07 8:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 8:42 Nicolas Cavigneaux [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2pncjk7pi.fsf@bounga.org \
--to=cavigneaux@gmail.com \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).