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] I want the subject field in the notification mail



Quoting Mr Poirier Xavier <xpoirier@ch-bourg01.fr>:

> > And as I said before here again, you can't. So you must call
> > faxmail *without* -d and pipe it's output to sendfax to which you 
> can pass the -i option with the [USRKEY|JobTag|Identification].
> 
> Where can I find the exact line in mailfax script working with pipe 
> sendfax , please ?
> I've tryed somes things not working
> it was a good pleasure to use the -d option for me, but ...

That's the line where faxmail is called, you need to change it to 
something similar to:

faxmail | sendfax -n -i "$jobtag" -f "$sender" -d "$dest" 

Of course, add the full path to the commands and make sure you set those 
variables to what they represent. Look at the mailfax scripts for smail 
and qmail for examples (they do not use the -i though). You may need to 
add more options to fit your needs for headers that were parsed by faxmail 
when in -d.

-- 
Patrice Fournier
pfournier@loups.net

____________________ 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@hylafax.org < /dev/null




Project hosted by iFAX Solutions