Dedicated Mail Server Hosting Multiple Domains – Step 4 – Further Configurations

Firewall CentOS 7 now uses FirewallD, which is not bad, but I don’t think it’s mature enough. So to just disable it and get back to the classic iptables service there are some steps: systemctl stop firewalld systemctl disable firewalld yum -y install iptables-services systemctl enable iptables systemctl restart iptables If you run dual stack, […]

Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot

On a typical Linux mail server mail is stored on the disk either using one big file in /var/mai/%user either in one Maildir in users’s home folder. This Maildir usually contains one small file for each mail stored on your server and some indexing information etc. In this setup, because users are stored on a […]

Dedicated Mail Server Hosting Multiple Domains – Step 2 – Database and Web Administration Interface Setup

This mail server will use Postfix as a MTA, Dovecot as an LDA, IMAP/POP Server, and MariaDB(MySQL) to store user login information. It will also use PostfixAdmin web interface to manage domain, users and mail administrators information. HTTPD To run the web administration interface and the Webmail we need to have an HTTP server running. […]

Removing old kernels

On Debian/Ubuntu we would need to search for installed kernel packages, something like this: root@server:~# dpkg –list |grep linux-image ii  linux-image-3.2.0-23-generic         3.2.0-23.36                                      Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii  linux-image-3.2.0-56-generic         3.2.0-56.86                                      Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii  linux-image-3.2.0-57-generic         3.2.0-57.87                                      Linux kernel image for version […]

RHEL (CentOS) – changing Apache’s MPMs

Well, in EL6 when we wanted to change Apache’s MPMs we would edit /etc/sysconfig/httpd and set the HTTPD variable with the binary needed.It looks something like: HTTPD=/usr/sbin/httpd.worker To see the available options we could type the following command: [root@server ~]# ls  /usr/sbin/httpd* /usr/sbin/httpd  /usr/sbin/httpd.event  /usr/sbin/httpd.worker The simple httpd binary uses the Prefork MPM, httpd.worker is […]