I have a problem with setting up email receiving on various servers and setups.
Ports are open. MX is setuped. Spam filtering disabled, dkim sign check disabled
On vhost’s user page, it seems that it receives the sent emails and shows the time that received one (and it’s true, as i sent the test emails), but nothing appears on the user’s inbox (checked usermin, roundcube and Maildir folder).
Senting emails works.
As i am writing on first post, MX records is properly configured, and firewall has open ports for email.
Moreover, Hetzner is not blocking us any port, we have contacted them already
By default virtualmin will receive/send emails (with firewall set as open), did you run the mxtools to “test email server” as in my screenshot!!
DMARC policy has nothing to do with receiving emails.
A easy test is to ping mail.****.com are you getting the correct IP response.
Yes i can ping to mail.domain.com properly.
MXtoolbox test mail server says: Unable to Connect to SMTP Host Add smtp monitor for mail.***.com
I can’t understand what smtp has to do with receiving. May i miss something here.
Also, on my first post i am saying that postfix receives mails for the user, as it is shown on the screenshot, but doesn’t deliver them to user’s maildir
Simple Mail Transfer Protocol, its transfer mail. MTA’s like postfix use it to transfer mail from one server to another.
If you can’t do a SMTP connection you cant recieve mail.
Its not normal, hard to know. Maybe a bad install but that not normal.
You say use tried on Debian 11 and 12, Rocky/Alma 8 and 9 with same issue.
I’d have to blame your provider as I’ve install dozens of time on Vultr with no issues.
Yeah i know it’s not normal… How could i confirm that hetzner is blocking or not the smtp traffic, except from reasking them by ticket? My problem is the port 25?
I’m sure if there is something wrong with Virtualmin alot more people wound be complaining
As long as you did a standard install as per doc it should all work, no extra config is needed except for creating your virtual servers https://www.virtualmin.com/download/
use this command
@stefan1959 yeah right, but i have started feeling stupid as i have installed virtualmin dozens times in many different servers and never managed to get email (but actually i had never researched the reason, as i always was using zoho for mails).
@Joe Sure, i don’t mean Virtualmin is a mail server, but that probably the setup it does on postfix.
But i cannot find anything, and i am not an expert on email servers.
What i see is that virtualmin on User list, in Email settings, shows the time that user received the last email correctly, but the email is not in the Maildir directory. What service is responsible for this?
None of that matters as long as an outside mail server cannot connect to port 25 on your server. You’re wasting time looking at anything other than why that is.
Procmail is responsible for mail delivery in a default Virtualmin configuration.