Welcome to Centmin Mod Community
Register Now

Email server on Centminmod

Discussion in 'Feature Requests & Suggestions' started by pamamolf, Feb 28, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:11 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi


    It will be great if we can have a mail server (like iredmail) as addon so we can use emails in form @mydomain.com :)

    Thank you
     
  2. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    4:11 PM
    1.9.12
    10.0.23
  3. eva2000

    eva2000 Administrator Staff Member

    54,068
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    1:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah already stated my stance, Centmin Mod will never have email pop/imap self hosted email server as I do not intend to provide any free tech support or assistance with the configuration, misconfiguration or email delivery, spam and blacklist issues or DNS setup parameters. There's just too many non-centmin mod outside external factors that can cause email delivery issues, spam or blacklisting issues. That is why i recommend only using 3rd party @domain providers see @yourdomain.com email hosting - CentminMod.com LEMP Nginx web stack for CentOS and discussion at Email - Free @yourdomain.com Email Accounts & Alternatives | Centmin Mod Community
     
  4. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    11:11 PM
    Mainline
    10.2
    I am using this for over a year now (y)
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:11 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    OK thanks :)

    @RoldanLT

    Does it works on Centos 7? Any tutorial for installing and configuring it?
     
  6. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    11:11 PM
    Mainline
    10.2
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:11 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    As i can see it must be installed outside of a centminmod server.....

    @RoldanLT

    If you setup ns1.domain1.com and ns2.domain1.com on the extra mail server how then you can point the DNS also to the Centminmod server?

    How i will be able to add other emails like user2@domainx.com ?

    DNS confusion :)
     
    Last edited: Feb 28, 2016
  8. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    10:11 AM
    latest
    10
    I wish that Centminmod provided support for an email server stack similar to iRedmail and mail-in-a-box, ie. Postfix, Dovecot, Roundcube (or alternative), ClamAV, postgrey (optional). The goal would be to provide the basic installation while disclaiming support and with the caveats that use of the server for mass-mailing or as a public email service can lead to problems such as email bans for the entire domain.

    I think some people would like to have multiple hosted email boxes while making use of outside email services to do email marketing and other mass mailings. An email server that is used for routine boxes such as contact with subscribers will not be likely to run afoul of black lists. I have used them for years without problems. Mass mailings can best be done using one of the services discussed on this and other threads.
     
  9. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    10:11 AM
    latest
    10
    MailCow mailserver suite looks like it is up to date and modularized/dockerized.
     
  10. wmtech

    wmtech Active Member

    172
    44
    28
    Jul 22, 2017
    Ratings:
    +128
    Local Time:
    4:11 PM
    I like iredmail much better compared to Mail-in-a-Box.

    But no matter what you use, you need a blank cloud server to start. But be prepared to a lot of work and hassles because running a good mail server needs a lot of knowledge and administration.

    For people not used to DNS, networking and server administration I would strongly recommend to use an external email provider from the list @eva2000 posted above.
     
  11. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    10:11 AM
    latest
    10
    I have used iRedmail and Virtualmin/Webmin. The email servers were not difficult to install or manage. Problems came from blocked SMTP ports at the VPS and black-listing of URLs because of previous users of address. If you are using a VPS or other host that provides a URL from a block that has 'bad actors', you stand a chance that your server will be blacklisted as part of the block, particularly is several had been used for spamming or attacks.

    I do not agree that email servers are difficult. What is more difficult is trying to use them to do mass-emailing. If the intent is to maintain control of the use of the server and not allow clients or the public use it for sending out large numbers, I do not see a problem.
    iRedmail and MailCow have ways to set outgoing rate limits. These can also be set directly in Postfix and in MailCow's Rspamd spam filtering module.
    I am considering setting up a VPS mail server and will likely use MailCow. It is more actively being supported and is free/donation whereas the pro version of the once free iRedmail is outrageous.

    The problem with email is that the industry had made security and authentication a minor concern until the past few years as spam and attacks on servers grew to unmanageable proportions. This has made it difficult for those with the legitimate use of emails to maintain their reputations. Some things are easier such as using DKIM and Letsencrypt. The server stacks are more mature and some include more integration with clients and popular cloud services such MS Outlook, cloud or hosted CRM collaboration tools. Some of that could be done through Worpress plugins.

    The status quo makes cloud service providers a lot of money for a routine service.
     
    Last edited: Mar 28, 2018
  12. eva2000

    eva2000 Administrator Staff Member

    54,068
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    1:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Remember one that self hosted email also needs proper anti-virus/malware scanning too - that can potentially increase amount of server resources required too.

    +1 (y)
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,068
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    1:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah unfortunately, still don't have plans for such as it will still be time consuming to manage the code and still have to provide some form of support to determine if an issue is related to my code/configuration versus 3rd party outside factors i.e. blacklists or mail server ports blocked upstream etc.
     
  14. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    10:11 AM
    latest
    10
    I hope you change your mind. Just do it as a 'take it or leave it' with bold disclaimers.

    On the other hand, the VPS market has become highly competitive so hosting of an email server as a single-purpose server is a low cost. I think some of that is due to large-scale upgrades to server farms that have created a flood of used server equipment on the resale market.
     
  15. buik

    buik “The best traveler is one without a camera.”

    2,023
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,672
    Local Time:
    4:11 PM
    DKIM, DANE, SPF is a nice to have.

    However, the biggest 'own mail server' problem nowadays is IP reputation.
    Without reputation, your mail will not arrive at all or in the junk folder at once.
    Even when your IP address is clean but has never sent mail before.

    And the big mail providers like Gmail and Hotmail are very strict about that.
    For example spammy ip address from the same ASN, and your clean IP address is also banned by Hotmail for an unknown time.
     
  16. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    10:11 AM
    latest
    10
    That was the reason for using you own server to support multiple users, such as setting up several default users for the handling of specific queries such as general information requests, suggestions, complaints, etc. These normally see low traffic and can be handled with specific response emails. And they can give a website a better experience or be tailored to providing responses to specific topics. That can be useful in marketing such as for Woocommerce product categories to make a site more professional and give the impression of being larger.

    Again, use of outside email services makes good sense for mass email but has not much need for routine email of low-volume users or response boxes. What you are saying is ignoring what I said which is kind of insulting.
     
  17. buik

    buik “The best traveler is one without a camera.”

    2,023
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,672
    Local Time:
    4:11 PM
    Ok. Bye Bye
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,068
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    1:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Folks please play nice :)

    Regardless, Centmin Mod won't be adding native @domain.com email/imap/pop as I won't be providing support for it nor do I have the time to manage and update that software and configurations required for it and for obvious reasons it adds to higher server resource requirements for cpu, memory, disk and mysql usage. While @domain self hosting might be fine for non-mass transactional email, the issue is end users who are new to server/mail administration may not know that and just use the local smtp server for mass transactional emails unaware of IP reputation/blacklists etc etc. Then in turn that comes back to me providing support when Centmin Mod new users ask why their @domain sent emails aren't reaching their users and why their server IP addresses landed on spam blacklists and asking how to remove their server IP addresses from such blacklists. Do I just say 'tough luck' you're on your own for each and every Centmin Mod user who runs into this issue ? Currently, there's 3,000+ new Centmin Mod download/installs per month and growing. Imagine the extra work load I'd have for such issues! I only work on Centmin Mod in my spare time. It maybe a different matter if Centmin Mod was my full time job and it was paying me a living wage :)

    On that note, @Matt probably has the best tip for @domain emails if you need to manage alot of web sites. That is fork out for a cpanel/WHM VPS license and only setup @domain emails for every Centmin Mod hosted domains and offload them to cpanel/WHM. That one cpanel/WHM VPS license instance could handle every Centmin Mod server you own hosted domains. That way you can create as many @domain email accounts for every domain you own via cpanel/WHM. If you have many domains and email user accounts, the cost of cpanel/WHM will pay for itself compared to paying for 3rd party @domain hosting with likes of Google Gsuite.
     
  19. buik

    buik “The best traveler is one without a camera.”

    2,023
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,672
    Local Time:
    4:11 PM
    Sure.
    But.... It testifies to profound disrespect to report me of insulting while the user himself continues to hammer with: 'take it or leave it' and other crap.
    While his contribution here is 0.0.

    In the early days of the internet, we called someone: a leecher.

    It seems easy, but adding Centmin mail addon gives so much extra work.
    Many users don't understand that.

    Its about adding multiple 100 hours of volunteer work.
    So probs to @eva2000 for his work right now.
     
  20. eva2000

    eva2000 Administrator Staff Member

    54,068
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    1:11 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah too much extra work for me especially providing it for free. As I said easiest solution if you have many domains/users is fork out for cpanel/WHM VPS license and offload every Centmin Mod hosted domains emails to cpanel/WHM VPS server as they have a robust imap/pop/smtp/spamassasin setup provided via exim already.

    Just remember running own mail server can potentially require more server resources too. I've seen on some mail servers for virus scanning of emails, use an extra 8+ GB of memory required not to mention more MySQL resources used etc. For a proper mail server setup I would consider to have proper spamassasin and malware/virus scanning as well.