HylaFAX The world's most advanced open source fax server

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

Re: How to keep FAXRCVD from converting to postscript?



On Tue, 1 Dec 1998, Tim Kelley wrote:

> I know this is elementary for some of you, but ...
> 
> 
> I've tried changing some things (evidently the wrong things) in the
> script, but I can't for the life of me figure out how to keep FAXRCVD
> from using fax2ps to convert the TIF to ps.  I want it to stay as a TIF

Maybe if you set FAX2PS to cat.
FAX2PS=cat

> and get emailed to a user.
> 
> I can see the relevant portion of the script is
> 
> $FAX2PS $FILE 2>/dev/null
> echo ""
> echo "--MIMEBOUNDARY--"
> ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
> 
> This - I think - just creates an output file "$FILE" which gets passed
> to sendmail ... but I don't understand bash that well ... where does the
> "2" come from?  I'm trying to send the original TIFF with none of the

The 2 is stderr. All error output is redirected to the bit bucket.

> fancy converting - should be easy, right?
> 
> 

-- 
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net




Project hosted by iFAX Solutions