Want to subscribe to topics you're interested in?
Become a Member

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

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

Tags:
  1. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    8:07 AM
    1.11
    10.2
  2. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    8:07 AM
    1.11
    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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    can you post what it looked like ?
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    8:07 AM
    1.11
    10.2
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    cheers will check it out and see :)
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    8:07 AM
    1.11
    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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1