Hi folks. I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains. Cheers, Bee
Read up on Postfix (SMTP) and Dovecot (POP3 and IMAP). (Sendmail is available as an alternative to Postfix.) Additional services you'll want include MIMEDefang (general filter management), SpamAssassin (anti-spam), and ClamAV (anti-virus scanning). Other useful services include OpenDKIM (validates that mail really came from the domain it claims to have come from), Roundcube (web-based email client), and Certbot (acquire a LetsEncrypt cert for your mail servers). You might want OpenLDAP for authentication, identity management, and address books. Fail2ban can help keep the script kiddies out of your services. Running a mail server requires knowledge of many different services and awareness of many security issues. You have your work cut out for you.
On Sat, Sep 29, 2018 at 04:51:07PM -0400, Bee.Lists wrote:> Hi folks. > > I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. > > Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains.Save yourself the effort, time, headaches and eventual bloody tears of impotent rage and just go with Google or some other provider. Running a mail server properly is one of the more difficult tasks and quite often not worth the time and trouble, especially if one is asking about it on a list such as this. John -- Since when do we have to agree with people to defend them from injustice? -- Lillian Hellman (1905-1984), American playwright -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20180929/e19c536f/attachment-0001.sig>
On 29/09/2018 21:51, Bee.Lists wrote:> Hi folks. > > I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. > > Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains.Have a look at this tutorial: 'How to set up a mail server on a GNU / Linux system' < http://flurdy.com/docs/postfix/ > It focuses on Ubuntu but much should apply to CentOS too. (By the way, does anyone know of a CentOS-centric tutorial covering the same subject?). As others have said, running a mail server is not easy today (major issues are (a) preventing spam distribution and, increasingly, (b) deliverability to major email providers even if you have done nothing wrong) but this is a technical mailing list for people who have deliberately chosen to run CentOS. We all have to start somewhere and this is as good a place as anywhere. But be aware that running a mail server is a big commitment to time and maintenance. -- Mark Rousell
try "free" linux groupware like Kolab, Citadel or Zimbra. they will give you easy installation and easy user/mailbox management. On 09/30/2018 12:51 AM, Bee.Lists wrote:> Hi folks. > > I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. > > Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains. > > > Cheers, Bee > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Hello, For last several years I used SurgeMail server. For I think three or five accounts it is free. Works very good. I had only one problem - it was down for two month because of screwed CentOS update. After couple of updates it went back working. Configuration is web GUI and is pretty good. Mikhail Utin ________________________________ From: CentOS <centos-bounces at centos.org> on behalf of Bee.Lists <bee.lists at gmail.com> Sent: Saturday, September 29, 2018 16:51 To: Submit CentOS Subject: [CentOS] email Server for CentOS 7 Hi folks. I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains. Cheers, Bee _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos
Just to add. SurgeMail if available is very easy to install and run. I had the problem to get a server without going to complex configuration for my small company and it is possibly the best and reliable. Mikhail Utin ________________________________ From: CentOS <centos-bounces at centos.org> on behalf of Bee.Lists <bee.lists at gmail.com> Sent: Saturday, September 29, 2018 16:51 To: Submit CentOS Subject: [CentOS] email Server for CentOS 7 Hi folks. I?m looking for an email server. I have a C7 box already with nginx, PostgreSQL, Sinatra and Ruby. So I don?t want to install PHP, Apache, MySQL, etc. Are there any ways/tutorials to set up a mail server under those restrictions? It would serve multiple domains. Cheers, Bee _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos
> On 29. Sep 2018, at 23:58, John R. Dennison <jrd at gerdesas.com> wrote: > > Save yourself the effort, time, headaches and eventual bloody tears of impotent > rage and just go with Google or some other provider. Running a mail > server properly is one of the more difficult tasks and quite often not > worth the time and trouble, especially if one is asking about it on a > list such as this.I fully agree with most of the former, except for the Google part. Google is to privacy what a shark pool is to a carp. If possible, avoid Google at all cost, and particularly for E-Mail. There are services around that cost a very small amount of money (e.g. mailbox.org or posteo.de), provide a very reasonable service and do *not* peek into your mail for advertisement targets and sell your data to their customers. If you want to run your own mail server (there are good reasons to do so, I've been running my own services for many years now) be prepared for a learning curve, as mail is not as simple and straightforward as it looks. You should also run your own DNS in that case, as many modern features of secure mail services are tightly linked to DNS (e.g. SPF, DKIM, DMARC etc.). DNSsec is preferred. There are some good books around (e.g. the Postfix/Dovecot books by Peer Heinlein, who incidentally is the owner of the mailbox.org service, but the Postfix book only seems to be available in German). Without a good foundation on running mail servers and/or some help from experienced mail server operators you're almost certain to screw up big time, which in most cases means ending up on some blacklists or having mail delivered very unreliably. As for the software question, I recommend the Postfix/Dovecot setup, enriched with some additional components to support graylisting, virus checking, spam filtering, DKIM, DMARC and SPF. Pete.
On Sun, 30 Sep 2018 12:54:59 +0000 Promise Kumalo wrote:> try "free" linux groupware like Kolab, Citadel or Zimbra. they will > give you easy installation and easy user/mailbox management.SOGo is also not bad. Furthermore, there are Horde, eGroupware, Kopano, Tine. - Chris