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] faxmail



On Fri, May 18, 2001 at 06:13:15PM -0400, Tech Support wrote:
> > Yes, you need to eliminate the stdout, apparently...
> > sam:    "|/usr/bin/faxmail -d info@555-1212 >/dev/null 2>&1"
> > will eliminate stdout *and* stderr
> > sam:    "|/usr/bin/faxmail -d info@555-1212 >/dev/null"
> > will eliminate only stdout
> 
>   I thought that it would be that simple too *but* ... exim interprets
> the > as the end of an address and doesn't do the re-direct.
>   Thanks for a valiant effort!
> 
> Maybe a little more info:
>    If I add a director and router (as outlined in a old post that I
> found by a search on exim on hylafax.org) the delivery works fine. The
> ugly part is I have to re-write sam@foo.com to sam@555-1212.fax. It
> works but...

I'd put /usr/bin/faxmail -d blah blah and the redirect into a script,
and have exim pipe to the script, myself.

Either that, or quote the entire command line
|"/usr/bin/faxmail -d blah >/dev/null"

...but I'm not sure that would be considered acceptable syntax.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra@baylink.com
Member of the Technical Staff     Baylink
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 804 5015

   OS/X: Because making Unix user-friendly was easier than debugging Windows


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions