Want more timely Centmin Mod News Updates?
Become a Member

EMAIL=''" # Server notification email address enter only 1 address

Discussion in 'Bug Reports' started by rdan, Dec 26, 2014.

Tags:
  1. rdan

    rdan Premium Member Premium Member

    4,230
    1,030
    113
    May 25, 2014
    Ratings:
    +1,471
    Local Time:
    5:57 AM
    Mainline
    10.2
  2. eva2000

    eva2000 Administrator Staff Member

    35,115
    7,753
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,956
    Local Time:
    7:57 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    not sure i understand, I only added the variables, nothing is actually using them besides line 4 of inc/csftweaks.inc which detects if EMAIL variable is set and inserts the email address into /etc/csf/csf.conf

    Oh you do you mean duplicate the email address set in csf.conf EMAIL= ? It shouldn't be a problem as it only replaces empty EMAIL="" with an address and csftweaks should only run for new installations only not existing ones. Is this a new installation from menu option 1 centmin.sh ?

    Code:
    if [ ! -z "$EMAIL" ]; then
        sed -i "s/LF_ALERT_TO = ""/LF_ALERT_TO = "$EMAIL"/g" /etc/csf/csf.conf
    fi
    I thought you meant you were getting duplicate server emails sent to your email address ?
     
    Last edited: Dec 26, 2014
  3. rdan

    rdan Premium Member Premium Member

    4,230
    1,030
    113
    May 25, 2014
    Ratings:
    +1,471
    Local Time:
    5:57 AM
    Mainline
    10.2
    I have this server for several months.
    And I'm setting up my email on csf config the first day I install this server.

    Now when I use the latest .08 beta, LF_ALERT_TO has duplicate email on it.
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,115
    7,753
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,956
    Local Time:
    7:57 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    can you post what it looked like ?
     
  5. rdan

    rdan Premium Member Premium Member

    4,230
    1,030
    113
    May 25, 2014
    Ratings:
    +1,471
    Local Time:
    5:57 AM
    Mainline
    10.2
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    35,115
    7,753
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,956
    Local Time:
    7:57 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    cheers will check it out and see :)
     
  7. rdan

    rdan Premium Member Premium Member

    4,230
    1,030
    113
    May 25, 2014
    Ratings:
    +1,471
    Local Time:
    5:57 AM
    Mainline
    10.2
    And I don't see any other problem, but after I use .08 beta, I don't get any notifications anymore when I login on ssh or winscp.
    When I should receive a notice every time I login lately.

    Maybe something other than that also modified :(
     
  8. eva2000

    eva2000 Administrator Staff Member

    35,115
    7,753
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,956
    Local Time:
    7:57 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
..