Join the community today
Become a Member

Email How to setup email system to receive emails in wordpress and woocommerce

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pheonis, Feb 17, 2019.

Tags:
  1. pheonis

    pheonis Member

    51
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    8:56 PM
    How do i setup main system so that customers and administrator can receive emails from wordpress install
    My domain dns A record is pointing to the ip address.
    What do i need to do to receive emails smoothly.


    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    39,746
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    1:26 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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.
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    39,746
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    1:26 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  4. pheonis

    pheonis Member

    51
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    8:56 PM
    Hi eva,
    I have setup SMTP for transactional emails but i am having issue in receiving emails and errors during checkout. The SMTP plugin support asking me for error logs.
    Can you tell where can i find error logs of the email failure
     
..