Question
Trying to set up postfix on Ubuntu 14.04
I am trying to set up postfix for an smtp server for my company.
I am using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04
Everything seems to work until I get to testing it by sending an email. I have set up my A and MX recordfor the mail server (hopefully).
I am trying to use virtualaliasmaps in my /etc/postfix/main.cf file, because everyone in the company needs a separate email address.
When I try to send an email my personal account to what will be my company email, and look it /var/mail/my_name it does not show anything. Neither will it when I use mail from mailutils
I am sorry I don’t have much information to give you all, I am trying to start over and work through it again to see if I can get it right this time.
When I first enter postfix and set up the internet site for sending, the fqnd should be mail.devplateau.com or just devplateau.com?
Thank you for reading, and any help will be appreciated. Just ask for more information and I will be happy to give it you.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Actually, setting up your own mail server may difficult, but not impossible.
What about using mailserver suites? and here is a painless option: Mailcow
Mailcow is easy to install. It gives a admin panel to configuration, adding domains, accounts, virtual mailboxes, managing spam protection etc. And also have roundcube or SOGO webmail options.
Mailcow needs
and also a domain, a subdomain for mailcow administration panel like mail.yourcompany.com and SSL
Installation guide: https://github.com/mailcow/mailcow#installation
Detailed wiki for post-install config https://github.com/mailcow/mailcow/wiki
Website https://mailcow.email/
Hi @selcukahmet,
Thank you for the suggestion. I set this up yesterday and it works perfectly.
I was also wondering if you might know why I cannot get any messages received my the mailboxes I have set up with mailcow?
I have a look around, and I have found that some people had it that inet_interfaces was not set to all but mine is.
Any help would be appreciated.
@deusMach88
First ensure that fully setting-up your DNS records and don’t forget PTR ( with changing your droplet name as mail.example.org) and ensure that ports not restricted by firewall
So finally check your mail server with
https://mxtoolbox.com/
With
Postfix can use both of IPv4-6. So you can leave as “all”.
otherwise you can specify as which is match with your needs:
and