Quick note: if you want a Postfix->HylaFAX email-to-fax gateway with an incoming format like aaabbbcccc@<hostname>, use regexes to allow the recipient, and also to route to a different transport.
main.cf:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $fax_recipients
fax_recipients = regexp:/etc/postfix/fax_recipients
fax_destination_recipient_limit = 1
fax_recipients:
/[0-9]{10}@.*/ OK
transport.regex:
/[0-9]{10}@.*/ fax:localhost
master.cf:
fax unix - n n - 1 pipe
flags= user=uucp argv=/usr/bin/faxmail -d -n ${user}
main.cf:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $fax_recipients
fax_recipients = regexp:/etc/postfix/fax_recipients
fax_destination_recipient_limit = 1
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $fax_recipients
fax_recipients = regexp:/etc/postfix/fax_recipients
fax_destination_recipient_limit = 1
fax_recipients:
/[0-9]{10}@.*/ OK
transport.regex:
/[0-9]{10}@.*/ fax:localhost
master.cf:
fax unix - n n - 1 pipe
flags= user=uucp argv=/usr/bin/faxmail -d -n ${user}