I recently installed neomutt
on my fresh Arch installation. I setup my .muttrc as follows:
# Receive mail
set imap_user = [email protected]
set folder = imap://imap.example.org/
set spoolfile = +INBOX
# Send mail
set realname = 'name'
set from = [email protected]
set use_from = yes
set smtp_url = smtp://$imap_user:[email protected]
set ssl_starttls = yes
set editor = nano
set record = +Sent
mailboxes =INBOX
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
set header_cache = ~/.cache/mutt
# Allow Mutt to open a new IMAP connection automatically.
unset imap_passive
# Keep the IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
# How often to check for new mail (time in seconds).
set mail_check = 120
Note: according to neomutt's documentation, the rc file can be called .muttrc
, so that's not an issue
I can receive emails without any issues. The problem comes when I try to send an email. I get the following error message:
Could not connect to smtp.example.org (No route to host).
When I do ping smtp.example.org
I get:
PING example.org (11.111.111.111) 56(84) bytes of data.
64 bytes from vn.example.org (11.111.111.111): icmp_seq=1 ttl=52 time=92.7 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=2 ttl=52 time=93.4 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=3 ttl=52 time=94.6 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=4 ttl=52 time=95.1 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=5 ttl=52 time=92.9 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=6 ttl=52 time=93.3 ms
64 bytes from vn.example.org (11.111.111.111): icmp_seq=7 ttl=52 time=91.8 ms
Which tells me this must be a problem on my side, not from the server. I have already tried to change my configuration, check for any invisible characters on the smtp url, reseting my PC and my router, but the problem persists.
Can someone tell me why is this happening and how can I fix it in order to send emails?
Thank you very much!
telnet smtp.example.org 25
andtcptraceroute smtp.example.org 25
? And with port 465 (SMTPS)?