Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: "jindam, vani" <jindam.vani@disroot.org>
Cc: Info-gnus English <info-gnus-english@gnu.org>
Subject: Re: smtpmail-send-it: Sending failed: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname
Date: Sat, 10 Dec 2022 01:14:48 +0200	[thread overview]
Message-ID: <87edt8185z.fsf@thaodan.de> (raw)
In-Reply-To: <fa3a8ab5cd624cb78d7949dab93c6e42@disroot.org> (vani jindam's message of "Fri, 09 Dec 2022 05:07:54 +0000")


Do you really need to add the credentials here? Try without them so
smptmail will try to use auth-source to retrieve the credentials.

These are my smtpmail settings:
      (use-package smtpmail
        :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.

Br,

Björn


  reply	other threads:[~2022-12-09 23:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 17:56 jindam, vani
2022-12-09  5:07 ` jindam, vani
2022-12-09 23:14   ` Björn Bidar [this message]
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=87edt8185z.fsf@thaodan.de \
    --to=bjorn.bidar@thaodan.de \
    --cc=info-gnus-english@gnu.org \
    --cc=jindam.vani@disroot.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).