![]() |
Perfect! So it's more easy for my users to found theirs fax ... and how can I specified in the FaxDispatch the follows rules? How can I specified a second email destination? Following sentece doesn't work ... case $SENDER in *xxxx*xxxxx) SENDTO=first.email@xxxxxxxx;second.email@xxxxxxxx;; and how can I separate the sender for a user? case $SENDER in *xxxx*xxxxx;*xxxxx*xxxxx) SENDTO=first.email@xxxxxxxx;; How can I set these rules? Or better what's the sintax? Thanks again and again. Marco. > -----Messaggio originale----- > Da: Giulio Orsero [SMTP:giulioo@xxxxxxxxx] > Inviato: giovedì 3 marzo 2005 17.46 > A: hylafax-users@xxxxxxxxxxx > Oggetto: Re: [hylafax-users] R: R: delete tiff after received and > order by tim est amp. > > On Thu, 3 Mar 2005 17:11:03 +0100, Meli Marco > <Marco.Meli@xxxxxxxxxxxxxxxxxxx> wrote: > > Ok you are right, but where can I find more information about > Faxdispatch > > environment variables > Don't know if they are detailed somewhere, however look at faxrcvd and > see when FaxDispatch get sourced; so you can do whatever you want. I't > just a way to customize faxrcvd without editing it, look at the > variabled defined at the top of faxrcvd (SENDTO, NOTOFY_FAXMASTER, > ...) > > > and how can I mv the files to another folder? > > at the end of your faxrcvd.custom > > if [ -f $FILE ]; then # FILE is recvq/fax000001.tif > MYNAME=some_name_with_timestamp > mv $FILE /mypath_of_backup/${MYNAME} > or whtever you want > fi > > Personally, I would: > 1) not share recvq > 2) let recvq be emptied automatically by cron hylafax script > 3) share with samba /path/fax > 4) copy files into /path/fax > MY_PATH=/path/fax/(date +%Y-%m-%d) > mkdir -p $MY_PATH > cp $FILE $MY_PATH/ > > make $MY_PATH readable and not writable by samba users > > So you get faxes archived by day. > If you really need to do "my users delete fax and put them into their > homedir" > add > cp $FILE /path/fax/current/ and make it writable by samba users. > > > > > > > > > -- > giulioo@xxxxxxxxx > > ____________________ 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@xxxxxxxxxxx < > /dev/null > *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx* ____________________ 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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*