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] mail 2 fax with more than one modem



you should have -o to set hylafax username and -f to set the sender,
who the mail was from
without these, it will try to use your postfix user, which isn't
likely a valid hylafax user.

On 10/2/07, nik600 <nik600@xxxxxxxxx> wrote:
> ok, so:
>
> now i've configured all, but i have some strange results, the script is:
>
> #!/bin/sh
> # script di invio dei fax
> /usr/local/bin/faxmail -n | /usr/local/bin/sendfax -n -d $1 -h
> ttyiaxmodem_1@xxxxxxxxx
>
> ***
> and master.cf is:
>
> fax       unix  -       n       n       -       1       pipe
>  flags=        user=fax argv=/programmi/script/send_fax.sh ${user}
>
> ***
>
> if i test it with:
>
> cat some_txt_file | /programmi/script/send_fax.sh number
>
> it work
>
> ***
>
> but when i try to send the fax with the email i get this error in the
> mailserver logs:
>
>  (Command died with status 255: "/programmi/script/send_fax.sh".
> Command output: Malformed (null) sender name or mail address )
>
> Any idea?
>
> On 10/1/07, nik600 <nik600@xxxxxxxxx> wrote:
> > On 10/1/07, Chris Weiss <cweiss@xxxxxxxxx> wrote:
> > > On 10/1/07, nik600 <nik600@xxxxxxxxx> wrote:
> > > > I've taken a look at the man of sendfax, but... what is the parameter
> > > > that grant me the possibility to set up the device to use?
> > > >
> > >
> > >  -h
> > >
> > ops... sorry :-)
> >
> > Thanks!
> > --
> > /*************/
> > nik600
> > https://sourceforge.net/projects/ccmanager
> > https://sourceforge.net/projects/nikstresser
> >
>
>
> --
> /*************/
> nik600
> https://sourceforge.net/projects/ccmanager
> https://sourceforge.net/projects/nikstresser
>
>
> ____________________ 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*
>
>


____________________ 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