[GH-ISSUE #109] [Bug] Send failed (protocol error) on Ubuntu 22.04 #95

Closed
opened 2026-03-03 01:19:46 +03:00 by kerem · 2 comments
Owner

Originally created by @d99kris on GitHub (Aug 14, 2022).
Original GitHub issue: https://github.com/d99kris/nmail/issues/109

nmail version: 3.87

From ~/.nmail/log.txt:

2022-08-14 14:45:16.590 | WARN  | sender name [127.0.0.1]  (smtp.cpp:745)
2022-08-14 14:45:16.590 | ERROR | mailesmtp_ehlo_with_ip(smtp, useip) = MAILSMTP_ERROR_HOSTNAME  (smtp.cpp:131)

Likely introduced with commit ba2a192

Originally created by @d99kris on GitHub (Aug 14, 2022). Original GitHub issue: https://github.com/d99kris/nmail/issues/109 nmail version: 3.87 From `~/.nmail/log.txt`: ``` 2022-08-14 14:45:16.590 | WARN | sender name [127.0.0.1] (smtp.cpp:745) 2022-08-14 14:45:16.590 | ERROR | mailesmtp_ehlo_with_ip(smtp, useip) = MAILSMTP_ERROR_HOSTNAME (smtp.cpp:131) ``` Likely introduced with commit ba2a192
kerem closed this issue 2026-03-03 01:19:46 +03:00
Author
Owner

@d99kris commented on GitHub (Aug 14, 2022):

Standalone test on Ubuntu 22.04 indicates that getnameinfo() fails with errno = 11 in library libetpan.

Will proceed to change the default setting to send_hostname=1 until this is fixed in underlying library (perhaps libetpan or other).

<!-- gh-comment-id:1214297648 --> @d99kris commented on GitHub (Aug 14, 2022): Standalone test on Ubuntu 22.04 indicates that `getnameinfo()` fails with `errno = 11` in library `libetpan`. Will proceed to change the default setting to `send_hostname=1` until this is fixed in underlying library (perhaps libetpan or other).
Author
Owner

@d99kris commented on GitHub (Aug 14, 2022):

For reference, using send_hostname=0 works fine on macOS and Ubuntu 20.04.

<!-- gh-comment-id:1214299483 --> @d99kris commented on GitHub (Aug 14, 2022): For reference, using `send_hostname=0` works fine on macOS and Ubuntu 20.04.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#95
No description provided.