Configuration

From QmailToaster wiki
Jump to navigation Jump to search

Domains[edit]

Follow this link for information about configuring domains.

Users[edit]

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[edit]

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 by Name[edit]

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

Control Files by Function[edit]

Links to Control File descriptions organized by module.


Filtering[edit]

Pre Receipt[edit]

chkuser[edit]

RBLs[edit]

SPF[edit]

Spamdyke[edit]

Post Receipt[edit]

domainkeys[edit]

simscan[edit]

clamav[edit]

spamassassin[edit]

SURBL[edit]

Networking[edit]

Domain Name Server[edit]

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[edit]

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[edit]

A very nice tutorial for djbdns can be found here.

fetchmail[edit]

SRS - Configuring SRS on Toaster 1.03-1.3.13+[edit]

tcp.smtp[edit]

tcpserver options/flags[edit]

Security[edit]

Certificate[edit]

eMPF[edit]

Fail2Ban[edit]

SSL[edit]

SSL on submission port[edit]

SquirrelMail[edit]

Redirection[edit]

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