Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "jindam, vani" <jindam.vani@disroot.org>
To: Info-gnus English <info-gnus-english@gnu.org>
Subject: smtpmail-send-it: Sending failed: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname
Date: Thu, 08 Dec 2022 17:56:27 +0000	[thread overview]
Message-ID: <57e3b6e134edf87b43c27eba98068862@disroot.org> (raw)

* 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 
<localhost>: Helo command rejected: need fully-qualified hostname")
   signal(error ("Sending failed: 504 5.5.2 <localhost>: Helo command 
rejected: need fully-qualified hostname"))
   error("Sending failed: %s" "504 5.5.2 <localhost>: 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

-- 
toots: @jindam_vani@c.im
others: en.wikipedia.org/wik//User:Jindam_vani


             reply	other threads:[~2022-12-08 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 17:56 jindam, vani [this message]
2022-12-09  5:07 ` jindam, vani
2022-12-09 23:14   ` Björn Bidar
2022-12-10  4:01     ` jindam, vani
2022-12-10 13:42     ` jindam, vani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57e3b6e134edf87b43c27eba98068862@disroot.org \
    --to=jindam.vani@disroot.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).