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

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

Configure PostgreSQL to accept connections from network

wrote by Rafael Marangoni, from Consultoria Linux team. By default, on some distros, PostgreSQL will only accept connections from localhost. When you have only access from localhost (from localhost Apache, by example) everything is ok, but when you need that postgresql accepts connections for other hosts, you need to make some configs. First of all, ... Read more