Qmail Integration

For this integration peice, you need to install the MailArchiva server on different machine to that of Qmail. You will use the Qmail TAP to forward emails to MailArchiva. See: http://www.inter7.com/?page=qmailtap for further information.

Step 1) Confirm there is no process listening on port 25 on the machine running MailArchiva.

Step 2) Configure the MailArchiva server to listen for SMTP traffic port 25 (not port 8091). (see Listeners tab in Configuration screen)

Step 3) From the commandline on the qmail server, type:

wget http://cr.yp.to/software/qmail-1.03.tar.gz
gunzip qmail-1.03.tar.gz
tar -xvf  qmail-1.03.tar
wget http://www.inter7.com/qmailtap/qmail-tap.diff
patch -p0 < qmail-tap.diff
qmailctl stop
cd qmail-1.03
make man && make setup check
vi /var/qmail/control/taps
Step 4. In /var/qmail/control/taps, add the line:
*@domain.com:archive@mailarchiva.domain.com

Step 5. In /etc/hosts, add the line:

192.168.0.50 mailarchiva.domain.com

(where 192.168.0.50 is the IP address of the MailArchiva server)

Step 6. Start qmail:

qmailctl start
Topic attachments
I Attachment Action Size Date Who Comment
elsediff qmail-tap.diff manage 9.8 K 2007-10-18 - 11:14 TWikiGuest Qmail.diff
Topic revision: r6 - 2008-07-20 - 06:05:16 - TWikiGuest
 
Copyright (c) 2005-2010 Stimulus Software