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 16463 invoked from network); 9 Dec 2022 05:08:26 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 9 Dec 2022 05:08:26 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3VcI-0001h6-7c; Fri, 09 Dec 2022 00:08:10 -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 1p3VcD-0001dR-0B for info-gnus-english@gnu.org; Fri, 09 Dec 2022 00:08:06 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3Vc6-0001R6-WB for info-gnus-english@gnu.org; Fri, 09 Dec 2022 00:08:04 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AEB5040FDD for ; Fri, 9 Dec 2022 06:07:56 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jdOMsYAaN5ds for ; Fri, 9 Dec 2022 06:07:55 +0100 (CET) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1670562475; bh=wVebKpx3zh4jopomcz86xAMA936G1seDNOILGiiEkkE=; h=Date:From:To:Subject:In-Reply-To:References; b=c2kQTQs6m0yYdgGKg+ynyeN24dXDYhTX+yb7nMyV0lIpGD4JIL9pS7LR3tanhlp1/ pixICbPeswgpIn4r6gHEGSWXSafSWvWpRiQSAs+qhPMQU4+/OVcXNVLegvHFGjny9J ByYlhbY6aG6rziFM7qSoeRVYfhMW0qOQBYRh0PcYXLC/FS3kWwnRy/ESsWOOGB8Mzd ZzLfAqmOPSedW2JlR4HVDuzKxTWp73nQ9Jwqtu9Bu+Vj5ObPalxzeoePuXzdzi8VTs 6Bj7xF1HemWQWtwvPygIbcH/CMpOs1hJk5dGyxN9o0skT21fTB5JA4enhjsrXmATIx YPKb3NEaRuXjw== Date: Fri, 09 Dec 2022 05:07:54 +0000 From: "jindam, vani" To: Info-gnus English Subject: Re: smtpmail-send-it: Sending failed: 504 5.5.2 : Helo command rejected: need fully-qualified hostname In-Reply-To: <57e3b6e134edf87b43c27eba98068862@disroot.org> References: <57e3b6e134edf87b43c27eba98068862@disroot.org> Message-ID: X-Sender: jindam.vani@disroot.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=jindam.vani@disroot.org; helo=knopi.disroot.org 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_NONE=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 On 2022-12-08 17:56, jindam, vani wrote: > * emacs on debian bullseye on userland (1) > * the documentation(2) says about 501 helo command. > * complete error: > Debugger entered--Lisp error: (error "Sending failed: 504 5.5.2 > : Helo command rejected: need fully-qualified hostname") > signal(error ("Sending failed: 504 5.5.2 : Helo command > rejected: need fully-qualified hostname")) > error("Sending failed: %s" "504 5.5.2 : Helo command > rejected: need fully-qualified hostname") > > * my hostname settings: > > $ hostname > localhost > > $ cat /etc/hosts > 127.0.0.1 localhost > > $ cat /etc/hostname > localhost > > * my configs: > ** .gnus > (setq gnus-select-method '(nnnil "")) > > (add-to-list 'gnus-secondary-select-methods > '(nnmaildir "" > (directory "/home/jin/.Maildir/") > (get-new-mail t) > (directory-files nnheader-directory-files-safe))) > > (setq mail-user-agent 'gnus-user-agent) > (setq read-mail-command 'gnus) > > (setq mail-sources > '((pop :server "disroot.org" > :user "jindam.vani@disroot.org" > :password "password"))) > > (setq message-send-mail-function 'smtpmail-send-it) > (setq smtpmail-default-smtp-server "disroot.org") > (setq smtpmail-smtp-service 587) > > ** .msmtprc > (output of $ msmtp --configure jindam.vani@disroot.org > # - copy this to your configuration file /home/jin/.msmtprc > # - add your password to the key ring: > # secret-tool store --label=msmtp host disroot.org service smtp > user jindam.vani > account jindam.vani@disroot.org > host disroot.org > port 587 > tls on > tls_starttls on > auth on > user jindam.vani > from jindam.vani@disroot.org > > ** getmailrc > [options] > delete = True > read_all = true > > [retriever] > type = SimplePOP3SSLRetriever > server = disroot.org > username = jindam.vani@disroot.org > password = password > > [destination] > type = Maildir > path = ~/.Maildir/INBOX/ > > how do i resolve? > > (1) https://github.com/CypherpunkArmory/UserLAnd > (2) > https://www.gnu.org/software/emacs/manual/html_node/smtpmail/Server-workarounds.html#index-smtpmail_002dlocal_002ddomain > > regards, > jindam, vani hello again..... not an ideal solution. i was resistant to add smtpmail-local-domain after reading server workarounds.(1) however, the issue is resolved by adding code given on our mailing list archive.(2) * modified .gnus: (setq gnus-select-method '(nnnil "")) (add-to-list 'gnus-secondary-select-methods '(nnmaildir "" (directory "/home/jin/.Maildir/") (get-new-mail t) (directory-files nnheader-directory-files-safe))) (setq mail-user-agent 'gnus-user-agent) (setq read-mail-command 'gnus) (setq mail-sources '((pop :server "disroot.org" :user "jindam.vani@disroot.org" :password "password"))) (setq message-send-mail-function 'smtpmail-send-it) (setq smtpmail-default-smtp-server "disroot.org") (setq smtpmail-local-domain "domain") (setq smtpmail-sendto-domain "domain") (setq smtpmail-smtp-server "disroot.org") (setq smtpmail-smtp-service 587) (setq smtpmail-auth-credentials '(("disroot.org" 587 "jindam.vani@disroot.org" "password"))) (setq smtpmail-starttls-credentials '(("smtp.server" 587 nil nil))) tried to change hostname given at linuxhandbook website.(3) i have modified both /etc/hosts & /etc/hostname, it was showing same error: jin@localhost:~$ cat /etc/hostname jindam.home jin@localhost:~$ cat /etc/hosts 127.0.0.1 jindam.home # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts (1) https://www.josefsson.org/smtpmail.html#Server-workarounds (2) https://lists.gnu.org/archive/html/info-gnus-english/2006-03/msg00157.html (3) https://linuxhandbook.com/debian-change-hostname/ regards, jindam, vani -- toots: @jindam_vani@c.im others: en.wikipedia.org/wik//User:Jindam_vani