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] Preserving Subject field passed to faxmail



Ivanov Dmitri ha scritto:
Hello everybody,

Could someone explain how can I preserve a "Subject:" field in order to
use it in notify-templates ?
For instance, standard notify-failed.txt template has the following line
inside:

Subject: facsimile to $DESTINATION failed

I want to modify it so that it contains an original subject, received
from remote mail client.
I have that value in an environment variable so I can pass it as an
argument to sendfax, but I don't know in which variable that value is
kept (if any) at the moment when notify sends me a notification.

I use exim4 mailer and HylaFAX (tm) Version 4.3.1.

The variable should be $regarding but i can't remember if and when it was added to 4.3.x, 4.4.x should have it. In the case you don't have it this is the diff: http://git.hylafax.org/HylaFAX?a=blobdiff;f=util/common-functions.sh.in;h=c7f70d6dc7d65567fcc92ebb856dffd65e5f2fdd;hp=3d81a2a9c0dd2ab84ddf480ce7b6e84096de2a74;hb=7397e19388a9cc7f5023853902f4f57deb376f59;hpb=a84db2ebaf23c73af5572a07fc731004a7cc890c


hth,
riccardo


____________________ 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*




Project hosted by iFAX Solutions