@DownPW said in Tutorial for secure emailing with personal domain,Cloudflare, virtualmin and postfix:
a postfix to secure the email.
Postfix by default will attempt TLS opportunistic knocking - a process that determines which protocols the receiving host will allow and will then perform a handshake which establishes contact based on those protocols (provided both ends support it - which in most cases, they do). Security between connecting domains is typically certificate based, although you require one certificate minimum for each domain you will be connecting to. As you can imagine, this is not really feasible unless you forward all mail to a relay host and secure that channel with a certificate.
However, at that point, you are trusting the relay host to send the email in a secure manner which may not always be the case.
@DownPW said in Tutorial for secure emailing with personal domain,Cloudflare, virtualmin and postfix:
OK so how to test to see if it works correctly ?
By default, each domain created in Virtualmin will have a corresponding email account for each domain. For example
As you can see from this example, there is a mail account added here. By default, Virtualmin based domains have email which is accessible at https://yourserver.com:20000
where you can login to that same portal, and access mail sent and received for that domain.
If you wanted to define the below
SMTP_HOST=xxxx.example.com
SMTP_FROM=xxxx@example.com
SMTP_FROM_NAME=xxxx
SMTP_PORT=587
It could look something like the below
SMTP_HOST=vps.mydomain.com # This is the name of the Virtualmin instance itself
SMTP_FROM=user@mydomain.com # Change this to the sender email address you want to use
SMTP_FROM_NAME=xxxx # Change this to the sender name, for example, "John Smith"
SMTP_PORT=587 # Change this to the port number that the server will answer on. Postfix by default will listen on a variety of ports, with 587 being one of them.
@DownPW said in Tutorial for secure emailing with personal domain,Cloudflare, virtualmin and postfix:
and I look at the postfix config in virtualmin, but I don’t see what values are declared.
You should not have to modify Postfix in any way unless there is a specific reason to do so.
@DownPW said in Tutorial for secure emailing with personal domain,Cloudflare, virtualmin and postfix:
And I still have DNS configuration problems at Cloudflare
By this, do you mean the absence of DKIM
, DMARC
and SPF
or other issues?