Join the community today
Become a Member

SSH Login Email Alerts Centmin Mod Style

Discussion in 'Centmin Mod Insights' started by eva2000, Nov 16, 2016.

  1. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    3:27 PM
    1.11
    10.2
    I reverted back to:
    inet_interfaces = localhost

    then:
    inet_protocols = ipv4

    Restarted:
    service postfix restart


    Works fine now. :)
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:27 PM
    Nginx 1.13.x
    MariaDB 5.5
    excellent thanks for confirmation - updated 123.09beta01 to auto detect when you set DISABLE_IPVSIX='y' and set inet_protocols = ipv4 :)
     
    • Like Like x 2
  3. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    3:27 PM
    1.11
    10.2
    How can we add more info to this?

    From the current implementation:
    ip:
    city:
    region:
    country:
    loc:
    postal:

    I want to add:
    Time:
    Account:
    Method: (password authentication)
    IP hostname:
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    5:27 PM
    Nginx 1.13.x
    MariaDB 5.5
    Have to script it yourself and make them variables to add to /root/.bashrc. Time is already in default one via date variable and well /root/.bashrc implies root user anyway. And just do a reverse lookup for ip but that could slow down ssh logins quite a bit