today's howtos
-
Postfix: Relay Outgoing Emails Based On Sender Address - TecAdmin
Have you ever wished you could relay outgoing emails based on the sender’s address? Well, now you can! With the help of sender_dependent_default_transport_maps, you can easily configure Postfix to route outgoing emails based on the email address of the sender. All you need to do is configure the ‘sender_dependent_default_transport_maps’ parameter in the main.cf file. This is an incredibly powerful tool that can be used to easily route emails sent from different domains through different mail servers. It can also be used to route emails from different parts of your organization to different mail servers.
-
How to install and use Kazam on Ubuntu | FOSS Linux
Regarding screen recording in Linux, specifically Ubuntu, Kazam should be your go-to tool. The tool offers an easy-to-use and well-designed interface for capturing screenshots and screencasts. This software records desktop video and multiple audio streams concurrently with control over audio levels and the captured screen region. Kazam newbies should find it easy to configure the software as it requires a small configuration setup. With Kazam, you can capture a particular window, an entire screen, or even a selected screen area.
You can make use of Kazam’s hotkeys that aid in helping you start, pause, resume and finish recording. With the current version of Kazam that we will install, you can even record your mouse clicks and keyboard presses. Also, it is vital to remember that the videos intended to be captured by Kazam can be played by any video player that supports VP8/WebM video format. Just so you know, Kazam records a crystal-clear sound, and the recorded video can be saved in several different file formats.
-
Beginners Guide for cd Command in Linux
The UNIX/Linux CD command is popularly used to move into different directories from the current working directory using the command line (or terminal).
When you open your terminal, Linux will use your home directory as the current working directory, so to navigate into a different directory, you can use the cd command.
-
How to Use Rsync Dry Run (‐‐dry-run) with Examples
Rsync is a fast and extraordinary utility used to copy and synchronize files locally, copy files to a remote system or copy files from a remote server to your local machine.
Unlike the popular SCP command that copies files securely between two Linux systems, Rsync is much faster as it uses the “delta algorithm.” With this algorithm, Rsync does not copy an entire file over a network. Instead, it only copies parts of the file that were modified.
That feature greatly reduces network congestion as only a small amount of data is sent over the network. During file synchronization, Rsync uses the quick check algorithm, which checks for files that have changed in size or have been recently modified.
-
How to use the lsof command to troubleshoot Linux | Enable Sysadmin
The Linux lsof command does more than list open files; you can also use it to diagnose potential bottlenecks.