From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32547 invoked from network); 22 Nov 2022 21:11:37 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 22 Nov 2022 21:11:37 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxaY6-0007Mp-K5; Tue, 22 Nov 2022 16:11:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxaY4-0007MV-4y for info-gnus-english@gnu.org; Tue, 22 Nov 2022 16:11:20 -0500 Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxaY2-0007A2-1E for info-gnus-english@gnu.org; Tue, 22 Nov 2022 16:11:19 -0500 Received: from odin (dsl-trebng12-b04885-76.dhcp.inet.fi [176.72.133.76]) by thaodan.de (Postfix) with ESMTPSA id 49FAFD08C8A; Tue, 22 Nov 2022 23:11:15 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1669151475; bh=hDbK2WYe9D+RWHa906UAVFkqaf0WfQAv24gcAj9Cpnc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fcoDzoZsQMU+UYA63SNuvqgkfLGCD+94LNnJjFtXXiz6sQWUgsyc1xXTzdeNzePR2 hS9sMm7G10OEf2Ry/Okf/zmFX1m187HHIf5//eknh0dkCNkP/iJuUzkwxXK2f8tjVj LMhDpIp0AKknzYT7he/woi5RD1z97FKrQ3d9fjXDI/ycEsDnjnkIHoUkE60d0RQwYd 8COyxjl1OkISWxZyDOZdKBWBZKMBVmE3pHu5ftTbtxev6Usl9HWhxWEM7fRego7uo1 sxszLipSPRRhX3WbFEgLIaPCdS3V79nWcvwmVCPvG5AUJVl+OZZIhEStS5lU+kFfLz ggnP8B7wCOcmDZH6Cc3Sabyk3EuGSbloJsmQvc9khPlgXyQ2EvjWxEOnh1Qr0Ed2c0 ii6DHFY5/kI0SRXgsvfW9MSM349ebKW2LNKCS0D+svBo0P24LAMJvxs4nRRPgeu+c0 9+/g8sAp/sKOF7POXNDszuVyBH3EMIYpLTdj4mvRMrPK8mTJdExdFq6Epcev11IMRy 0BcTYfF9xj0ks3CPK64cioGp4hRYSvBK4S6HWj/4rxcjT93fKO/yifYPPPET+uavVn qDNQp49WSkHM5RApxUOeaSIOgCaoTffTc+RUP9Rh8Ju5tKa/HYcz0G030vjkXALGsZ Ld5bPwh4nLZtcCWrld5/94b8= From: =?utf-8?Q?Bj=C3=B6rn?= Bidar To: Adam =?utf-8?Q?Sj=C3=B8gren?= Cc: info-gnus-english@gnu.org Subject: Re: gnus-read-init-file: Error in ~/.gnus: disroot.org In-Reply-To: <871qpupys6.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Tue, 22 Nov 2022 20:36:09 +0100") References: <3da89e22a6234df5c1f0774d35ed4ff601b31608@disroot.org> <871qpupys6.fsf@tullinup.koldfront.dk> Date: Tue, 22 Nov 2022 23:11:14 +0200 Message-ID: <87v8n6y9sd.fsf@thaodan.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Adam Sj=C3=B8gren writes: >> (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"))) You can use the argument after nnimap as the server name or as an identifier. If you do the second you have add (nnimap-address "imap.server.com") I configure my select method like this: ;; this disables the first select method as I use only secondary met= hods. (setq gnus-select-method '(nnnil ""))=20=20=20 (setq gnus-secondary-select-methods '((nnimap "server" (nnimap-address "imap.server.de") ;; or whatever your inbox folder is=20 (nnimap-inbox "INBOX") (nnimap-user "yourloginname") (nnimap-server-port 993) (nnimap-stream ssl) (nnmail-expiry-target "nnimap+thaodan.de:Trash")) I can you use server side filtering such sieve don't define nnimap-split-methods and set nnmail-splqit-methods to nil so Gnus doesn't try to filter your mails. The more you don't use more than one computer/client to access your mail I can recommend not use Gnus to filter but use Sieve or what your mail providers offers for server side filtering. nnimap-authinfo-file doesn't exist anymore, I think since like 12 years go around the time the netrc package was replaced by auth-source. You have to configure that like this: ;; Put authinfo.gpg first so new secrets will be stored there by default an= d not in plain text (setq auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc")) ;; Don't ask to store credentials in .authinfo.gpg (setq auth-source-save-behavior nil) In case you use password-store (pass) you should also call: (auth-source-pass-enable) >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 :-)) Nnimap works quite fast, the only downside is that it doesn't run in the background and articles are not fetched in parallel. However is a general issue with Gnus. I've heard setting up Gnus-agent might help. I hope I could help a bit. Br, Bj=C3=B6rn