Rocky, Alma, Springdale 9 QT Install

From QmailToaster
Revision as of 16:23, 20 August 2024 by Ebroch (talk | contribs)
Jump to navigation Jump to search

Back

CentOS Linux 9 Minimal Install

QMT Install ('Many-Domain')

# curl -o /usr/local/bin/qt_install https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos9.sh
# chmod 755 /usr/local/bin/qt_install
# qt_install
# toaststat
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)
# conntest Enter a valid remote email account to which QMT will send mail: <email address> IMAPS: postmaster@domain.tld --> success Submission: postmaster@domain.tld --> success SMTPS: postmaster@domain.tld --> success
Scanners
Many Domain Install (Alias Domain)
Qmail-1.03-3.3.11 (OpenSSL3)
Patches applied
 Certificate
 Test the certificate

Variables

Remote user

 # ruser=remote@domain.tld

Local user & password

 # luser=postmaster@mydomain.tld
 # lpass=`/home/vpopmail/bin/vuserinfo $luser | grep "clear passwd: " | sed 's/clear passwd: //'`

Server certificate FQDN

 # host=mail.mydomain.tld

Commands

 # swaks --to $ruser --from $luser --server $host --port 465 --ehlo test -tlsc --tls-verify --auth login --auth-user $luser --auth-password $lpass
   === TLS peer certificate passed CA verification, passed host verification (using host mail.mydomain.tld to verify)
 # swaks --to $ruser --from $luser --server $host --port 587 --ehlo test -tls --tls-verify --auth login --auth-user $luser --auth-password $lpass
   === TLS peer certificate passed CA verification, passed host verification (using host mail.mydomain.tld to verify)
 #