Main Page: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
Tags: Manual revert Reverted
Tag: Reverted
Line 115: Line 115:
== [http://qtp.qmailtoaster.com QmailToaster-Plus] ==
== [http://qtp.qmailtoaster.com QmailToaster-Plus] ==


== [[https://www.qmailtoaster.org/migrate.html Backup/Migrate]] ==
#== [[https://www.qmailtoaster.org/migrate.html Backup/Migrate]] ==
 
On destination host
Install CentOS 7/8 QMT, instructions here.
toaststat (make sure all services are running)
qmailctl stop && systemctl stop dovecot
 
On source host
dhost=192.168.1.3 (change to suit)
ssh-keygen
ssh-copy-id $dhost
ssh $dhost (test, no password should be required)
 
# The first rsync migrates the bulk of the email database except those queued during sync
rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dhost:/home/vpopmail/domains
 
qmailctl stop && systemctl stop dovecot
 
mysqldump -u root -p vpopmail > vpopmail.sql
scp vpopmail.sql root@$dhost:/root
 
# The second rsync, services stopped, migrates the balance of the email database
# and control files
rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dhost:/home/vpopmail/domains
rsync --progress -zv -are ssh /var/qmail/control/ root@$dhost:/var/qmail/control
rsync --progress -zv -are ssh /var/qmail/users/ root@$dhost:/var/qmail/users
rsync --progress -zv -are ssh /etc/tcprules.d/ root@$dhost:/etc/tcprules.d
rsync --progress -zv -are ssh /etc/dovecot/toaster.conf root@$dhost:/etc/dovecot
rsync --progress -zv -are ssh /etc/dovecot/local.conf root@$dhost:/etc/dovecot
 
# Not necessary to the migration
rsync --progress -zv -are ssh /usr/share/toaster/include/admin.pass  root@$dhost:/usr/share/toaster/include
rsync --progress -zv -are ssh /usr/share/toaster/include/admin.htpasswd  root@$dhost:/usr/share/toaster/include
rsync --progress -zv -are ssh /usr/share/squirrelmail/plugins/ root@$dhost:/usr/share/squirrelmail/plugins
rsync --progress -zv -are ssh /etc/spamassassin/.spamassassin/  root@$dhost:/etc/spamassassin/.spamassassin
rsync --progress -zv -are ssh /etc/spamassassin/local.cf  root@$dhost:/etc/spamassassin
rsync --progress -zv -are ssh /var/lib/squirrelmail/prefs/  root@$dhost:/var/lib/squirrelmail/prefs
 
On destination host
mysql -u root -p vpopmail < vpopmail.sql
qmailctl cdb && qmailctl start && sleep 2s && systemctl start dovecot && toaststat
 
 
Questions, comments, suggestions, corrections...contact Eric on the QMT list


== [[Troubleshooting]] ==
== [[Troubleshooting]] ==

Revision as of 10:20, 16 March 2024

Welcome to Qmailtoaster's Wiki page.

Background

Introduction

Welcome to the Qmailtoaster wiki. Qmailtoaster is designed to be very stable and easy enough to install that even an inexperienced Linux user can install, operate, and maintain a full blown Qmail MTA.

Everyone is encouraged to find ways to improve Qmailtoaster and to pass their knowledge on to others via the wiki and the email list.

This wiki is maintained by Eric Broch and the rest of the Qmailtoaster community as a means of providing a centralized location for assisting all Qmailtoaster users.

History

QmaitToaster was conceived by Miguel Beccari in June 2002. At the time, Miguel was an IT for Clikka.Com in Udine Italy. Miguel's goals were to provide a very stable rpm based Qmail MTA, and to build a "Qmailtoaster" community of users to support and develop the Qmailtoaster project.

Subsequent QmailToaster Maintainers

2003-2007, Nick Hemmesch

2006-2007, Erik Espinoza

2007-2011, Jake Vickers

2011-2014, Eric Shubert

2014-Present, Eric Broch


For details on the evolution of the various QMailtoaster packages, see the Change Logs.

Credits

QMAIL D. J. Bernstein (http://cr.yp.to/qmail.html)

DAEMONTOOLS D. J. Bernstein (http://cr.yp.to/daemontools.html)

UCSPI-TCP D. J. Bernstein (http://cr.yp.to/ucspi-tcp.html)

EZMLM (http://www.ezmlm.org)

VPOPMAIL (http://www.inter7.com/vpopmail)

QMAILADMIN (http://www.inter7.com/qmailadmin)

VQADMIN (http://www.inter7.com/vqadmin)

QMAILMRTG (http://www.inter7.com/qmailmrtg7)

DOVECOT (https://www.dovecot.org/)

FAQs

Features

  • RPM packages for RHEL 7/8/9 & derivatives (Rocky, Alma, & Springdale)
  • DKIM, SPF and SRS
  • Integrated ClamAV, DSPAM, Rspam, Spamassassin, ClamAV.
  • Warlord virus and worm loader realtime MIME signature scanning
  • CHKUSER 2.0 functions for qmail-smtpd
  • Qmail-Tap provides email archive capability
  • Virtual Domains and Virtual Users using MySQL
  • Autoresponder for vacation/away from office messages
  • Integrated Mailing List (ezmlm)
  • Web-based email: Squirrelmail, Roundcube, Afterlogic, Rainloop.
  • Web-based admin: QmailAdmin
  • Dovecot: POP3, POP3-SSL, IMAP and IMAP-SSL
  • Submission port (587) allows roaming users to skip RBL checks and port 25 blocks
  • SMTPS port (465)
  • eMPF patch for advanced policy control over email

Additional Resources

You have found the wiki, congratulations. There is a lot of good information here.

There is a mailing list which is a good source for help.

The mailing list has a searchable archive, and it is available for searching and news access as well from gmane.org. Many questions have been answered in the archive, so please do some searching before asking a question on the list.

There is the chat room #qmailtoaster at irc.freenode.net. You might find help there.

There is a good graphic titled THE BIG Qmail PICTURE available in several formats that explains how qmail works. The author does not indicate that is free to distribute, however it is free for personal use. Get a copy for yourself, as it is a handy reference.

Also grab a copy of Sills' Life with qmail in whatever format you choose. It too is a valuable reference.

Installation

RHEL 7 & Derivatives

CentOS 7 QT Install

Patch

  1.03-2.2.1 Current
  1.03-3.3.5 Testing

RHEL 8 & Derivatives

Rocky, Alma, Springdale 8 QT Install

Patch

  1.03-3.3.7 Testing

RHEL 9 & Derivatives

Rocky, Alma, Springdale 9 QT Install

Patch

  1.03-3.3.7 Testing

(Obsolete) RHEL 5 & Derivatives

  CentOS 5 QmailToaster Install

Configuration

QmailToaster-Plus

  1. == [Backup/Migrate] ==

On destination host Install CentOS 7/8 QMT, instructions here. toaststat (make sure all services are running) qmailctl stop && systemctl stop dovecot

On source host dhost=192.168.1.3 (change to suit) ssh-keygen ssh-copy-id $dhost ssh $dhost (test, no password should be required)

  1. The first rsync migrates the bulk of the email database except those queued during sync

rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dhost:/home/vpopmail/domains

qmailctl stop && systemctl stop dovecot

mysqldump -u root -p vpopmail > vpopmail.sql scp vpopmail.sql root@$dhost:/root

  1. The second rsync, services stopped, migrates the balance of the email database
  2. and control files

rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dhost:/home/vpopmail/domains rsync --progress -zv -are ssh /var/qmail/control/ root@$dhost:/var/qmail/control rsync --progress -zv -are ssh /var/qmail/users/ root@$dhost:/var/qmail/users rsync --progress -zv -are ssh /etc/tcprules.d/ root@$dhost:/etc/tcprules.d rsync --progress -zv -are ssh /etc/dovecot/toaster.conf root@$dhost:/etc/dovecot rsync --progress -zv -are ssh /etc/dovecot/local.conf root@$dhost:/etc/dovecot

  1. Not necessary to the migration

rsync --progress -zv -are ssh /usr/share/toaster/include/admin.pass root@$dhost:/usr/share/toaster/include rsync --progress -zv -are ssh /usr/share/toaster/include/admin.htpasswd root@$dhost:/usr/share/toaster/include rsync --progress -zv -are ssh /usr/share/squirrelmail/plugins/ root@$dhost:/usr/share/squirrelmail/plugins rsync --progress -zv -are ssh /etc/spamassassin/.spamassassin/ root@$dhost:/etc/spamassassin/.spamassassin rsync --progress -zv -are ssh /etc/spamassassin/local.cf root@$dhost:/etc/spamassassin rsync --progress -zv -are ssh /var/lib/squirrelmail/prefs/ root@$dhost:/var/lib/squirrelmail/prefs

On destination host mysql -u root -p vpopmail < vpopmail.sql qmailctl cdb && qmailctl start && sleep 2s && systemctl start dovecot && toaststat


Questions, comments, suggestions, corrections...contact Eric on the QMT list

Troubleshooting

User Tips & Tricks

Change Logs

Modifications

Replacing Courier IMAP with Dovecot IMAP

Adding Horde Webmail to Toaster

Wish List