mirror of
https://github.com/d99kris/nmail.git
synced 2026-04-26 09:46:01 +03:00
[GH-ISSUE #97] [Bug] Fail to connect to mail account after changing computer's hostname #84
Labels
No labels
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nmail#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @krackout on GitHub (Mar 31, 2022).
Original GitHub issue: https://github.com/d99kris/nmail/issues/97
Originally assigned to: @d99kris on GitHub.
I changed my computer's hostname and after that nmail opened, but could not connect. After I restored the hostname (
hostnamecommand, no reboot), closed-reopened nmail, it could connect again.Can't tell if it's looking for runtime initial setup hostname or compile time hostname.
@d99kris commented on GitHub (Mar 31, 2022):
Could you share which email service you are using? And also which OS/distro?
I'd like to try reproduce the problem.
@krackout commented on GitHub (Mar 31, 2022):
gmx.com mail provider, IMAP enabled; free service, you can give it a try.
Debian 11 Bullseye, 64bit, fully updated. Compiled and run on the same machine.
@d99kris commented on GitHub (Mar 31, 2022):
Thanks 👍 Will try it out!
@d99kris commented on GitHub (Apr 3, 2022):
I'm not able to reproduce this issue. I tried
Debian 11 Bullseyewithgmx.com. Both IMAP login (initial connecting) and SMTP login (sending emails) are working fine after renaming hostname - both temporarily usinghostnameor permanently editing/etc/hostname.If you encounter this again, perhaps you can capture the log
~/.nmail/log.txtand share it with me - you can send privately tod99kris at gmail dot com. Ideally running nmail with--verboseflag, but a regular log may be useful as well.Hostname shouldn't really affect anything important in
nmail. The hostname is only used as part ofMessage-Idand in SMTP authentication, but I don't see how different hostname would cause any issues - unless it contains some type of special character perhaps.@krackout commented on GitHub (Apr 3, 2022):
I tried again just now, no such problem occurred. I really double checked it when it occurred, to be certain that there was such an issue. Sorry for the fuss, feeling a bit embarrassed I'm closing the issue.
@d99kris commented on GitHub (Apr 3, 2022):
No worries, it could very well be an actual bug with some random intermittent behavior. But yeah if not seen now, let's close it for now and re-open if it re-appears.