
NOTE: if you're upgrading from qmail-masq-0.2 to 0.4 version please read the UPGRADE file

Steps for running qmail-masq:

1) install and configure qmail (if you're Italian read my "Italian qmail HOWTO")

2) if it's running, stop qmail (often /etc/init.d/qmail stop )

3) install qmail-qfilter and modify /var/qmail/bin/qmail-queue as shown above

  #!/bin/sh
  exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/qmail-masq.pl

4) copy the qmail-masq.pl to /var/qmail/bin and modify the permission

  # cp qmail-masq.pl /var/qmail/bin/
  # chown root:root /var/qmail/bin/qmail-masq.pl
  # chmod 755 /var/qmail/bin/qmail-masq.pl

5) copy qmail-masq.conf.example to /etc/qmail-masq.conf and modify it for your
needs (follow the instructions in the file)

   # cp qmail-masq.conf.example /etc/qmail-masq.conf
   # chmod 644 /etc/qmail-masq.conf
   # vi /etc/qmail-masq.conf

6) all is done, restart qmail, try it sending some email and enjoy it!
