Postfix+dovecot domain configuration

Hi!
I'm configured postfix+dovecot(on already working server with LEMP) to handle email by this guide https://linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql/
but i'm left little confused in which way i can make right configuration to handle mails with mail@domain.com instead of mail@mail.domain.com
Would be happy to get any advice where i need make needed configuration changes to do that.
Thanks.

2 Replies

As long as you have an MX record that points to 'example.com' and 'example.com' points to your linode, then any address at 'example.com' will go to your Linode. You may still need to add the address to your mailserver's database however.

Great! Thank you! I thought that i need to change some confingurations of dovecot and postfix, but it works even without it) all what I needed it's add some SPF and DKIM records in dns panel

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct