0

I have postfix in rhel 7.7 and in system I have users such as root, james, peter etc. My FQDN of server is zwados.yutery.com and hostname is zwados. I need to send a mail from here from user [email protected] to [email protected]. Now how can I configure or create this domain gedyuyu.com which is just a domain in my machine zwados?

I am thinking in terms of hmail server in Windows where you can add domains in a Windows OS machine and then under that domain add users. You don't have to purchase domains in hmail server as they are locally viable.

7
  • You can setup a nameserver. Then, if your server is zwados.yutery.com, make the e-mail like mail.yutery.com.
    – Overmind
    Apr 28, 2020 at 6:54
  • By nameserver you mean to say I can create a domain like @gedyuyu.com ? Apr 28, 2020 at 7:16
  • Here's a setup example: tecmint.com/setup-local-dns-using-etc-hosts-file-in-linux
    – Overmind
    Apr 28, 2020 at 7:34
  • It doesn't tell how to setup multiple domains - Like I want to have domains with same IP gedyuyu.com 172.16.4.5 kiop.com 172.16.4.5 Apr 28, 2020 at 8:56
  • It is really simple, because you can create as many zones (aka domains) as you want. Any host on those domains can point to the same IP address. So you could host domain.com and domain.net on the same server and let them point to the same IP address. I host 4 mail domains that way. Apr 28, 2020 at 10:53

0

You must log in to answer this question.

Browse other questions tagged .