Hi All,
I’m trying to configure Virtualmin / Postfix to run as a hylafax fax server cell for tpc.int. They (tpc.int) give instructions for Qmail, Sendmail and smail, but not for Postfix. For Qmail they say do the following; what would be the equivalent setup for Postfix / Virtualmin? By the way, I already have a working Virtualmin, Postfix, Hylafax system, which is a prerequisite.
Get qmail up and running. There are quite a few differences as compared to sendmail. Deal with these first.
Add/append the entries to the /var/qmail/controls/rcpthosts file that reflect the parts of the tpc DNS space that your zone is covering. For example my cell covers parts of +1416 and +1905. I have added:
.6.1.4.1.tpc.int
.5.0.9.1.tpc.int
.iddd.tpc.int
N.B. Don’t forget the leading dot!
Add/append the specfic DNS encoded area codes and exchanges that you are serving to the /var/qmail/controls/virtualdomains file.
For example, if the cell only covers specifically:
+1416978xxxx
+1905944xxxx
+14162674412
one would add:
.8.7.9.6.1.4.1.tpc.int:alias-tpc
.4.4.9.5.0.9.1.tpc.int:alias-tpc
.2.1.4.4.7.6.2.6.1.4.1.tpc.int:alias-tpc
Create the file /var/qmail/alias/.qmail-tpc-default with the following content:
# tpc forwarding...
|/var/spool/tpc/tpcmailer.pl "$EXT2@$HOST" $SENDER
Note that your tpc directory might be different than in the above example. The important issue is to get the correct path to the tpcmailer.pl perl script. The double quotes around the first argument are also superfluous.