Administration

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 4. SASL.

Part 1. Introduction.Part 2. DBMail.Part 3. Postfix.Part 4. SASL.Part 5. SPF. DKIM. DMARC. Clear headers. DNS PTR. Install SASL. apt install libsasl2-modules sasl2-bin Add postfix user to sasl group. adduser postfix sasl Create /etc/postfix/sasl/smtpd.conf file. pwcheck_method: saslauthd mech_list: PLAIN LOGIN Edit /etc/default/saslauthd file. START=yes DESC=”SASL Authentication Daemon” NAME=”saslauthd” MECHANISMS=”rimap” MECH_OPTIONS=”localhost” THREADS=5 OPTIONS=”-c -m /var/spool/postfix/var/run/saslauthd -r” …

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 4. SASL. Read More »

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 3. Postfix.

Part 1. Introduction.Part 2. DBMail.Part 3. Postfix.Part 4. SASL.Part 5. SPF. DKIM. DMARC. Clear headers. DNS PTR. Install postfix with No configuration option. apt install postfix Edit /etc/postfix/main.cf config file. mydomain = somewhere-in-the.space myhostname = mail.somewhere-in-the.space #disable /etc/aliases files lookup, all users are stored inside DB alias_maps = alias_database = mydestination = $mydomain, localhost, localhost.localdomain, …

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 3. Postfix. Read More »

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 2. DBMail.

Part 1. Introduction.Part 2. DBMail.Part 3. Postfix.Part 4. SASL.Part 5. SPF. DKIM. DMARC. Clear headers. DNS PTR. nfgd.net repo was gone, so there are no compiled deb packages now. We need to build one manually.Download the latest sources from official site or download 3.2.3 from my backup and unpack it. cd /root wget http://dbmail.org/download/3.2/dbmail-3.2.3.tar.gz tar …

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 2. DBMail. Read More »

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 1. Introduction.

Databases are bad for email. Howbeit, sometimes you really don’t need fast mailing system, but want to use an existing database backup infrastructure. At this article we will setup our own mail server using DBMail, Postfix and SASL. DBMail is an open source mail server which able to use relational database to store all users …

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 1. Introduction. Read More »

Running QEMU VM with the latest kernel inside 2.6 OpenVZ container.

There are many of cheap NAT OpenVZ VPSes on market. However, OpenVZ virtualization has certain limitations and comes with old 2.6 kernel. Hosting provider can decide to disable tun/tap, nfs or another core feautures, which makes VPS very limited in usage. At this article we will break the rules and run latest Alpine Linux inside …

Running QEMU VM with the latest kernel inside 2.6 OpenVZ container. Read More »