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] Instead of mailing received faxes can I put them on a folder?
Hi,
Have you tried with 'cp' ?
Here's your FaxDispatch script:
-------- start ------------------------
FILETYPE=pdf;
case "$DEVICE" in
ttyACM3) cp $FILE /some/path/to/file;;
esac
------ cut here ------------
Thomas
-----Message d'origine-----
De : hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] De la part de Jean-Pierre Radley
Envoyé : vendredi 17 décembre 2010 23:57
À : Hylafax Users
Objet : Re: [hylafax-users] Instead of mailing received faxes can I put them on a folder?
Chris Weiss typed (on Fri, Dec 17, 2010 at 04:40:17PM -0600):
| On Fri, Dec 17, 2010 at 4:36 PM, Enrique Arredondo <henry@xxxxxxxxxx> wrote:
| > I use smail here, and I can set an smail alias that appends yada's
| > incoming mail to a designated file:
| >
| > yada "|cat >> /some/path/to/file"
| >
| > Whether such aliases work in other MTAs is beyond my ken.
| >
| >
| > A program like 'deliver' or 'procmail' can also divert a user's
| > incoming email to a file.
| >
| > JP,
| >
| > if I do that then I would have create a script to scan that
| > /some/path/to/file and extract the pdf file which I think will be a part of
| > the email message in BASE64 format and then convert it to pdf right ?
| >
| >
| >
|
| the FaxDispatch has a variable for the filename right? cp it
FaxDispatch is not run. It is sourced by faxrcvd, and as I suggested in
my prior post, it's faxrcvd that you should alter to "do something else"
with an incoming fax.
--
JP
____________________ 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*