Get the most out of your Centmin Mod LEMP stack
Become a Member

How to properly change all Email alerts destination?

Discussion in 'Other Centmin Mod Installed software' started by rdan, Jul 2, 2022.

  1. rdan

    rdan Well-Known Member

    5,432
    1,394
    113
    May 25, 2014
    Ratings:
    +2,180
    Local Time:
    8:20 AM
    Mainline
    10.2
    What config/files I need to update to change all server Email alerts?

    Already changed these files:
    • /etc/centminmod/custom_config.inc
      Code:
      EMAIL=''
    • /etc/centminmod/email-primary.ini
    • /etc/centminmod/email-secondary.ini
    • /etc/csf/csf.conf
      Code:
      LF_ALERT_TO = ""
    • /root/tools/db-config.ini
      Code:
      EMAIL=''


     
  2. eva2000

    eva2000 Administrator Staff Member

    51,249
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,374
    Local Time:
    10:20 AM
    Nginx 1.25.x
    MariaDB 10.x
    What is the email alert for? As different software/scripts would have different email addresses set manually by end user/you. Only emails that are automated in some fashion are centmin.sh menu option 22 Wordpress installer's prompted Wordpress email address.

    The 2 at are populated on first time running centmin.sh menu after initial install but they aren't actively used in anything yet as not everyone by default does the additional steps outlined at https://community.centminmod.com/th...ver-email-doesnt-end-up-in-spam-inboxes.6999/ for more reliable email delivery. Without those steps automating email alerts might just end up in spam/junk inboxes heh.
    • /etc/centminmod/email-primary.ini
    • /etc/centminmod/email-secondary.ini