It was necessary to block certain attachment formats, as they were often used to send malicious data.
Continue reading “iRedMail: Attachment Blocking with Amavis”Category Archives: Linux
FTP backup script
Here’s an example of a simple script for synchronizing directory files from a remote server via FTP, for example with backup archives.
Continue reading “FTP backup script”ProFTPd. IP Access Restriction
Access by IP address or subnet in ProFTPd is very easily restricted.
Continue reading “ProFTPd. IP Access Restriction”File integrity check script (SHA-256 hashes)
I’ll give an example of a Python script that calculates the SHA-256 hashes of all files in a specified directory and sends an email with a list of files that have changed, been created, or been deleted, and also writes to the log file.
Continue reading “File integrity check script (SHA-256 hashes)”Upgrading Ubuntu 22.04 to 24.04 using the do-release-upgrade command
Ubuntu Server was installed on version 18.04 LTS, but I needed to upgrade it to the latest version. Therefore, I had to upgrade in several stages: 18.04 > 20.04 > 22.04 > 24.04.
Continue reading “Upgrading Ubuntu 22.04 to 24.04 using the do-release-upgrade command”Sending Fail2ban email notifications
In this article, I will show an example of setting up Fail2ban email notifications.
Continue reading “Sending Fail2ban email notifications”Installing Zulip
As an example, I’ll install Zulip on a clean Ubuntu Server 24 system.
Continue reading “Installing Zulip”Zulip: Elevating user privileges to over the owner
I’ll show you an example of changing a regular user’s rights to administrator and owner, as well as adding additional rights for the API.
Continue reading “Zulip: Elevating user privileges to over the owner”Dial Plan for Grandstream GXP1620
The operator reported that she cannot make an outgoing call from the list of missed calls on the Grandstream GXP1620 IP phone, the phone display shows “No suitable dialplan”, but if you dial the number manually, the outgoing call is made, a similar problem may occur on other models.
Continue reading “Dial Plan for Grandstream GXP1620”Setting up PJSIP in Asterisk
In this article I will show examples of setting up PJSIP in Asterisk.
Since chan_sip is deprecated, I use and recommend using PJSIP.
