ECM3 email, web, ftp and
dns server installation on macOS Catalina

Page 1 - Brew, Apache, Mysql, phpMyAdmin
Page 2 - Exim, Dovecot, Spamassassin, Clamav, Roundcube
Page 3 - PowerDNS Recursor and Authoritative Server
Page 4 - Nginx (optional)
Page 5 - PureFTPd and Webalizer (optional)
Page 6 - SSL Certificates using Let'sEncrypt
Upgrades - How to upgrade brew modules


PureFTPd

pkgpure-ftpd-1.0.49
Create database for PureFTPd

mysql -h 127.0.0.1 -u root -pPASSWORD 
CREATE database ftp; use ftp; \. /usr/local/pureftpd/sql/ftp.sql

EDIT:
open -e /usr/local/pureftpd/etc/pureftpd-mysql.conf

Use your mysql root password.

MYSQLPassword   password_here

sudo -s
launchctl load /Library/LaunchDaemons/net.captainnet.pure-ftpd.plist

Webalizer

brew install webalizer
ln -s /usr/local/opt/webalizer/etc /usr/local/etc/webalizer

Use example_com.conf for your domain. Rename and move it to /usr/local/opt/webalizer/etc. Run it daily, by adding the following line to periodic/daily cron.

/usr/local/opt/webalizer/bin/webalizer -c /usr/local/opt/webalizer/etc/example_com.conf