Set virtual server domain to send email (from Thunderbird email client) to external email hosting

Situation: After I installed virtualmin, I receive email on domain.tld (in Thunderbird). The contact form on my website can send a message to my email: info@domain.tld

Problem: I cannot send email using domain.tld (in Thunderbird email client)

Question: how to fix it?


I tried the following, see printscreen:

  • but sending an email (using Thunderbird) does not work

  • DNS settings:
A mail.domain.tld server_IP


MX hostname: domain.tld Value: mail.domain.tld 14400 (is this correct?) -
I copied postfix in Virtualmin>configure>SSL certificate

Copying certificate, key and CA to Postfix files ..
.. wrote out certificate in /etc/postfix/postfix.cert.pem and key in /etc/postfix/postfix.key.pem
Enabling SSL in Postfix configuration ..
.. done


I restarted:

/etc/init.d/saslauthd restart 

and to be certain:

sudo reboot


- master.cf

/etc/postfix/master.cf

https://i.imgur.com/aB2Y60O.png
- I don't see 'delete aliases when sending email' (which I read in another thread on this forum): https://imgur.com/a/sY5zFQT


Question:

What

sudo commands

do I need to enter in the console in order to troubleshoot? (I have SSH root access.)

Status: 
Closed (won't fix)
Virtualmin version: 
6.16
Webmin version: 
1.973

Comments

Ilia's picture
Submitted by Ilia on Tue, 05/25/2021 - 06:11

Hello,

We hope you're having a nice day!

We would like to ask you to use Virtualmin Forums for getting support. This issue tracker is for folks using Virtualmin Pro only.

I cannot send email using domain.tld (in Thunderbird email client)

After taking a quick glance at the logs from your screenshots, it seems that connection on port 25 is getting timed out. Usually it happens if port 25 is being blocked by your cloud provider to prevent spam. On the other hand, some providers like GCP (Google Cloud Platform) don't have mail support at all, and some like Vultr can open port 25 for each user individually after filling a request ticket to their support.

Kind regards, Ilia.

Ilia's picture
Submitted by Ilia on Tue, 05/25/2021 - 06:11

Status: Active ยป Closed (won't fix)