CentOS Linux 7 Install Springdale Linux 8 (RHEL 8) Install OpenSUSE Linux Leap 15.2 Install Debian/Devuan Linux (To Come)
CentOS Linux 7 QMT Host
Tested Install:
SMTP/ESMTP/IMAPS/SMTPS/Submission/
Roundcubemail/Squirrelmail/Qmailadmin
12 FEB 2021
- CentOS Linux 7 Minimal Install
- QMT Install ('Many-Domain' install option w/MySQL driver. Dovecot will eventually end support of vpopmail driver)
- # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_prep_cos7.sh && \
chmod 755 qt_prep_cos7.sh && ./qt_prep_cos7.sh
(reboot) - # ./qt_install_cos7.sh
- EPEL ClamAV, Spamassassin, and Squirrelmail are standard with this install
- # toaststat
- Check IMAPS, SMTPS, & Submission connections
# ./conntest - Incoming mail should have 'scanners: attach: 1.4.0 clamav: 0.102.4/m:59/d:25958 spam: 3.4.2' in emails' headers
- To troubleshoot simscan, clamav, or spamc add 'SIMSCAN_DEBUG="5"' to tcp.smtp, reload cbd (qmailctl cdb) and
watch output of smtp log. You should see something like the following:
2020-10-15 13:14:54.487439500 simscan: runned_scanners is attach: 1.4.0 clamav: 0.102.4/m:59/d:25957
2020-10-15 13:14:54.487447500 simscan: found 0.102.4/m:59/d:25957
2020-10-15 13:14:54.487447500 simscan: normal clamdscan return code: 0
2020-10-15 23:20:18.803403500 simscan: calling spamc
2020-10-15 23:20:18.803412500 simscan: calling /usr/bin/spamc spamc
2020-10-15 23:20:20.417465500 simscan: cdb looking up version spam
2020-10-15 23:20:20.417467500 simscan: runned_scanners is attach: 1.4.0 clamav: 0.102.4/m:59/d:25957 spam: 3.4.2
2020-10-15 23:20:20.417468500 simscan: found 3.4.2
2020-10-15 23:20:20.417468500 simscan:[4629]:CLEAN (0.30/12.00):1.9820s - Installation of QMT with the many-domain option, to which QMT will eventually fully migrate, utilizes
the dovecot communities' RPMS and authenticates by sql query not the vpopmail driver, so, maintenance
of a dovecot .qt RPM is no longer necessary, and will most likely lead to more timely updates. - Convert the vpopmail DB domain tables (one per domain) with this script to one table containing
all (many) the domains. The original tables will be left intact. Back up anyway!
Status of toaster services send: up (pid 1323) 1517 seconds smtp: up (pid 1324) 1517 seconds submission: up (pid 1325) 1517 seconds send/log: up (pid 1316) 1517 seconds smtp/log: up (pid 1311) 1517 seconds submission/log: up (pid 1314) 1517 seconds systemd service: clamd@scan: [ OK ] systemd service: clamav-freshclam: [ OK ] systemd service: spamassassin: [ OK ] systemd service: dovecot: [ OK ] systemd service: mariadb: [ OK ] systemd service: httpd: [ OK ] systemd service: named: [ OK ] systemd service: ntpd: [ OK ] systemd service: sshd: [ OK ] systemd service: network: [ OK ] systemd service: crond: [ OK ] systemd service: acpid: [ OK ] systemd service: atd: [ OK ] systemd service: autofs: [ OK ] systemd service: smartd: [ OK ] systemd service: irqbalance: [ OK ] ( Multiple processors only )
- # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_prep_cos7.sh && \
- Update CentOS Linux 7/QMT
- # yum update
- # yum --enablerepo=qmt-testing update
- Qmail-1.03-2.2.1 (Current repo)
- Patches applied
- Will not overwrite DKIM signing wrapper
- Qmail-1.03-3.3.1 (Testing & MD Current repos)
- Patches applied
- Will not overwrite DKIM signing wrapper
Springdale Linux 8 QMT Host (Testing repository)
Tested Install:
SMTP/ESMTP/IMAPS/SMTPS/Submission/
Roundcubemail/Squirrelmail/Qmailadmin
12 FEB 2021
- Migration - CentOS Linux 8 to Springdate Linux 8
- Springdale 8 Minimal Install Download 8.1 Net Install ISO
- QMT Install ('Many-Domain' install option w/MySQL driver. Dovecot will eventually end support of vpopmail driver)
- # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos8.sh && \
chmod 755 qt_install_cos8.sh && ./qt_install_cos8.sh - EPEL ClamAV, and Spamassassin are standard with this install
- # toaststat
- Check IMAPS, SMTPS, & Submission connections
# ./conntest - Incoming mail should have 'scanners: attach: 1.4.0 clamav: 0.102.4/m:59/d:25958 spam: 3.4.2' in emails' headers
- To troubleshoot simscan, clamav, or spamc add 'SIMSCAN_DEBUG="5"' to tcp.smtp, reload cbd (qmailctl cdb) and
watch output of smtp log. You should see something like the following:
2020-10-15 13:14:54.487439500 simscan: runned_scanners is attach: 1.4.0 clamav: 0.102.4/m:59/d:25957
2020-10-15 13:14:54.487447500 simscan: found 0.102.4/m:59/d:25957
2020-10-15 13:14:54.487447500 simscan: normal clamdscan return code: 0
2020-10-15 23:20:18.803403500 simscan: calling spamc
2020-10-15 23:20:18.803412500 simscan: calling /usr/bin/spamc spamc
2020-10-15 23:20:20.417465500 simscan: cdb looking up version spam
2020-10-15 23:20:20.417467500 simscan: runned_scanners is attach: 1.4.0 clamav: 0.102.4/m:59/d:25957 spam: 3.4.2
2020-10-15 23:20:20.417468500 simscan: found 3.4.2
2020-10-15 23:20:20.417468500 simscan:[4629]:CLEAN (0.30/12.00):1.9820s - Installation of QMT with the many-domain option, to which QMT will eventually fully migrate, utilizes
the dovecot communities' RPMS and authenticates by sql query not the vpopmail driver, so, maintenance
of a dovecot .qt RPM is no longer necessary, and will most likely lead to more timely updates. - Convert the vpopmail DB domain tables (one per domain) with this script to one table containing
all (many) the domains. The original tables will be left intact. Back up anyway!
# toaststat Status of toaster services send: up (pid 45537) 5 seconds smtp: up (pid 45533) 5 seconds smtps: up (pid 45535) 5 seconds submission: up (pid 45542) 5 seconds send/log: up (pid 45532) 5 seconds smtp/log: up (pid 45536) 5 seconds smtps/log: up (pid 45544) 5 seconds submission/log: up (pid 45534) 5 seconds mysql mysqld systemd service: clamd@scan.service: [ OK ] systemd service: clamav-freshclam: [ OK ] systemd service: spamassassin: [ OK ] systemd service: dovecot: [ OK ] systemd service: mysqld: [ OK ] systemd service: httpd: [ OK ] systemd service: named: [ OK ] systemd service: chronyd: [ OK ] systemd service: sshd: [ OK ] systemd service: crond: [ OK ] systemd service: acpid: [ OK ] systemd service: atd: [ OK ] systemd service: autofs: [ OK ] systemd service: smartd: [ OK ] systemd service: irqbalance: [ OK ] ( Multiple processors only )
- # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos8.sh && \
- Qmail-1.03-3.3.1 (Testing repo)
OpenSUSE Linux Leap 15.2 QMT Host (Testing repository)
(Tested Install SMTP/IMAPS/SMTPS/Submission 19 DEC 2020)
1) OpenSUSE Linux Leap 15.2 Download ISO a. Install OpenSUSE Linux w/server option and disable Apparmor 2) # wget https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_opensuse.sh \ && chmod 755 qt_install_opensuse.sh && ./qt_install_opensuse.sh 3) # toaststat Status of toaster services send: up (pid 45537) 5 seconds smtp: up (pid 45533) 5 seconds smtps: up (pid 45535) 5 seconds submission: up (pid 45542) 5 seconds send/log: up (pid 45532) 5 seconds smtp/log: up (pid 45536) 5 seconds smtps/log: up (pid 45544) 5 seconds submission/log: up (pid 45534) 5 seconds systemd service: clamd@scan.service: [ OK ] systemd service: clamav-freshclam: [ OK ] systemd service: spamassassin: [ OK ] systemd service: dovecot: [ OK ] systemd service: mysqld: [ OK ] systemd service: httpd: [ OK ] systemd service: named: [ OK ] systemd service: chronyd: [ OK ] systemd service: sshd: [ OK ] systemd service: crond: [ OK ] systemd service: acpid: [ OK ] systemd service: atd: [ OK ] systemd service: autofs: [ OK ] systemd service: smartd: [ OK ] systemd service: irqbalance: [ OK ] ( Multiple processors only ) 4) QMT is started/stopped during boot/shutdown using systemd and can be used at the cli as well. Systemd functionality below. # systemctl stop/start/status/reload qmail For all other functionality use 'qmailctl'. 5) This is a Vpopmail 'Many Domain' build of QMT
General
-
Configuration
- Initial Configuration
- Certificates
- DKIM
- Secure QMT web administration
- Remote SMTP TLS encryption, enable/disable.
- Spamdyke QRV
- Simscan Ramdisk
- Spam Throttle reasonable defaults
- Amavis Setup *New*
- Dovecot LDA (Sieve)
- Vpopmail Daemon
- Dspam
- PHP 5 to 7 Maintenance
- Qmail queue tools
- IMAP & SMTP connection tests Webmail
- Roundcube Mail
- Rainloop Webmail
- Afterlogic Webmail Lite
- ActiveSync (Z-push) Calendar
- DAViCal CalDav Store Backup, Migration & Conversions
- Migrate to CentOS Linux 7/8 QMT host
- Migrate CDB to MySQL
- Migrate vpopmail (many domains)
- Backup/Restore QMT vm/Proxmox VE
- Convert to EPEL ClamAV & Spamassassin Extras
- Peripherals (Remote, Desktop, Collaboration, Cloud, Run-level)
- RPM build environment
- Notes
- .rpm to .deb Ubuntu/Debian hosted QMT
- Disable SELinux
- Master Slave Replication in MySQL
- Master Slave Replication in MySQL reset
- QMT CentOS Linux 8
- Ethernet settings script
- DNS settings script)