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

  1. CentOS Linux 7 Minimal Install
  2. QMT Install ('Many-Domain' install option w/MySQL driver. Dovecot will eventually end support of vpopmail driver)
    1. # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_prep_cos7.sh && \
      chmod 755 qt_prep_cos7.sh && ./qt_prep_cos7.sh
      (reboot)
    2. # ./qt_install_cos7.sh
    3. EPEL ClamAV, Spamassassin, and Squirrelmail are standard with this install
    4. # toaststat
    5. 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 )
      
      
    6. Check IMAPS, SMTPS, & Submission connections
      # ./conntest
    7. Incoming mail should have 'scanners: attach: 1.4.0 clamav: 0.102.4/m:59/d:25958 spam: 3.4.2' in emails' headers
    8. 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
    9. 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.
    10. 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!

  3. Update CentOS Linux 7/QMT
    1. # yum update
    2. # yum --enablerepo=qmt-testing update

Springdale Linux 8 QMT Host (Testing repository)
Tested Install:
SMTP/ESMTP/IMAPS/SMTPS/Submission/
Roundcubemail/Squirrelmail/Qmailadmin
12 FEB 2021

  1. Migration - CentOS Linux 8 to Springdate Linux 8
  2. Springdale 8 Minimal Install Download 8.1 Net Install ISO
  3. QMT Install ('Many-Domain' install option w/MySQL driver. Dovecot will eventually end support of vpopmail driver)
    1. # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos8.sh && \
      chmod 755 qt_install_cos8.sh && ./qt_install_cos8.sh
    2. EPEL ClamAV, and Spamassassin are standard with this install
    3. # toaststat
    4.    # 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 )
      
    5. Check IMAPS, SMTPS, & Submission connections
      # ./conntest
    6. Incoming mail should have 'scanners: attach: 1.4.0 clamav: 0.102.4/m:59/d:25958 spam: 3.4.2' in emails' headers
    7. 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
    8. 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.
    9. 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!

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