In Linux bevelen we volgende configuratie aan in ntp.conf om beveilingsproblemen te voorkomen ivm het NTP (time) protocol. (zie Wikipedia artikel voor algemene informatie over NTP amplication attacks) # by default… read more →
When you change your WordPress domain and want to redirect your old URLs and keep your PageRank, add the following to your .htaccess file. RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST}… read more →
This is a iptables shell script that enables SSH, HTTP/S, mail protocols, FTP, ICMP and NRPE. It also blocks outbound UDP floods and incoming SYN floods. To support passive mode… read more →
service mysql stop mysqld_safe –skip-grant-tables & mysql -u root mysql> use mysql; Check if there is a record for root mysql> select * from user where User=’root’; If it returns… read more →
Print queue count cd /usr/local/atmail/mailserver/bin ./exim -bpc Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals) cd /usr/local/atmail/mailserver/bin ./exim -bp | ./exiqsumm Remove messages… read more →
This method adds a field to the domains and records table. By manually adjusting the PowerDNS queries, only domains and records with status 1 are used by PowerDNS. Domains /… read more →
Virtual users in vsftpd can be stored in a Berkeley db (for PAM authentication). To update this database do this; Create a text file vusers.txt with usernames and passwords like this; user1… read more →
Sometimes you need to fix vhost permissions (after restoring a backup without permissions for example). ~# /usr/local/psa/admin/sbin/vhostmng –install-vhost –vhost-name= –user-name= –set-content-permissions For Parallels Plesk Panel 10.0-10.3 (in version 10.4 this… read more →
Mails are being quarantined by MailScanner without reason. The maillog shows messages like this; Quarantined message 99AA4E0D5B.A6658 as it caused MailScanner to crash several times When running mailscanner –debug it… read more →