On Tue, 13 Oct 2020, Jason Long wrote:
I have an Internet domain name and a Linux server and I want to have an
email server for send and receive emails. For example, if my domain is
"example.net" then I want to have a "i...@example.net" address for send
and receive emails from the Internet.
But then why no MX record?
It's absolutely common, normal and expected to have an MX record so that
other MTAs know where you actually want to have your mail delivered.
I'd advise you to first read about postfix (i.e. the manual), rather than
some random outdated tutorials (do you use the same nickname at the Debian
forum? :)
Cheers.
On Tuesday, October 13, 2020, 06:09:06 PM GMT+3:30, IL Ka
<kazakevichi...@gmail.com> wrote:
What are you trying to achieve?
There are alot of scenarios where Postfix may be used:
* "Send only" email server for your website (to give your website ability to
send emails). You never receive any emails from the outside.
* Forward only: it just accepts mails from your apps, and sends them via smart
host (SMTP server of your provider). Some people run it on their laptops)
* Email hosting: users send and receive emails with your Postfix (as they do
with Gmail, for example)
etc
It is important to choose a scenario, because if you only need to send emails
from your website, then you do not need dovecot nor MX record and you even do
not need to listen for incoming connections to the public port, but you may
need DKIM and SPF.
In the "forward only via smart host" scenario you need almost nothing: no MX,
no SPF/DKIM, no public port.
If you want to receive emails, then having an MX record is a good idea.
You would also need to listen public port for incoming connections, and may be
one more port for clients (465 or 587)
On Tue, Oct 13, 2020 at 5:19 PM Jason Long <hack3r...@yahoo.com> wrote:
Thank you for all of your messages.
With that tutorial, which record or port is needed?
On Tuesday, October 13, 2020, 04:31:34 PM GMT+3:30, Wietse Venema
<wie...@porcupine.org> wrote:
Jason Long:
Hello,
Can I use Postfix without MX record? I installed Postfix and?Dovecot
via "https://wiki.centos.org/HowTos/postfix" tutorial and I want
to know can I use it without MX record?
The SMTP standard (RFC 2821) does not *require* MX records. Some
uninformed mail operators may require one, but those are rare.
Wietse