• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About

    Welcome to the Admins Handbook

    This is indeed the IT administrators' handbook.
    You will not find long tutorials and guides here, only the commands to get the job done.

    You properly know how to do things; you just need a little "hint" now and then.

    The handbook have

    Getting the username from the HKEY_USERS values

    October 13th, 2016

    In a command prompt:
    wmic useraccount get name,sid

    Set GroupOwner in Proftpd

    September 16th, 2016

    Due to an error in proftpd, you might need an virtual group.


    GroupOwner www-data
    Umask 002 003

    AllowOverwrite on
    AuthGroupFile /etc/proftpd/ftpd.group

    Same ID and name as the local user.

    Configuring SSL on Debian nginx

    July 20th, 2016

    openssl req -new -newkey rsa:2048 -nodes -keyout *.mydomain.com.key -out *.mydomain.com.csr

    Inside config:

    ssl on;
    ssl_certificate /etc/nginx/ssl/*.mydomain.com.crt;
    ssl_certificate_key /etc/nginx/ssl/*.mydomain.com.key;
    ssl_trusted_certificate /etc/nginx/ssl/chain.crt;
    ssl_dhparam /etc/nginx/ssl/dhparam.pem;

    AlphaSSL SHA-256 R1 Intermediate Certificates (DER64)

    openssl dhparam -out dhparam.pem 4096

    Disable greylisting – emails from Office 365

    March 8th, 2016

    Office 365 sends emails from a lot of mailservers. retrys are often from a new IP.
    Then you have delays of 5 min + 5 min etc…

    Office 365 uses this IP’s:

    In your Mailscanner, you can Whitelist Office 365 Exchange IP’s by adding them to this:


    /etc/init.d/sqlgrey restart