On Thu, 21 Aug 2008 02:12:02 Dave wrote:
> Hi,
> Do you have any notes on this setup? I'd like to get pointed on the right
> path.
> Thanks.
> Dave.

http://www.postfix.org/faq.html#fax

For reference here are my files:

master.cf

fax       unix  -       n       n       -       1       pipe
        flags=X user=uucp argv=/usr/local/bin/faxmail -d -n -N -T ${user}

I added in the -N and -T switches to prevent the generation of an extra 
covering page with sender's details.
'user=' is whoever runs the hfaxd process. Make sure that faxmail is chmod 755 
and owned by this user/group.

transport (use 'postconf transport' after making any changes)
fax.domain.tld  fax:localhost

main.cf
smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/recipient_access

recipient_access (use 'postconf recipient_access' after making any changes)

recipient_access = 
        fax.domain.tld     permit_mynetworks, permit_sasl_authenticated

This permits only clients who are on the local network *or* SASL authenticated 
to use the fax service. This is a good insurance against outsiders (who 
having discovered or guessed at the email address) using your fax service.
Note that SASL is not standard with source builds (or any binary package) of 
Postfix. You will need to check that yours has this enabled.

Other notes:
fax.domain.tld does NOT need to be in DNS, and probably shouldn't be, unless 
you need to access this service using mail originating from another mail 
server.

Reply via email to