Welcome to Centmin Mod Community
Register Now

Featured Insight Guide SSH Login Email Alerts Centmin Mod Style

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

  1. rdan

    rdan Premium Member Premium Member

    4,523
    1,084
    113
    May 25, 2014
    Ratings:
    +1,582
    Local Time:
    12:11 AM
    Mainline
    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

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    2:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,523
    1,084
    113
    May 25, 2014
    Ratings:
    +1,582
    Local Time:
    12:11 AM
    Mainline
    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

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    2:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
     
  5. rdan

    rdan Premium Member Premium Member

    4,523
    1,084
    113
    May 25, 2014
    Ratings:
    +1,582
    Local Time:
    12:11 AM
    Mainline
    10.2
    Where should I start troubleshooting if I didn't receive the email?
     
  6. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    2:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
  7. rdan

    rdan Premium Member Premium Member

    4,523
    1,084
    113
    May 25, 2014
    Ratings:
    +1,582
    Local Time:
    12:11 AM
    Mainline
    10.2
    Sometimes I got this email.
    Code:
    <html><head>
    <meta http-equiv=content-type content=text/html;charset=utf-8>
    <title>502 Server Error</title>
    </head>
    <body text=#000000 bgcolor=#ffffff>
    <h1>Error: Server Error</h1>
    <h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
    <h2></h2>
    </body></html>
     
  8. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    2:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    probably coming from ipinfo.io site's server itself.
     
    • Like Like x 1
..