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] Save the fax to different file



In can use the similar syntax as FaxDispatch in
faxrcvd,like

if $DEVICE
    transform to PDF

elseif $DEVICE
    transform to PS

else

fi

--- Andy Tran <andy@charterkc.com.au> wrote:
> Hi,
> 
> I am a new user of Hylafax 4.1,  It work very good
> and I am very happy about
> it.
> I tried to install a new modem card with 8 port its
> working fine, and my
> question is can I receive fax in the different file
> name for each device
> like /recvq/recvq_ttyS4, recvq_ttyS5.......etc, ?  
> However I tried to
> modified the bin/faxrcvd file to add these line in :
> if [ -f $FILE ]; then
> NEWFILE=`echo $FILE | sed
> `s/recvq/recvq_$DEVICE/g'`;
> 
> cp $FILE $NEWFILE;
> 
> FILE=$NEWFILE;
> 
> But it was not working then I look in
> /var/log/system and I found this:
> 
> May 30 09:16:50 Neptune FaxGetty[569]: ANSWER: FAX
> CONNECTION
> May 30 09:17:18 Neptune FaxGetty[569]: RECV FAX
> (00000002): from +94255544,
> page
>  1 in 0:26, INF, 7.7 line/mm, 1-D MR, 14400 bit/s
> May 30 09:17:18 Neptune FaxGetty[569]: RECV FAX
> (00000002):
> recvq/fax00002.tif f
> rom +94255544, route to <unspecified>, 1 pages in
> 0:28
> May 30 09:17:21 Neptune FaxGetty[569]: RECV FAX:
> bin/faxrcvd
> "recvq/fax00002.tif
> " "ttyS4" "00000002" ""
> May 30 09:17:31 Neptune sendmail[603]:
> g4TNHVCk000603: from=fax, size=396,
> class=0, nrcpts=1,
>
msgid=<200205292317.g4TNHVCk000603@Neptune.charterkc.com.au>,
> rela
> y=uucp@localhost
> May 30 09:17:51 Neptune identd[607]: started
> May 30 09:17:52 Neptune sm-mta[606]: g4TNHpLN000606:
> from=<fax@Neptune.charterkc.com.au>, size=704,
> class=0, nrcpts=1,
> msgid=<200205292317.g4TNHVCk000603@Neptun
> e.charterkc.com.au>, proto=ESMTP, daemon=MSA,
> relay=uucp@localhost
> [127.0.0.1]
> May 30 09:17:52 Neptune sendmail[603]:
> g4TNHVCk000603: to=FaxMaster,
> ctladdr=fax
>  (10/10), delay=00:00:21, xdelay=00:00:21,
> mailer=relay, pri=30097,
> relay=[127.0
> .0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
> (g4TNHpLN000606 Message accepted for
> del
> ivery)
> May 30 09:17:52 Neptune sm-mta[615]: g4TNHpLN000606:
> to=andy,
> ctladdr=<fax@Neptu
> ne.charterkc.com.au> (10/10), delay=00:00:00,
> xdelay=00:00:00, mailer=local,
> pri
> =30310, dsn=2.0.0, stat=Sent
> May 30 09:17:58 Neptune FaxGetty[569]: MODEM
> ROCKWELL
> AC/K56/V2.200-V90_2M_DLS
> May 30 09:23:01 Neptune /USR/SBIN/CRON[620]: (mail)
> CMD (  if [ -x
> /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then
> /usr/sbin/exim -q ; fi)
> May 30 09:38:01 Neptune /USR/SBIN/CRON[627]: (mail)
> CMD (  if [ x
> /usr/sbin/exi
> m -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim
> -q ; fi)
> Everyone have any suguestion about this problem and
> how to make this case
> work?
> 
> Andy Tran
> 
> 
> ____________________ 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

____________________ 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