HylaFAX The world's
most advanced open source fax server
[hylafax-users] R: R: delete tiff after received and order by tim est amp.
I've try and in this way I can change the name of the attachment but how can
I rename the file and mv it in another folder?
> -----Messaggio originale-----
> Da: Giulio Orsero [SMTP:giulioo@xxxxxxxxx]
> Inviato: giovedì 3 marzo 2005 16.08
> A: hylafax-users@xxxxxxxxxxx
> Oggetto: Re: [hylafax-users] R: delete tiff after received and order
> by timest amp.
> On Thu, 3 Mar 2005 14:27:37 +0100, Meli Marco
> <Marco.Meli@xxxxxxxxxxxxxxxxxxx> wrote:
> > I have set recvq directory as samba share so anybody can view and pick
> > theirs fax.
> > I said them to delete the fax after they have relocate it in the
> > folder.> Others fax I can send via email attachment, so it's only to
> help my user > maintain the share fax folder clean.
> What happens if the email get lost?
> If you do it, then just mv the file somewhere else instead of removing
> them for good.
> > Anyway for the second problem have you an example to show me as can I
> > the name?
> cd /var/spool/hylafax/bin
> cp faxrcvd faxrcvd.custom
> Edit faxrcvd.custom, Look for the places like (there are 3 of them)
> if [ "$FILETYPE" = "tif" ]; then
> echo "Content-Type: image/tiff; name=\"$FILENAME.tif\""
> echo "Content-Description: FAX document"
> echo "Content-Transfer-Encoding: $ENCODING"
> echo "Content-Disposition: attachment;
> echo ""
> encode $FILE;
> just change the 2 "FILENAME.tif " into whatever you want
> MYFILE=`date +%Y-%m-%d_%H-%M`
> echo "Content-Type: image/tiff; name=\"$MYFILE.tif\""
> then edit etc/config.<devid> and use
> FaxRcvdCmd: bin/faxrcvd.custom
> ____________________ HylaFAX(tm) Users Mailing List
> To subscribe/unsubscribe, click
> On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
> *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*