Linux

How to configure postfix virtual domains

I will assume that your postfix configuration directory is /etc/postfix and your postfix version is around 2.0.14 1. Edit /etc/postfix/virtual This is a plaintext file where you can specify the domains and users to accept mail for. Each virtual domain should begin with a single line containing the domain name. The subsequent lines define addresses […]

Read More
Linux

Making Postfix daemon programs more verbose

Append one or more “-v” options to selected daemon definitions in /etc/postfix/master.cf and type “postfix reload“. This will cause a lot of activity to be logged to the syslog daemon. For example, to make the Postfix SMTP server process more verbose:

Read More
Linux

Generering av SSL sertificat

Dovecot og Courier-imap klager til tider på at sertifikat ikke fungerer. Da kan man kjøre følgende kommando for å lage nytt sertifikat. Kommandoen kjøres fra /etc/ssl/dovecot/ openssl req -new -x509 -nodes -days 365 -out cert.crt -keyout cert.key cat cert.key cert.crt > cert.pem Endre navnet på filene slik at de stemmer overns med configfilene til de […]

Read More