On Thu, Dec 18, 2008 at 09:56:23PM -0500, Wietse Venema wrote:

> Rob Tanner:
> > The local aliases file and I was afraid of that.  Since the only thing 
> > going through this Postfix instance is the FAX stuff which needs to be 
> > delivered to the program, is there some way to force all delivery to the 
> > program unconditionally?
> 
> A transport map entry:
> 
> /etc/postfix/main.cf:
>     transport_maps = hash:/etc/postfix/transport
> 
> /etc/postfix/transport:
>     example.com       fax:
> 
> /etc/postfix/master.cf:
>     fax      unix  -       n       n       -       -       pipe
>       user=xxx argv=/some/where/command -- ${sender} ${recipient}
> 
> Keep in mind that ${recipient} expands into multiple arguments
> unless you specify 
> 
> /etc/postfix/main.cf:
>     fax_destination-recipient_limit=1

with the accidental "-" typo replaced with an "_". Very few pipe transports
handle multiple recipients atomically. Unless delivery to all recipients
is a single transaction (all or nothing), the above additional setting is
essential.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to