From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#23342: 25.0.92; Gnus doesn't honor nnimap-address Date: Sat, 23 Apr 2016 04:19:18 -0400 Message-ID: <87shycyby1.fsf@aol.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461399685 22117 80.91.229.3 (23 Apr 2016 08:21:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2016 08:21:25 +0000 (UTC) To: 23342@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 10:21:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1atsoR-0001J9-Gy for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 10:21:11 +0200 Original-Received: from localhost ([::1]:49335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsoQ-0002Mn-Jg for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 04:21:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsoL-0002I6-Vr for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atsoI-00069j-KU for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsoI-00069f-Gc for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1atsoI-0003Ct-Cz for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146139960712242 (code B ref -1); Sat, 23 Apr 2016 08:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2016 08:20:07 +0000 Original-Received: from localhost ([127.0.0.1]:43582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atsnO-0003BN-Gc for submit@debbugs.gnu.org; Sat, 23 Apr 2016 04:20:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atsnL-0003Ao-Ry for submit@debbugs.gnu.org; Sat, 23 Apr 2016 04:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atsnF-0005zy-8b for submit@debbugs.gnu.org; Sat, 23 Apr 2016 04:19:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsnF-0005zu-5W for submit@debbugs.gnu.org; Sat, 23 Apr 2016 04:19:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsnD-0000i7-Mb for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:19:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atsnA-0005zM-Bh for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:19:55 -0400 Original-Received: from omr-m017e.mx.aol.com ([204.29.186.19]:34872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atsnA-0005zC-3v for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 04:19:52 -0400 Original-Received: from mtaout-aab01.mx.aol.com (mtaout-aab01.mx.aol.com [172.26.126.205]) by omr-m017e.mx.aol.com (Outbound Mail Relay) with ESMTP id EC2633800082 for ; Sat, 23 Apr 2016 04:19:49 -0400 (EDT) Original-Received: from localhost.localdomain (c-50-163-96-131.hsd1.ma.comcast.net [50.163.96.131]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-aab01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 62B7838000083 for ; Sat, 23 Apr 2016 04:19:49 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1461399589; bh=CyuKIORdaV5ktKKqMqcM8xEKtnom1arbCzewpp4/+PY=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=pvx5nK+0sKgFOZqKf62Lbs5xPXuAI7820nsMhdX3hFtbc12iNhiD4/Z+cqgQj1lBo h+TEaKQ2Bkd68aMkgIqMYGppJ+ZdkxtTMIxxsZIZfUStorXbpg4rlf2VNkOJSP3sn7 JoPTH04hI0QgT2R7HVXi8Mq9Nu724hGEXsh5NhMo= x-aol-sid: 3039ac1a7ecd571b30254d26 X-AOL-IP: 50.163.96.131 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116694 Archived-At: Hi, It appears that Gnus doesn't honor the value of `nnimap-address'. As an experiment, I set my `gnus-secondary-select-methods' to: gnus-secondary-select-methods is a variable defined in =E2=80=98gnus.el=E2= =80=99. Its value is shown below. Documentation: A list of secondary methods that will be used for reading news. This is a list where each element is a complete select method (see =E2=80=98gnus-select-method=E2=80=99). If, for instance, you want to read your mail with the nnml back end, you could set this variable: (setq gnus-secondary-select-methods '((nnml ""))) You can customize this variable. Value: ((nnfolder "") (nnimap "gmail" (nnimap-address "imap.gmail.com") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-list-pattern ("*")) (nnimap-expunge-on-close 'never) (nnimap-expunge nil) (nnir-search-engine imap))) Original value was nil I then executed M-x gnus. It failed because it couldn't resolve the hostname "gmail" but it should have used the value of `nnimap-address'. Here is the contents of the *Message* buffer: Reading /home/liveuser/.newsrc.eld... Opening nnimap server on gmail... Opening connection to gmail via tls... Unable to open server nnimap+gmail due to: gmail/993 No address associated = with hostname Opening nnimap server on gmail...failed:=20 Opening nnfolder server...done Opening nnimap server on gmail... Opening connection to gmail via tls... Unable to open server nnimap+gmail due to: gmail/993 No address associated = with hostname Opening nnimap server on gmail...failed:=20 No new newsgroups Checking new news... Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nndraft...done Opening nnimap server on gmail... Server nnimap+gmail previously determined to be down; not retrying Opening nnimap server on gmail...failed:=20 Opening nnimap server on gmail... Server nnimap+gmail previously determined to be down; not retrying Opening nnimap server on gmail...failed:=20 Checking new news...done Warning: Opening nnimap server on gmail...failed: ; Server nnimap+gmail pre= viously determined to be down; not retrying; Opening nnimap server on gmail= ...failed: ; Server nnimap+gmail previously determined to be down; not retr= ying; Opening nnimap server on gmail...failed: ; Unable to open server nnim= ap+gmail due to: gmail/993 No address associated with hostname; Opening nni= map server on gmail...failed: ; Unable to open server nnimap+gmail due to: = gmail/993 No address associated with hostname,=20 If I add "gmail" to my /etc/hosts file: 74.125.22.108 imap.gmail.com gmail gmail-imap.l.google.com 74.125.22.109 imap.gmail.com gmail gmail-imap.l.google.com it works, as expected. Thanks. In GNU Emacs 25.0.92.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.7) of 2016-03-03 built on copr-builder-919644472.novalocal Windowing system distributor 'Fedora Project', version 11.0.11799901 Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Process Menu Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Are you sure you want to quit reading news? (y or n) y Saving /home/liveuser/.newsrc... Saving file /home/liveuser/.newsrc... Wrote /home/liveuser/.newsrc Saving /home/liveuser/.newsrc...done Saving /home/liveuser/.newsrc.eld... Saving file /home/liveuser/.newsrc.eld... Wrote /home/liveuser/.newsrc.eld Saving /home/liveuser/.newsrc.eld...done Making completion list... Load-path shadows: ~/.emacs.d/lisp/ntlm hides /usr/share/emacs/25.0.92/lisp/net/ntlm Features: (cl gnus-eform eieio-opt speedbar sb-image ezimage dframe find-func thingatpt jka-compr noutline outline easy-mmode view kmacro two-column iso-transl gnus-cite smiley ansi-color shr-color color url-util url-parse url-vars shr seq dom subr-x browse-url mm-archive gnus-async gnus-bcklg gnus-ml disp-table cursor-sensor nndraft nnmh nndoc nnfolder utf-7 rfc2104 gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache debug network-stream nsm starttls mailalias smtpmail qp character-fold misearch multi-isearch pp shadow sort mail-extr emacsbug sendmail epa-file epa derived auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv sieve sieve-mode sieve-manage password-cache nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec gnus-int gnus-range message idna dired format-spec rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 249709 100432) (symbols 48 62403 1430) (miscs 40 380 1101) (strings 32 90179 6789) (string-bytes 1 2613215) (vectors 16 32996) (vector-slots 8 1443079 178188) (floats 8 581 1820) (intervals 56 3303 914) (buffers 976 131) (heap 1024 79112 59409))