[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus-read-init-file: Error in ~/.gnus:

From: Adam Sjøgren
Subject: Re: gnus-read-init-file: Error in ~/.gnus:
Date: Tue, 22 Nov 2022 20:36:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

vani writes:

> (setq gnus-select-method
>       '(nnimap ""))


> (nnimap ""
>         (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 ""
                   (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/")         
>        (imap :server ""
>              :user "" 
>              :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

                                 · · ·

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,


 "I never followed my dream, I always avoided my            Adam Sjøgren

reply via email to

[Prev in Thread] Current Thread [Next in Thread]