Postfix: Using Microsoft 365 as SMTP Relay

Postfix mail server is available in almost all Linux distributions. You can use it as a simple relay (smart host) to send email messages from your local network to user mailboxes and forward email queues to SMTP servers outside your organization. In this article, we’ll show you how to set up an SMTP relay for Microsoft 365 (Office 365, Exchange Online) with postfix on Linux (using Ubuntu/Debian as an example).

Continue reading “Postfix: Using Microsoft 365 as SMTP Relay”

Using Google Chrome Remote Desktop to Access Your Computers

Recently I have been favorably impressed with Chrome Remote Desktop features which allow to support remote users/friends/family members and access work computers remotely. I have easily configured access to my home computer from my office network. All you need is to install the Google Chrome browser on both devices, a Google account, and the chromoting service. Most popular are supported for remote connection: Windows, Linux, macOS, Android, and iOS.

Continue reading “Using Google Chrome Remote Desktop to Access Your Computers”

Domain Controller Crashes on Boot with Stop Code 0xc00002e2

After an emergency shutdown of a physical server with an Active Directory domain controller role, the BSOD with an error stop code 0x00002e2 appears on boot. The error points out that the Active Directory database (NTDS.DIT) is damaged. In this article, we will figure out how to fix the ntds.dit file and start a domain controller (in our case, it is a server running Windows Server 2019).

Continue reading “Domain Controller Crashes on Boot with Stop Code 0xc00002e2”

Windows: Monitoring Logs and Text File Changes in Real Time

If a Windows service or application writes logs not to the Event Viewer (.evt and .evtx files), but to plain text log files, you sometimes need to display and monitor new events in real-time.

Continue reading “Windows: Monitoring Logs and Text File Changes in Real Time”

Backing Up Docker Volumes

To automate docker partition backups, I recommend using Docker-volume-backup image (https://github.com/offen/docker-volume-backup). This lightweight image (about 15 MB) allows you to connect to any volume in docker and backup files to a local directory, S3-compatible storage (AWS S3, MimIO, Ceph, etc.), or send save it to a remote device via WebDAV or SSH.

Continue reading “Backing Up Docker Volumes”

Install and Configure Zabbix Proxy on Linux

Zabbix proxy is one of the infrastructure components that allows you to collect monitoring data from multiple devices and send data to the Zabbix Server. Zabbix Proxy can be used to collect monitoring data from remote locations, from hosts behind a firewall, or to reduce the load on the central Zabbix Server in large environments.

Continue reading “Install and Configure Zabbix Proxy on Linux”

Using Predictive IntelliSense in PowerShell

Predictive IntelliSense is a new feature in PSReadline 2.1 and is available by default in PowerShell 7.2. When typing a command in the PowerShell console, Predictive IntelliSense suggests the appropriate commands you have previously typed (using the history of previous PowerShell commands). Predictive IntelliSense works differently than the TAB auto-completion feature (or Bash’s TAB auto-completion). the suggestion of subsequent characters in the command is displayed in gray text after the cursor.

Continue reading “Using Predictive IntelliSense in PowerShell”

Select-Object: Filtering Output in PowerShell

The Select-Object cmdlet allows you to display certain properties of an object in a PowerShell command. Select-Object can select unique objects, a specified number of objects, or objects at a specified position in an array. Also, some PowerShell cmdlets don’t display all of the object’s properties, and you must use Select-Object to display additional attributes.

Continue reading “Select-Object: Filtering Output in PowerShell”