[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-read-init-file: Error in ~/.gnus: disroot.org
From: |
Adam Sjøgren |
Subject: |
Re: gnus-read-init-file: Error in ~/.gnus: disroot.org |
Date: |
Tue, 22 Nov 2022 20:36:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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