Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "jindam, vani" <jindam.vani@disroot.org>
To: info-gnus-english@gnu.org
Subject: delete downloaded marked emails after specific days & pop3 advice
Date: Tue, 06 Dec 2022 06:19:35 +0000	[thread overview]
Message-ID: <61f16e8141130fbdfb3c8576c7f0c7ff@disroot.org> (raw)

after much trials, i found its impossible to run
dovecot on debian 11 on userland (1). i have a
copy of gnus manual (by lars magne, 1995-2015,
no version). recently disvovered check paren
for looking errors on .gnus

i have few questions:

(a) is it possible to download all emails on my
local machine, i dont want to retain email copies
on server
(b) do i have to specify all email directories
on .gnus for downloading, ex: spam, draft
(c) how do i auto expunge all marked emails on
.gnus or mbsync.rc after specific period
(d) seriously, reconsidering to use getmail
to fetch all emails through pop3, is it good
idea. pop3 supports or recognises only one
directory —inbox & does it mean it will include
spam emails in inbox?

* mbsync.rc:
IMAPAccount disroot
Host disroot.org
User jindam.vani@disroot.org
SSLType IMAPS
SSLVersions TLSv1.2

# you may have to tweak the awk here + filename to your netrc/authinfo:
# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d $HOME/.netrc.gpg | 
awk '$2==\"mail.messagingengine.com\" && $4==\"me@fastmail.com\" {print 
$6;exit(0)}'"
# Port 992
# Port 992 has a "flat" hierarchy; use with
# mail_location = maildir:~/.Maildir/:LAYOUT=fs:INBOX=~/.Maildir/INBOX
# in dovecot (see also MaildirStore.Inbox below)

IMAPStore disroot-remote
Account disroot

MaildirStore disroot-local
# The trailing "/" is meaningful
Path ~/.Maildir/
Inbox ~/.Maildir/INBOX
SubFolders Legacy

Channel disroot
Master :disroot-remote:
Slave :disroot-local:
Patterns *
Create Slave
Sync All
Expunge Both
SyncState *

* .gnus:
(setq gnus-select-method '(nnnil ""))

(add-to-list 'gnus-secondary-select-methods
              '(nnmaildir ""
               (directory "/home/jin/.Maildir/")
               (get-new-mail t)
               (directory-files nnheader-directory-files-safe)))

(setq mail-user-agent 'gnus-user-agent)
(setq read-mail-command 'gnus)


(1) https://github.com/CypherpunkArmory/UserLAnd

regards,
jindam, vani

-- 
toots: @jindam_vani@c.im
others: en.wikipedia.org/wik//User:Jindam_vani


             reply	other threads:[~2022-12-06  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06  6:19 jindam, vani [this message]
2022-12-07  0:30 ` Eric Abrahamsen
2022-12-07  7:41   ` Adam Sjøgren

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=61f16e8141130fbdfb3c8576c7f0c7ff@disroot.org \
    --to=jindam.vani@disroot.org \
    --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).