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 26029 invoked from network); 10 Dec 2022 04:01:45 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 10 Dec 2022 04:01:45 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3r3N-00044f-Dq; Fri, 09 Dec 2022 23:01:33 -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 1p3r3L-00044Q-F3 for info-gnus-english@gnu.org; Fri, 09 Dec 2022 23:01:31 -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 1p3r3J-0001rV-AY for info-gnus-english@gnu.org; Fri, 09 Dec 2022 23:01:31 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1EF1B41268; Sat, 10 Dec 2022 05:01:27 +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 5G8okZkdNOpp; Sat, 10 Dec 2022 05:01:25 +0100 (CET) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1670644885; bh=fhAQwwvXxPIXcoRRvOpHB7F8+1kiVlqRdZ6HYliP0Yk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DsO2zAuaZI6izQNZoP4Yxe7mQAYHc8/Yb9ijC14Z0jv6m9ju0ZfFJrKaQUk9+qj63 BaPcaO+Wrhn6maVexikVC5bFOAB6zbTILYVXXgk6nJIF/vnilibQ1irB/uTJ34TyRq JXO2lc6+uRt5d31c6cIkpFaqSyrtMukvWXVY3nhIJ7vTAmV4wBFTW1G/pkmlSapRBC Ikh6bjG8XXCTE0Hm3dXWNnv5PMYLc1ogQFn/zImfEvXBkN0XJo6bfy/mkuaIQTCK26 OZMXl9IVMvxmZNMD1AUU8tac1RL+m6mYuK3f4JYz9bjaE80tEY8xaonKvNpftnOo30 8fpFF2zfFkpSg== Date: Sat, 10 Dec 2022 04:01:25 +0000 From: "jindam, vani" To: =?UTF-8?Q?Bj=C3=B6rn_Bidar?= Cc: Info-gnus English Subject: Re: smtpmail-send-it: Sending failed: 504 5.5.2 : Helo command rejected: need fully-qualified hostname In-Reply-To: <87edt8185z.fsf@thaodan.de> References: <57e3b6e134edf87b43c27eba98068862@disroot.org> <87edt8185z.fsf@thaodan.de> Message-ID: X-Sender: jindam.vani@disroot.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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-09 23:14, Björn Bidar wrote: > Do you really need to add the credentials here? no,its temporary solution. i am setting up slowly and incrementally... right now, connection error is resolved, able to send emails (did not setup anything fancy). > Try without them so > smptmail will try to use auth-source to retrieve the credentials. > > These are my smtpmail settings: > (use-package smtpmail added (require 'smtpmail) to ~/.emacs. i receive error: Debugger entered--Lisp error: (void-function use-package) (use-package smtpmail :config (setq smtpmail-default-smtp-server "disroot.org" smtpmail-smtp-server "disroot.org" smtpmail-smtp-service "465" smtpmail-stream-type 'ssl smtpmail-servers-requiring-authorization ".*")) eval-buffer(# nil "/home/jin/.gnus" nil t) ; Reading at buffer position 795 load-with-code-conversion("/home/jin/.gnus" "/home/jin/.gnus" nil t) load("~/.gnus" nil t) gnus-read-init-file() gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus record nil) command-execute(gnus record) execute-extended-command(nil "gnus" "gnu") funcall-interactively(execute-extended-command nil "gnus" "gnu") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) are you referring to smtpmail-multi on melpa?(1) > :config > (setq smtpmail-default-smtp-server "smtp.server.de" > smtpmail-smtp-server "smtp.server.de" > smtpmail-smtp-service "465" > smtpmail-stream-type 'ssl > smtpmail-servers-requiring-authorization ".*")) > > For me these work like this, smtpmail will try to retrieve the > localdomain and sendto-domain by itself. > > If you add either to the hosts file they should be fine. added 178.21.23.139 disroot.org to /etc/hosts jin@localhost:~$ nslookup disroot.org Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: disroot.org Address: 178.21.23.139 (1) https://melpa.org/#/smtpmail-multi regards, jindam, vani -- toots: @jindam_vani@c.im others: en.wikipedia.org/wiki/User:Jindam_vani