Learn about Centmin Mod LEMP Stack today
Register Now

Upgrade Nginx Redis Insight Guide SSH Login Email Alerts Centmin Mod Style

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

  1. RoldanLT

    RoldanLT Well-Known Member

    4,033
    973
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,346
    Local Time:
    4:03 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

    31,765
    7,056
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,678
    Local Time:
    6:03 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

    4,033
    973
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,346
    Local Time:
    4:03 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

    31,765
    7,056
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,678
    Local Time:
    6:03 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