Articles from the category : Linux (6 articles)
How to resolve the Possible attack detected message in ISPConfig ?
If you are managing a web server with ISPConfig, you may encounter the warning message "Possible attack detected. This action has been logged." on the web interface, making access impossible. This alert can be triggered for various reasons, but its resolution is simple. Here's how to resolve it: Step 1: SSH Connection First, connect to your server via SSH: ssh your_username@your_ip_address Step 2: Modify the Configuration File Once connected to your server via SSH, you'll need to modify the...
Postfix : Fixing email sending issues to Gmail due to IPv6
If you are unable to send emails to Gmail addresses from your server and you encounter the following error, it is likely a configuration issue if you have both IPv4 and IPv6: Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication. To resolve this issue, it's quite simple. 1 - Connect to your server via SSH and use the following command to check the connection protocol used by Postfix: postconf...
Automatically Start Node.js on Server Boot
If you've ever created programs using Node.js, you've probably encountered this issue: Node.js scripts don't automatically restart when you reboot your server. Therefore, you need to manually reconnect to restart them, which can be quite inconvenient. Here's a small shell script that allows you to execute your scripts and start them every time the server starts. The Shell Script You'll need to create a file, which you can name as you like, and save it in the /etc/init.d/ directory on your...
How to configure an IPFailOver on Debian and ISPConfig 3
If you have a Debian server with ISPConfig 3 installed, here is how to configure one or more IP FailOver addresses. Debian Configuration First, you need to configure Debian to add your new IP address. Connect to your server and edit the file /etc/network/interfaces. If you have a Debian version higher than 6 (which is usually the case), you will need to add the following two lines for each new IP address you want to add: post-up /sbin/ifconfig eth0:X IPFailOver netmask 255.255.255.255...
Raspberry Pi: Scheduling Regular Automatic Reboots
Sometimes, you may need to make your Raspberry Pi automatically reboot regularly, for example, once a day at midnight. To achieve this, we'll use a Unix program called "Cron" that allows for the automatic execution of commands. Adding a Cron Task: First, you need to be connected to your Raspberry Pi via SSH. If you're not already connected, please do so. Enter the following command: "sudo nano /etc/crontab -e". This command allows you to edit the file containing the list of tasks. The...
Enabling Port 465 on a Postfix Mail Server
Configuring a mail server can become more challenging due to the default port used for mail delivery (port 25), which is increasingly blocked by internet service providers. To overcome this issue and enable both sending and receiving emails using IMAP/POP/SMTP, you can activate port 465 (smtps) in Postfix. To do this, edit the file « /etc/postfix/master.cf » Remove the # at the beginning of the following line: #smtps inet n - - - - ...