How to set PassivePortRange and PassiveIP in pure-ftpd on Debian and Ubuntu Linux

If you run a firewall on your Linux server and want to use passive FTP connections, you have to define the passive port range in pure-ftpd and your firewall to ensure that the connections don't get blocked. The following example is for pure-ftpd on Debian or Ubuntu Linux and ISPConfig 3. Set Passive Port Range ... Read more

Reset Rspamd Bayes filter

Rspamd is a widely used email and spam filtering solution. It consists of a set of rule-based filters, blacklists, greylisting, and also a self-learning Bayes filter. Sometimes, it might happen that the Bayes filter starts to behave oddly and flag the wrong emails. In such a case, you can either try to start passing the ... Read more

nginx server error: 413 Request Entity Too Large

The Nginx web server has a max. body size limit of 1 MB for requests as default. This might be too low for file uploads in scripts and you will see the following error message when you try to upload a file:  413 Request Entity Too Large The configuration variable for this option is "client_max_body_size" ... Read more

How to renew the SSL certificate for dovecot on CentOS

Make a backup of the old key and certificate file mv /etc/ssl/certs/dovecot.pem /etc/ssl/certs/dovecot.pem.old mv /etc/ssl/private/dovecot.key /etc/ssl/private/dovecot.key.old Create the new SSL certificate openssl genrsa -out /etc/ssl/private/dovecot.key 1024 openssl req -new -x509 -key /etc/ssl/private/dovecot.key -out /etc/ssl/certs/dovecot.pem -days 730 Restart Dovecot: service dovecot restart

How to enable port 465 (smtps) in postfix mailserver

More and more internet access providers are closing port 25 to reduce spam except for connections to their own mail servers. If you run your own email server and have problems connecting to it on port 25, you can enable port 465 (SMTPS) in postfix as a workaround. Edit the /etc/postfix/master.cf file: nano /etc/postfix/master.cf and ... Read more

Change PostgreSQL Locale

wrote by Rafael Marangoni, from Suporte Linux team. This article explains how to change the default PostgreSQL Locale. Be careful, because we're considering that you do not have data on the PostgreSQL instance. First, we need to stop the Postgres service (if was not already stopped): service postgresql stop Then we need to remove all ... Read more