Rocky, Alma, Springdale 9 QT Install and Configuration: Difference between pages

From QmailToaster
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
[[Main_Page#RHEL_9_&_Derivatives|Back]]<br>
[[Main_Page#Configuration|Back]]
=CentOS Linux 9 Minimal Install=  
== [[ Initial Configuration ]] ==
==QMT Install ('Many-Domain')==
<nowiki>#</nowiki> curl -o /usr/local/bin/qt_prep.sh https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos9.sh
<nowiki>#</nowiki> chmod 755 /usr/local/bin/qt_prep.sh && qt_prep.sh (reboot)
<nowiki>#</nowiki> qt_install.sh
<nowiki>#</nowiki> toaststat<br>
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<br>
systemd service:              clamd@scan:      [<span style="color:green"> OK </span>]
systemd service:        clamav-freshclam:      [<span style="color:green"> OK </span>]
systemd service:            spamassassin:      [<span style="color:green"> OK </span>]
systemd service:                  dovecot:      [<span style="color:green"> OK </span>]
systemd service:                  mariadb:      [<span style="color:green"> OK </span>]
systemd service:                    httpd:      [<span style="color:green"> OK </span>]
systemd service:                    named:      [<span style="color:green"> OK </span>]
systemd service:                    ntpd:      [<span style="color:green"> OK </span>]
systemd service:                    sshd:      [<span style="color:green"> OK </span>]
systemd service:                  network:      [<span style="color:green"> OK </span>]
systemd service:                    crond:      [<span style="color:green"> OK </span>]
systemd service:                    acpid:      [<span style="color:green"> OK </span>]
systemd service:                      atd:      [<span style="color:green"> OK </span>]
systemd service:                  autofs:      [<span style="color:green"> OK </span>]
systemd service:                  smartd:      [<span style="color:green"> OK </span>]
systemd service:              irqbalance:      [<span style="color:green"> OK </span>] (Multiple processors only)<br>
<nowiki>#</nowiki> conntest<br>
Enter a valid remote email account to which QMT will send mail: <email address>
IMAPS: postmaster@domain.tld --> <span style="color:green">success</span>
Submission: postmaster@domain.tld --> <span style="color:green">success</span>
SMTPS: postmaster@domain.tld --> <span style="color:green">success</span>


[https://qmailtoaster.org/scanners.html Scanners]
== [[Domains]] ==
  Qmail-1.03-3.3.7 (Implements TLSv1.3)
Follow this link for information about configuring domains.
[https://github.com/qmtoaster/patches/tree/master/cos8/3.3.7 Patches] applied
 
== [[Users]] ==
Follow this link for information about configuring users.
 
List of [[Mobile Device]] which succesfully connect to QmailToaster with SMTP-Auth and Submission Port
 
List of [[Wapmail]] for mobile users with GPRS and Wap Browser Handphone
 
== Control Files ==
The majority of the configuration files are located in the '''/var/qmail/control ''' directory.
 
 
man '''qmail-control''' excerpt:
 
You can change the behavior of the '''qmail''' system by modifying '''qmail''''s <u>control</u> <u>files</u> in '''/var/qmail/control'''.
 
'''qmail''' [but not Qmail-Toaster] can survive with just one control file, [[me]], containing the fully-qualified name of the current host. This file is used as the default for other hostname-related control files.
 
Comments are allowed in [[badhelo]], [[badmailfrom]], [[badmailfromnorelay]], [[badmailto]], [[badmailtonorelay]], [[locals]], [[percenthack]], [[qmqpservers]], [[rcpthosts]], [[smtproutes]], and [[virtualdomains]]. Trailing spaces and tabs are allowed in any [qmail] control file.
 
 
=== [[Control Files List]] ===
=== [[Control Files by Name]] ===
Table of Control Files organized alphabetically with default values, included with Qmail-Toaster, and used by information.
=== [[Control Files by Function]] ===
Links to Control File descriptions organized by module.
 
 
== Filtering ==
=== Pre Receipt ===
==== [[chkuser]] ====
 
==== [[RBLs]] ====
 
==== [[SPF]] ====
 
==== [[Spamdyke]] ====
 
=== Post Receipt ===
==== [[domainkeys]] ====
 
==== [[simscan]] ====
 
==== [[clamav]] ====
 
==== [[spamassassin]] ====
 
==== [[Amavis]] ====
 
==== [[Spam Throttle]] ====
 
==== [[Fail2ban]] ====
 
==== [[SURBL]] ====
 
 
== Networking ==
=== Domain Name Server ===
[http://www.oreilly.com/catalog/linuxckbk/ <i>The Linux Cookbook</i> (O'Reilly) by Carla Schroder] has very good recipes for setting up a DNS server. Caching, public and private servers for both bind and djbdns are covered. You can also read it online [http://safari.oreilly.com/0596006403/linuxckbk-PREFACE-2#X2ludGVybmFsX1RvYz94bWxpZD0wNTk2MDA2NDAzL2xpbnV4Y2tiay1DSFAtMjQ= here].
 
==== bind ====
A very nice tutorial for bind can be found [http://www.troubleshooters.com/linux/dns.htm here].
 
To install a bind caching name server, you can follow these steps.
Note: This was done on CentOS 5.4 x86_64, so YMMV.
  Do this all as root.
 
# Install caching name-server
#* # yum -y install bind caching-nameserver
# Set named up to run after reboot. And start named
#* # chkconfig named on
#* # service named start
# Edit /etc/resolv.conf and add the following above other entries
#* nameserver 127.0.0.1
# Test
#* # dig qmailtoaster.com | grep "^;; SERVER"
#* If you get ";; SERVER: 127.0.0.1#53(127.0.0.1)" then you're good to go.
 
==== djbdns ====
A very nice tutorial for djbdns can be found [http://www.troubleshooters.com/linux/djbdns/index.htm here].
 
=== SRS - [[Configuring SRS on Toaster 1.03-1.3.13+]] ===
 
=== [[tcp.smtp]] ===
 
=== [[tcpserver options/flags]] ===
 
=== [[How to Setup DKIM with Qmail Toaster]] ===
 
== Security ==
=== [[Certificate]] ===
 
=== [[eMPF]] ===
 
=== [[Fail2Ban]] ===
 
=== [[SSL]] ===
 
=== [[SSL on submission port]] ===
 
=== [[Securing SquirrelMail|SquirrelMail]] ===
 
=== [[ Secure Qmail web administration ]] ===
 
== [[Dovecot]] ==
 
== [[Vpopmail]] ==
 
== [[PHP]] ==
 
== [[Qmail queue]] ==
 
== [[IMAP/SMTP Authentication tests]] ==
 
== [[Redirection]] ==
Follow this link for information about how to redirect email to different addresses.

Revision as of 17:11, 30 March 2024

Back

Initial Configuration

Domains

Follow this link for information about configuring domains.

Users

Follow this link for information about configuring users.

List of Mobile Device which succesfully connect to QmailToaster with SMTP-Auth and Submission Port

List of Wapmail for mobile users with GPRS and Wap Browser Handphone

Control Files

The majority of the configuration files are located in the /var/qmail/control directory.


man qmail-control excerpt:

You can change the behavior of the qmail system by modifying qmail's control files in /var/qmail/control.

qmail [but not Qmail-Toaster] can survive with just one control file, me, containing the fully-qualified name of the current host. This file is used as the default for other hostname-related control files.

Comments are allowed in badhelo, badmailfrom, badmailfromnorelay, badmailto, badmailtonorelay, locals, percenthack, qmqpservers, rcpthosts, smtproutes, and virtualdomains. Trailing spaces and tabs are allowed in any [qmail] control file.


Control Files List

Control Files by Name

Table of Control Files organized alphabetically with default values, included with Qmail-Toaster, and used by information.

Control Files by Function

Links to Control File descriptions organized by module.


Filtering

Pre Receipt

chkuser

RBLs

SPF

Spamdyke

Post Receipt

domainkeys

simscan

clamav

spamassassin

Amavis

Spam Throttle

Fail2ban

SURBL

Networking

Domain Name Server

The Linux Cookbook (O'Reilly) by Carla Schroder has very good recipes for setting up a DNS server. Caching, public and private servers for both bind and djbdns are covered. You can also read it online here.

bind

A very nice tutorial for bind can be found here.

To install a bind caching name server, you can follow these steps. Note: This was done on CentOS 5.4 x86_64, so YMMV.

Do this all as root.
  1. Install caching name-server
    • # yum -y install bind caching-nameserver
  2. Set named up to run after reboot. And start named
    • # chkconfig named on
    • # service named start
  3. Edit /etc/resolv.conf and add the following above other entries
    • nameserver 127.0.0.1
  4. Test
    • # dig qmailtoaster.com | grep "^;; SERVER"
    • If you get ";; SERVER: 127.0.0.1#53(127.0.0.1)" then you're good to go.

djbdns

A very nice tutorial for djbdns can be found here.

SRS - Configuring SRS on Toaster 1.03-1.3.13+

tcp.smtp

tcpserver options/flags

How to Setup DKIM with Qmail Toaster

Security

Certificate

eMPF

Fail2Ban

SSL

SSL on submission port

SquirrelMail

Secure Qmail web administration

Dovecot

Vpopmail

PHP

Qmail queue

IMAP/SMTP Authentication tests

Redirection

Follow this link for information about how to redirect email to different addresses.