Daniel L. Miller:
> We're now using a hosted fax service and receive our faxes via email to 
> a dedicated address.  Is there a method via Postfix I can have these 
> printed when received?  Or do I handle this via mda scripting (at the 
> moment, Dovecot with Sieve).

/etc/postfix/transport:
     # Use "postmap /etc/postfix/transport" after changing the file.
     fax-u...@example.com fax:

/etc/postfix/master.cf:
    # Unless your fax can handle concurrent requests, use a process limit of 1.
    fax   unix  -       n       n       -       1       pipe
        user=unprivileged-user-here argv=/path/to/fax-print-program

/etc/postfix/main.cf
     # Use "postfix reload" to make the main.cf and master.cf change effective.
     transport_maps = hash:/etc/postfix/transport

You may also need to list the fax-user in local_recipient_maps or
virtual_mailbox_domains depending on how dovecot is hooked into
Postfix.

        Wietse

Reply via email to