Score:1

How to send an ehlo test e-mail from calibre?

mx flag

An excerpt from a failed test e-mail in calibre

Starting job: Email book to [email protected] 
connect: to ('smtp.ionos.com', 587) None 
reply: b'220 perfora.net (mreueus004) Nemesis ESMTP Service ready\r\n' 
reply: retcode (220); Msg: b'perfora.net (mreueus004) Nemesis ESMTP Service ready' 
connect: b'perfora.net (mreueus004) Nemesis ESMTP Service ready' 
send: 'ehlo mordor.foo.bar.com \r\n' 

I've modified the @kindle.com com address for privacy in the first line, and in the last line, am using foo and bar as well. Otherwise, it's a precise excerpt.

Using the old pine client, now known as alpine, the settings are:

nicholas@mordor:~$ 
nicholas@mordor:~$ cat .pinerc | head -n 30 | tail -n 10

# List of SMTP servers for sending mail. If blank: Unix Alpine uses sendmail.
smtp-server=smtp.ionos.com:587/tls/[email protected]

# NNTP server for posting news. Also sets news-collections for news reading.
nntp-server=

# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
# Normal Unix default is the local INBOX (usually /var/spool/mail/$USER).
inbox-path={imap.ionos.com:993/ssl/[email protected]}INBOX
nicholas@mordor:~$ 
nicholas@mordor:~$ hostname
mordor
nicholas@mordor:~$ 
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy
nicholas@mordor:~$ 
nicholas@mordor:~$ calibre --version
calibre (calibre 5.37)
nicholas@mordor:~$ 

From the calibre an ehlo test is being sent to [email protected] whereas it should be being sent to [email protected] as specified. While I've not included a screenshot, the settings for calibre don't include the hostname above.

Why is calibre using the local machine's hostname for the FQDN of the SMTP server when no such setting has been explicitly set?

(It doesn't have to be a test e-mail, sending actual epub files generates similar errors. Just looking to send epubs with calibre but looking at the test e-mail to determine what the problem is.)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.