Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "jindam, vani" <jindam.vani@disroot.org>
To: "Björn Bidar" <bjorn.bidar@thaodan.de>
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 04:01:25 +0000	[thread overview]
Message-ID: <e1d6d2384edb05f58f537f33338c2e54@disroot.org> (raw)
In-Reply-To: <87edt8185z.fsf@thaodan.de>

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(#<buffer  *load*> 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


  reply	other threads:[~2022-12-10  4:01 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
2022-12-10  4:01     ` jindam, vani [this message]
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=e1d6d2384edb05f58f537f33338c2e54@disroot.org \
    --to=jindam.vani@disroot.org \
    --cc=bjorn.bidar@thaodan.de \
    --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).