* John Hiemenz <john@xxxxxxxxxxxxx> [070129 16:33]:
> >From what I can tell, the FaxDispatch file is used with the faxrcvd script
> and that is specifically for email. I don?t think what you are wanting to
> do is possible with stock scripts FaxDispatch and faxrcvd.
>
> Perhaps the authors can answer this more thoroughly.
FaxDispatch is a shell script that is sourced by faxrcvd.
If you just want to copy it somewhere:
if [ -f $FILE ]
then
cp $FILE /path/some/where/I/want
fi
Or if you want to enforce that they are all a certain TIFF format:
if [ -f $FILE ]
then
tiffcp -c g4 $FILE /path/some/where/I/want
fi
> -----Original Message-----
> From: Lukasz Szybalski [mailto:szybalski@xxxxxxxxx]
> Sent: Monday, January 29, 2007 1:44 PM
> To: John Hiemenz
> Cc: hylafax-users@xxxxxxxxxxx
> Subject: Re: [hylafax-users] fax to email
>
> On 1/29/07, John Hiemenz <john@xxxxxxxxxxxxx> wrote:
> > read up on the FaxDispatch file in the hylafax/etc directory. there
> > are options to convert to pdf or tiff before emailing, along with
> > specifying what email to send to.
> >
> > hylafax/bin/faxrcvd will use this file to determine settings. In my
> > case, it is simple two line FaxDispatch:
> >
> > FILETYPE=tif;
> > SENDTO=user@xxxxxxxxx;
> >
>
> would you know how would these lines look if i wanted to move a fax to a
> different directory? SENDTO=/home/user/fax/
> > If you have all the proper tools installed, set FILETYPE=pdf;
> > Converting to pdf requires tiff2ps and tiff2pdf tools be installed.
> >
> >
> > > hello, I just installed the fax server on a debian machine with hylafax.
> > >
> > > i received the fax correctly in /var/spool/hylafax/recvq/ but I
> > > want to
> > receive in the email with a pdf attached.
> > >
> > > where I have to insert the email?
> > >
> > > can some one hel me?
> > >
> > > thanks for all.
--
Aidan Van Dyk aidan@xxxxxxxx
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFFvmlYuVxNPsxNPScRAmM3AJ9cepshI2zLhCMztnGHA42k9PNF7wCdHsHs
07NKunAGqek8CiTNHY9L1fY=
=A8XU
-----END PGP SIGNATURE-----