HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] email gateway with faxmail specify fax owner How To



On Jan 23, 2008 1:00 AM, Carlos Lorenzo Matés <clmates@xxxxxxxxxxx> wrote:
> Hi Chris.
>
>
> El Miércoles, 23 de Enero de 2008, Chris Weiss escribió:
> > faxmail has many limitations, instead of direct send, pipe famail to
> > sendfax, then you can specifiy the owner that way
>
>
> This sound interesting. I'm not experienced using pipes, how could i pipe this
> in the master.cf file? can I build a complex syntax in the argv side?
>
> > > I have this line in master.cf
> > >
> > >
> > > fax       unix  -       n       n       -       1       pipe
> > >    flags= user=fax argv=/usr/bin/faxmail -d -n $(user)
> > >
> > >

I don't know much sendmail-foo, but in exim I made a shell script and
used that in the config, the script looks like this:

/usr/local/bin/faxmail -n -T | /usr/local/bin/sendfax -R -n -o $1 -f $2 -d $3


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions