Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 12-28-2022, 09:00 PM   #1
NSAUNDERS
Junior Member
NSAUNDERS began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2022
Device: kindle
Question How to send an ehlo test e-mail from calibre?

An excerpt from a failed test e-mail in `calibre`

Starting job: Email book to fake6546565345@kindle.com
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/user=foo@bar.com

# 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/user=foo@bar.com}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 `foo@mordor.bar.com` whereas it should be being sent to `foo@bar.com` 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.)


see also:

https://askubuntu.com/q/1447597/847449
NSAUNDERS is offline   Reply With Quote
Reply

Tags
email, epub, kindlde


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 6.0 send via e-mail timeout 10060 jovialsteve Devices 3 07-16-2022 02:46 AM
Nova Pro trying to Send Mail? (calibre companion?) RachelUte Onyx Boox 0 04-10-2020 10:22 PM
Calibre can't send mail? alexbfree Devices 23 02-04-2018 05:44 PM
Calibre won't send books despite test mail works cashew Library Management 1 10-03-2016 08:18 AM
Possible to auto-send specific news feeds to different e-mail address using Calibre? wattsmart Calibre 12 08-06-2013 07:46 AM


All times are GMT -4. The time now is 11:57 AM.


MobileRead.com is a privately owned, operated and funded community.