You can setup Zimbra CS as a gateway for HylaFax users to send fax out using the scheme <fax number>@fax.our.domain, following these steps:
- Edit file /opt/zimbra/postfix/conf/master.cf, append this line:
- Edit file /opt/zimbra/postfix/conf/transport, append this line:
- Edit file /opt/zimbra/postfix/conf/main.cf, append this line:
- Edit file /opt/zimbra/conf/localconfig.xml, modify the entry “postfix_transport_maps” as follow:
- Then of course, restart the Zimbra MTA service with command (as zimbra user):
fax unix - n n - 1 pipe
flags= user=uucp argv=/usr/bin/faxmail -d -n ${user}
fax.your.domain fax:localhost
And then use this command to regenerate the transport.db file:
/opt/zimbra/postfix/sbin/postmap /opt/zimbra/postfix/conf/transport
fax_destination_recipient_limit = 1
Note: the process limit of 1 in the master.cf file is necessary with fax software that cannot handle multiple requests at the same time.
<key name="postfix_transport_maps">
<value>proxy:ldap:/opt/zimbra/conf/ldap-transport.cf, hash:/opt/zimbra/postfix/conf/transport</value>
</key>
Note: specify dbm instead of hash if your system uses dbm files instead of db files. To find out what map types Postfix supports, use the command postconf -m.
zmmtactl stop
zmmtactl start
Note: be sure to not advertise fax.your.domain in the DNS
This process has been tested on Zimbra CS Open Source edition 5.0.9 and HylaFax 4.4.4 running on the same Linux CentOS 5 machine.




Hi,
I would like to know how users are authenticated when they send a fax via mail ?
Thx
Tyler
Hello Tyler,
In my installation, user is already authenticated with Zimbra before sending mail-to-fax messages.
After logging into the mailbox, user just needs to send a mail (with/without attachments) to recipient-fax-number@fax.your.domain.
Thanks and regards,
Tuan
Hi,
Thanks for your answer.
I tried your tutorial, but when I send a mail to faxnumber@fax.mydomain.com, the mail is blocked in queue list.
I use hylafax 6 and zcs 6.0.7.
In /opt/zimbra/conf/localconfig.xml I didn’t find postfix_transport_maps so I added the key.
Thanks
Tyler
Hi Tyler,
Your should recheck the postfix_transport_maps parameter in /opt/zimbra/conf/localconfig.xml. It should be existed before.
If you add new entry, it may conflict with the old one.
Regards,
Tuan
CAN WE USE THE SAME METHODOLOGY TO SEND EMIAL TO SMS TOO