From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 18 12:18:20 2016 Received: (at submit) by debbugs.gnu.org; 18 Mar 2016 16:18:20 +0000 Received: from localhost ([127.0.0.1]:52843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agx6S-0004z4-Du for submit@debbugs.gnu.org; Fri, 18 Mar 2016 12:18:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agx6R-0004yt-8e for submit@debbugs.gnu.org; Fri, 18 Mar 2016 12:18:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agx6K-0002o0-Bu for submit@debbugs.gnu.org; Fri, 18 Mar 2016 12:18:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agx6K-0002nw-8K for submit@debbugs.gnu.org; Fri, 18 Mar 2016 12:18:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agx6I-0008VL-HG for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 12:18:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agx6D-0002nI-Ib for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 12:18:10 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:53635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agx6D-0002mP-8Y for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 12:18:05 -0400 Received: from luna.netfonds.no ([80.91.225.79] helo=luna) by hermes.netfonds.no with esmtp (Exim 4.84_2) (envelope-from ) id 1agx61-0007Qz-DH for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 17:17:58 +0100 Received: by luna (Postfix, from userid 547) id 4F0C84E22DC; Fri, 18 Mar 2016 17:17:53 +0100 (CET) From: peder@klingenberg.no (Peder O. Klingenberg) To: bug-gnu-emacs@gnu.org Subject: 25.1.50; Unqualified recipients are considered bogus by message.el Date: Fri, 18 Mar 2016 17:17:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In emacs master as of today, unqualified email addresses are considered bogus by message-bogus-recipient-p, despite my smarthost being perfectly happy sending mail to local addresses. This started with commit 762986c "Remove message-valid-fqdn-regexp, since it changes too much now" by Lars Ingebrigtsen at Feb 7. Restoring local addresses to non-bogus status seems simple enough: --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -4345,7 +4345,6 @@ message-bogus-recipient-p (mapc (lambda (address) (setq address (or (cadr address) "")) (when (or (string= "" address) - (not (string-match "@" address)) (string-match "@.*@" address) (and message-bogus-addresses (let ((re Test case, starting from emacs -Q: After evaluating (require 'message), the following two forms should both return nil: (message-bogus-recipient-p "peder@klingenberg.no") (message-bogus-recipient-p "peder") With current master, only the first returns nil. In GNU Emacs 25.1.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-03-18 built on luna Repository revision: ace779da01b7ad3130640e945a883f35c0d27330 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Ubuntu 14.04.4 LTS Configured using: 'configure --prefix=/usr/local/emacs-git --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/site-lisp/:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --with-pop=yes' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_MONETARY: en_NO.UTF-8 value of $LC_NUMERIC: en_NO.UTF-8 value of $LANG: en_NO.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t linum-mode: t show-paren-mode: t paredit-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Contacting host: lars.ingebrigtsen.no:80 Checking new news...done nnimap read 0k from tarrant.klingenberg.no Mark saved where search started [2 times] Saving file /home/pok/src/emacs/local/lisp/gnus/message.el... Wrote /home/pok/src/emacs/local/lisp/gnus/message.el Wrote /home/pok/src/emacs/local/lisp/gnus/message.elc Loading /home/pok/src/emacs/local/lisp/gnus/message.elc...done Finding changes in /home/pok/src/emacs/local/lisp/gnus/message.el...done nil [2 times] Load-path shadows: /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/local/emacs-git/share/emacs/25.1.50/lisp/language/thai-word Features: (shadow emacsbug vc-cvs php-mode speedbar sb-image ezimage dframe flymake cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs debug log-view misearch multi-isearch vc-annotate map magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit help-fns log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dash rect mailalias slime-indentation slime-cl-indent cl-indent slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree advice slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime etags xref project arc-mode archive-mode pp hyperspec thingatpt bbdb-message footnote flow-fill shr-color color shr svg dom browse-url vc vc-dispatcher vc-git diff-mode sort gnus-cite mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic mm-archive url-http url-gw url-cache url-auth pop3 nnrss xml mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util nndraft nnmh nnml utf-7 bbdb-gnus epa-file network-stream puny nsm starttls 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 pok-gnus nnir gnus-sum gnus-group gnus-undo bbdb-mua bbdb-com crm bbdb bbdb-site timezone gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message sendmail dired dired-loaddefs rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader subr-x gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils wid-edit linum paren paredit pok-init org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs gedcom slime-autoloads reftex reftex-loaddefs reftex-vars edmacro kmacro ido seq server filladapt dmacro mm-util mail-prsvr cl compile comint ansi-color ring finder-inf tex-site info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs pcase cl-lib password-cache url-vars emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win 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 term/tty-colors 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 obarray 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 x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 635042 91703) (symbols 48 53663 44) (miscs 40 1734 3507) (strings 32 144162 24602) (string-bytes 1 7911285) (vectors 16 79006) (vector-slots 8 1909100 73328) (floats 8 837 845) (intervals 56 7825 9130) (buffers 976 69) (heap 1024 87016 21105)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 15:11:46 2016 Received: (at control) by debbugs.gnu.org; 13 Aug 2016 19:11:46 +0000 Received: from localhost ([127.0.0.1]:56595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYeLS-0004P3-9U for submit@debbugs.gnu.org; Sat, 13 Aug 2016 15:11:46 -0400 Received: from tarrant.klingenberg.no ([80.91.231.253]:51877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYeLQ-0004Os-QJ for control@debbugs.gnu.org; Sat, 13 Aug 2016 15:11:45 -0400 Received: from cm-84.211.197.29.getinternet.no ([84.211.197.29] helo=modesty.getinternet.no) by tarrant.klingenberg.no with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bYeLG-00034p-UD for control@debbugs.gnu.org; Sat, 13 Aug 2016 21:11:40 +0200 Received: by modesty.getinternet.no (Postfix, from userid 502) id 58E8014C17A5; Sat, 13 Aug 2016 21:11:29 +0200 (CEST) To: control@debbugs.gnu.org From: peder@klingenberg.no (Peder O. Klingenberg) Subject: control message for bug #23054 Message-Id: <20160813191129.58E8014C17A5@modesty.getinternet.no> Date: Sat, 13 Aug 2016 21:11:29 +0200 (CEST) X-Spam-Score: -1.5 (-) X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.4 (/) tags 23054 patch From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 10 22:05:02 2016 Received: (at 23054-done) by debbugs.gnu.org; 11 Dec 2016 03:05:02 +0000 Received: from localhost ([127.0.0.1]:37410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFuRi-0003kZ-6Z for submit@debbugs.gnu.org; Sat, 10 Dec 2016 22:05:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFuRg-0003kD-N8 for 23054-done@debbugs.gnu.org; Sat, 10 Dec 2016 22:05:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFuRa-0000WV-RC for 23054-done@debbugs.gnu.org; Sat, 10 Dec 2016 22:04:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFuRa-0000WR-Nv for 23054-done@debbugs.gnu.org; Sat, 10 Dec 2016 22:04:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cFuRZ-0001xu-SB; Sat, 10 Dec 2016 22:04:54 -0500 From: Glenn Morris To: 23054-done@debbugs.gnu.org Subject: Re: bug#23054: 25.1.50; Unqualified recipients are considered bogus by message.el References: X-Spook: Blowpipe UOP China doctrine Emergency Landing Cyber X-Ran: _4y(?'M?fJk:[3V{#*1H[O-_}3{OX1rdc^/{]tm@2|#bG^4YK1\mwQnqHXjc]kT@:a9#E0 X-Hue: brightblack X-Attribution: GM Date: Sat, 10 Dec 2016 22:04:53 -0500 In-Reply-To: (Peder O. Klingenberg's message of "Fri, 18 Mar 2016 17:17:53 +0100") Message-ID: <3soa0j2mju.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 23054-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) Version: 26.1 I suppose anyone who wants this check can customize the option message-bogus-addresses. Applied in f37f93f. From unknown Wed Aug 20 06:04:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 08 Jan 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator