From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Question Regarding Config For Gnus With Fastmail Date: Tue, 08 Feb 2022 09:44:26 -0800 Message-ID: <87k0e51ced.fsf@ericabrahamsen.net> References: <88d24c18-099e-4288-bb36-cf3a9cb56a64@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:89qjSXMYtU2MGfDr5rBbTtpGCDI= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 18:58:50 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHUlO-0005MT-Ov for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 18:58:50 +0100 Original-Received: from localhost ([::1]:52806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHUlN-0003zD-Lu for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 12:58:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHUXd-00079i-VM for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 12:44:37 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:47474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHUXc-0007Q4-1a for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 12:44:37 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nHUXa-0006mo-1I for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 18:44:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135840 Archived-At: "Samuel Banya" writes: > Hey there, > > I wanted to do the deep dive to try out GNUS, but am encountering three weird things: > 1. It prompts me for the 'IMAP' user, which I then put in as 'sbanya' since my email is 'sbanya@fastmail.com'. > > Its weird since its defaulting to 'sam'. > > 2. When it prompts for the 'IMAP password', it shows me > 'sbanya@fastmail' before prompting for the password, even though it > probably should be 'sbanya@fastmail.com'. > > 3. Also, after I enter in the correct password and hit enter, I get the following message: > nnimap (fastmail) open error: 'NO Incorrect username or password.'. Continue? (y or n) > > Here's my config for GNUS within my Emacs config: > ** Add Gnus for personal email > > #+begin_src emacs-lisp > (when (member (system-name) '("notestation" "fossastation")) > (setq > user-full-name "Samuel Banya" > user-mail-address "sbanya@fastmail.com" > send-mail-function 'smtpmail-send-it > smtpmail-smtp-server "smtp.fastmail.com" > smtpmail-stream-type 'starttls > smtpmail-smtp-service 587 > gnus-select-method > '(nnimap "fastmail" > (nnimap-address "imap.fastmail.com") > (nnimap-server-port 993) I would definitely add a (nnimap-user "sbanya@fastmail.com") in here. I don't know if it's supposed to draw the correct address from `user-mail-address' or not, but obviously something's going wrong there, and it's safer to specify it explicitly. > (nnimap-stream ssl) > (nnmail-expiry-wait immediate)))) > #+end_src > > Thanks, > > Sam