Discover Centmin Mod today
Register Now

Email Why can't i use my server for email, instead of using a third party

Discussion in 'Domains, DNS, Email & SSL Certificates' started by marc3000, Mar 4, 2017.

  1. marc3000

    marc3000 Member

    37
    9
    8
    Feb 2, 2017
    Ratings:
    +19
    Local Time:
    3:40 AM
    I'm a little confused about Step 8:
    Setting up @yourdomain.com based emails.

    The guide is only for setting it up using a third party. Why do i have to use zoho mail, google apps, outlook,

    Can't i just use my server to handle all the emails, just like cpanel does, they don't require me to use outlook or anything,


    Is there a guide anywhere? I am just going to use it for my small forum, so really i only need 1 email account for the administrator

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Unfortunately for anything beyond basic Postfix MTA setup for outgoing email, I prefer not to touch as troubleshooting and supporting email related delivery etc issues is something I do not want to do for free.

    There are variety of reasons why email isn't delivered and alot can be beyond just the server itself. It's why I suggest 3rd party email providers @yourdomain.com email hosting as they specialise in providing support for the product they provide. See discussion at
    I also recommend 3rd party DNS than locally hosted so that does make automation for such a bit harder for any locally hosted email out of the box.

    With that said, it doesn't mean if you know what you're doing, you can implement locally hosted webmail yourself. Unfortunately, I wouldn't be providing any assistance. Fellow community members are however free to help each other out if they want :)

    More Info



    Postfix is configured for sending out emails for all domains out of box. So you're all taken care of for any site hosted on your server for Postfix outgoing emails sent from the main host name so emails sent from @mainhost.domain.com. Which is why Getting Started Guide step 1 for proper main hostname DNS configuration is important for properly email delivery via Postfix and also mentioned at Email - Steps to ensure your site/server email doesn't end up in spam inboxes | Centmin Mod Community

    But I have no intention of doing any local email pop3/imap support on Centmin Mod for receiving emails as I don't want to bother with troubleshooting mail delivery issues as there's so many factors outside of my control as to why mail isn't delivered on the internet. I don't plan on providing any free support for such email related matters either. So best to use 3rd party email providers for @yourdomain.com emails for best uptime, reliability, security and anti-spam and email user management. See a list of recommendations at Email - Free @yourdomain.com Email Accounts & Alternatives

    Tecmint actually has a 5 part article on setting up your @domain.com emails on CentOS 7 but part of their steps assume Apache web server instead of Nginx i.e. for phpmyadmin (centmin mod has it's own phpmyadmin.sh addon installer) and use of firewalld instead of Centmin Mod's CSF Firewall (which already setup proper whitelisted ports). But most of the email site setup is applicable. For properly postfix @domain handling you need to utilise MySQL, anti-virus/malware scanner and implement anti-spam management = all these can increase server resource usage dramatically. Virus scanning can blow out to an extra 4-8GB of memory and ALOT more cpu usage and local email disk storage will increase.
    Also one thing overlooked is if email resides on same server, if you have high cpu loads or out of disk space issues that will most likely prevent local Postfix and email sending so any alerts you setup via cron will also fail and any alerts set to @yourdomain.com addresses hosted locally on server also won't work.
     
  3. marc3000

    marc3000 Member

    37
    9
    8
    Feb 2, 2017
    Ratings:
    +19
    Local Time:
    3:40 AM
    that is a little overwhelming, i will have to do without email accounts for a while, until i get better with linux

    but one thing i noticed, is my server is able to send out email already, i went in the admin panel of xenforo, email users, send test email

    and i got an email from my server, even if someone uses the "contact us" link at the bottom of xenforo, i still recieve the email

    so even before configuring anything, my server is able to send out email, i am just not able to have email accounts example: admin@mydomain.com

    i thought my server would not be able to send out email at all, so for now i will make a hotmail.com account as the admin account for my website
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    2:40 AM
  6. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice, you can also do that with most decent domain registrars which offer domain email forwarding services too ;)
     
  7. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    2:40 AM
    We had issues with Namecheap which is all we use for our domains.
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what issues exactly ?
     
  9. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    2:40 AM
    Getting the email forwarding to work with CloudFlare. No way to enable it even with mx records added to cloudflare.
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    wow that's a strange one then !
     
  11. marc3000

    marc3000 Member

    37
    9
    8
    Feb 2, 2017
    Ratings:
    +19
    Local Time:
    3:40 AM
    oh i am starting to get it now,

    so zoho email would not actually be hosted on my server, now i understand what "third party" means

    originally i thought, i would install the zoho script onto my server, and do all the emailing stuff from inside my server, like cpanel

    but no, all the email stuff is hosted on their server

    you only get one domain with zoho, i have 5 domains, so i would have to choose the standard package, which is unlimited domains but 2 per month, and 2 per user? so 20 bucks a months? their pricing is confusing,

    i dont see the point of paying 20usd a month to zoho for email, i might as well stay with cpanel, it cost me 34.95usd for cpanel, its only a difference of 14.95, and i can have unlimited domains and email with cpanel

    if it wasn't for cpanel charging in USD then i wouldn't care, but at the cad dollar gets lower and lower, my bill gets higher and higher!! several years ago i was paying 34.95cad now with the low dollar and exchange rate i am paying almost 50 cad!!


    im going to email cpanel and demand they start accepting bitcoin, if not i will threaten to leave their company and take my 34.94 usd with me,

    if they accept bitcoin i will be saving money every month, as bitcoin contines to go higher and higher,

    :D:D:D:D:D:D:D:D:D:D:D:D:D:D



    i was looking to implement locally hosted webmail myself but from what you say, it seems like a big pain and not worth it, i didnt know email was so complicated, i don't even know how cpanel does email, i just know i use it!


    instead of zoho it might be easier to just make an outlook email and use that for each of my domains,


    example, mydomain1.com

    mydomain1admin@outlook.com


    then i can get rid of cpanel completely, outlook is very reliable, ive been using them for years,

    the only thing is my websites won't have a real @mydomain.com

    i dont think its professional, but since all my websites are just hobbies, then i dont think it really matters,

    anways i always see lots of people with small business using outlook emails



    i still plan to use zoho for 1 domain, i want to see how it works!!
     
    Last edited: May 14, 2017
  12. eva2000

    eva2000 Administrator Staff Member

    53,278
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    5:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+