Hi,
This is my first mail server installation attempt and I need help
locating and fixing one or several issues.
I followed Gilles's post here:
https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/
I am running a Debian 12 server hosted at OVH. It's a fresh VPS, and the
domain I'm using for that test is ivanroth.fr, with the subdomain
mail.ivanroth.fr as advised in the article.
DNS and rDNS seems fine, host and dig reply what they are supposed to.
On the server, I created an account with my first name (ivan) and I am
using i...@ivanroth.fr as the test mail address.
Now comes the issue.
* I can send mail from local server to the outside using mutt (and
having it configured to use the Maildir folder).
* I can access my server from Thunderbird, reading folders (the Sent
folder gets populated correctly)
* I can receive local mail sent from system (I was not in the sudoers
file and got the mail addressed to root because root is aliased to
ivan in the aliases file)
but
* I cannot send a mail to myself (i...@ivanroth.fr) using mutt from
the server
* I cannot send from the outside to that address
* I cannot send from that address using Thunderbird
When looking at systemctl status opensmtpd, I see some errors I don't
understand like :
debian opensmtpd smtp-out: No valid route for
[connector:[]->[relay:ivanroth.fr,smtp],0x0]
I don't really know where to start digging. If someone could point me to
some direction, it would be nice.
Let me just say that I'm not a server administration noob (not a pro at
all but I'm pretty used to web server administration) but, for some
reason, the mail issue remains completely obscure to me. Please show me
the light :)
Ivan