Resending all deferred emails via Plesk interface
Go to Tools & Settings > Scheduled Tasks > Add Task.
/usr/sbin/postsuper -r ALL
Click Run Now.
by dev
Resending all deferred emails via Plesk interface
Go to Tools & Settings > Scheduled Tasks > Add Task.
/usr/sbin/postsuper -r ALL
Click Run Now.
by dev
Remote API call fails with IDS security error
Calls to the ISPConfig remote API fail with error “Possible attack detected. This action has been logged.”.
Workaround:
Edit the file /usr/local/ispconfig/security/security_settings.ini and disable the IDS by changing these two values from ‘yes’ to ‘no’:
ids_anon_enabled=no
ids_user_enabled=no
or install an ISPConfig version where this issue is marked as fixed.
by dev
Solution: Check whether the dot files are hidden. Make the dot files to show.
Horde
Roundcube
Windows Mail
Thunderbird
Microsoft Outlook Express
by dev
Generally, the size of the swap file depends on how much RAM your system has:
Only root or user with sudo privileges can activate the swap file.
1). First, create a file that will be used as swap:
sudo fallocate -l 2G /swapfile
2). Set the file permissions to 600 to prevent regular users to write and read the file:
sudo chmod 600 /swapfile
3. Create a Linux swap area on the file:
sudo mkswap /swapfile
4). Activate the swap file by running the following command:
sudo swapon /swapfile
5). To make the change permanent open the /etc/fstab file:
sudo vi /etc/fstab
and paste the following line:
/swapfile swap swap defaults 0 0
6). Verify that the swap is active by using either the swapon or the free command, as shown below:
sudo swapon --show
and
sudo free -h
Adjusting the Swappiness Value
On Ubuntu, the default swappiness value is set to 60. You can check the current value by typing the following command:
cat /proc/sys/vm/swappiness
While the swappiness value of 60 is OK for most Linux systems, for production servers, you may need to set a lower value.
sudo sysctl vm.swappiness=10
To make this parameter persistent across reboots, append the following line to the /etc/sysctl.conf file:
vm.swappiness=10
Removing a Swap File
To deactivate and delete the swap file, follow these steps:
1). First, deactivate the swap space:
sudo swapoff -v /swapfile
2). Next, remove the swap file entry from the /etc/fstab file.
/swapfile swap swap defaults 0 0
3). Finally, remove the actual swapfile file using the rm command:
sudo rm /swapfile
by dev
Solution
Go into the sshd_config file
vi /etc/ssh/sshd_config
Search and remove the # sign at the beginning of the 3 lines
X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes
Then restart sshd
systemctl restart sshd
Exit and login again. You will not get the error.
Or
Create n new file: touch ~/.Xauthority
Log out and login in again.