Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: info-gnus-english@gnu.org
Subject: Re: gnus-read-init-file: Error in ~/.gnus: disroot.org
Date: Tue, 22 Nov 2022 20:36:09 +0100	[thread overview]
Message-ID: <871qpupys6.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <3da89e22a6234df5c1f0774d35ed4ff601b31608@disroot.org>

vani writes:

> (setq gnus-select-method
>       '(nnimap "disroot.org"))

  [...]

> (nnimap "disroot.org"
>         (nnimap-inbox "INBOX")
>         (nnimap-split-methods default)
>         (nnimap-expunge t)
>         (nnimap-stream ssl))
>         (nnimap-authinfo-file "~/.authinfo")))

This part is misplaced - I think what you are looking for is something
like this:

    (setq gnus-select-method
          '(nnimap "disroot.org"
                   (nnimap-inbox "INBOX")
                   (nnimap-split-methods default)
                   (nnimap-expunge t)
                   (nnimap-stream ssl)
                   (nnimap-authinfo-file "~/.authinfo")))

> (setq mail-sources
>     ’((file :path "/var/spool/mail/jindam.vani@disroot.org")         
>        (imap :server "disroot.org"
>              :user "jindam.vani@disroot.org" 
>              :port "993"
>              :password "password")))

You should _either_ use nnimap _or_ mail-sources, not both.

If you use nnimap, you are using IMAP "as intended", that is: email
lives and is manipulated on the mail-server.

If you, on the other hand, add "imap" to mail-sources, you will
basically be downloading emails to your local machine and removing them
from the mail-server.

If you are doing any of the above, you do not need to set up getmail.

If you set up getmail, you should ONLY set up the file-part of
mail-sources.

                                 · · ·

If I were you, I would start with setting up nnimap only. That way you
can still access your email using a different mail-client.

If nnimap gets annoying, then figure out another setup.

Start simple, get an idea of what you like and don't, then modify.

(I don't use nnimap, but I also have many weird old habits when it comes
to email :-))

I hope this helps a little!


  Best regards,

    Adam

-- 
 "I never followed my dream, I always avoided my            Adam Sjøgren
  nightmares."                                         asjo@koldfront.dk



  parent reply	other threads:[~2022-11-22 19:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22 13:50 jindam, vani
2022-11-22 17:26 ` Adam Sjøgren
2022-11-22 18:10 ` jindam, vani
2022-11-22 18:55   ` Adam Sjøgren
2022-11-23  5:21   ` jindam, vani
2022-11-23  5:25     ` Emanuel Berg
2022-11-23 17:47     ` Eric Abrahamsen
2022-11-22 19:36 ` Adam Sjøgren [this message]
2022-11-22 21:11   ` Björn Bidar

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=871qpupys6.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --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).