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

Not receiving alert email from CSF

Discussion in 'Other Centmin Mod Installed software' started by Jay Chen, Jun 11, 2019.

  1. Jay Chen

    Jay Chen Member

    83
    26
    18
    Sep 10, 2017
    Ratings:
    +43
    Local Time:
    8:32 AM
    • CentOS Version:CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    Hi all, I setup csf, LF_ALERT_TO in csf.conf, to email to one of my gmail address, but I am not receiving any alert email from CSF, such as SSH login alert.

    I am also using the same gmail address for disk alert and I received disk alert email fine.

    Is there something that I missed?

    Thank you in advance.
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:32 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. Jay Chen

    Jay Chen Member

    83
    26
    18
    Sep 10, 2017
    Ratings:
    +43
    Local Time:
    8:32 AM
    Spam/junk inbox is the first thing I checked, but I don't see any csf alert email.

    I was reading about csf yesterday and found out that it has email alerts features for more than just ssh login, such as ip blocked. This is how I realized csf email is not working for me.
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:32 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  5. Jay Chen

    Jay Chen Member

    83
    26
    18
    Sep 10, 2017
    Ratings:
    +43
    Local Time:
    8:32 AM
    I think I found the problem, my ip is in the csf.ignore.
    But I don't remember adding my ip to the ignore list.
    Is this a feature of CMM?
     
  6. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:32 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yes initial centmin mod install auto adds ssh logged in user's IP to CSF firewall whitelisting to ensure you don't get locked out :)
     
  7. Jay Chen

    Jay Chen Member

    83
    26
    18
    Sep 10, 2017
    Ratings:
    +43
    Local Time:
    8:32 AM
    Make sense now, I just have to test csf alert with a different IP.

    Thanks eva
     
    • Like Like x 1