Skip to content

Instantly share code, notes, and snippets.

@kapeller77
kapeller77 / setup-mailserver-1.sh
Created January 22, 2021 21:20 — forked from ruanbekker/setup-mailserver-1.sh
Mail Server Virtual Users with MySQL Postfix Dovecot on CentOS
#!/bin/bash
# blog: https://sysadmins.co.za/mail-server-virtual-users-mysql-postfixadmin-on-centos/
# dependencies
yum update -y
yum --enablerepo=centosplus install postfix mailx mutt -y
yum install dovecot mysql-server dovecot-mysql cyrus-sasl cyrus-sasl-devel -y
# mysql configuration
chkconfig mysqld on
This is a test file