HylaFAX The world's most advanced open source fax server |
Hi Listusers
I have set up a hylafax mail-to-fax gateway and configured my postfix box so that I can send e-mails to 0123456789@xxxxxxxxxxxxxxxxxxxxxx and the mail text will be faxed to the fax number 0123456789.
Here's the configuration:
in /etc/postfix/master.cf I added following line:
fax unix - n n - 1 pipe
flags= user=fax argv=/usr/local/bin/faxmail -d -n ${user}
in /etc/postfix/transport I added the following:
fax.mybox.mydomain.tld fax:localhost
In /etc/postfix/main.cf I added the following:
transport_maps = hash:/etc/postfix/transport
fax_destination_recipient_limit = 1
Then I run
postmap /etc/postfix/transport
in order to update the transport database.
I can send faxes from mybox.mydomain.tld. However, when I send an e-mail from myotherbox.mydomain.tld, it bounces by saying that:
Nov 11 16:15:01 myotherbox postfix/smtp[6608]: E4D4731FB2:
to=<0123456789@xxxxxxxxxxxxxxxxxxxxxx>, relay=none, delay=0,
status=bounced (Name service error for name=fax.mybox.mydomain.tld
type=A: Host not found)
My question: the postfix-hylafax documentation said that I should not advertise fax.mybox.mydomain.tld in the DNS. Is there a way to configure postfix so that remote MTAs won't bounce the mail? or do I have to put the virtual non existing local domain "fax" into the DNS?
Thanks a lot in advance
Mit freundlichen Grüssen - with kind regards - Meilleures salutations
Erich Iseli