Configuration

From QmailToaster
Jump to navigation Jump to search

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

Qmail Dovecot Authentication

Qmail LDAP Authentication

IMAP/SMTP Authentication tests

Redirection

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