Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tagline help



On Thu, Mar 02, 2000 at 07:58:58AM +0000, David Woolley wrote:
> > I'm trying to include a tagline in outgoing faxes, but with the
> > command
> I've always assumed that this is forbidden for security reasons - in the
> USA it is illegal to send faxes without property identification - by
> preventing users from changing the tag line you avoid their accidentally
> breaking the law by trying to be creative.

I found I couldn't change the tagline either... enough staring at
the source and I found where the access required for commands is
defined, and patched hylafax to allow anyone to change the tagline.

Apply the following patch in the hfaxd directory:

--cut--
--- Jobs.c++.orig       Wed Oct 27 15:40:04 1999
+++ Jobs.c++    Wed Oct 27 15:41:22 1999
@@ -132,7 +132,7 @@
     { T_STATE,         A_RUSR|A_RADM|A_ROTH },
     { T_STATUS,                A_RUSR|A_RADM|A_WADM|A_ROTH },
     { T_SUBADDR,       A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
-    { T_TAGLINE,       A_RUSR|A_RADM|A_WADM|A_ROTH },
+    { T_TAGLINE,       A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
     { T_TOTDIALS,      A_RUSR|A_RADM|A_ROTH },
     { T_TOTPAGES,      A_RUSR|A_RADM|A_ROTH },
     { T_TOTTRIES,      A_RUSR|A_RADM|A_ROTH },
@@ -141,7 +141,7 @@
     { T_TO_USER,       A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
     { T_USE_CONTCOVER, A_RUSR|A_RADM|A_WADM|A_ROTH },
     { T_USE_ECM,       A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
-    { T_USE_TAGLINE,   A_RUSR|A_RADM|A_WADM|A_ROTH },
+    { T_USE_TAGLINE,   A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
     { T_USRKEY,                A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
     { T_VRES,          A_RUSR|A_WUSR|A_RADM|A_WADM|A_ROTH },
     { T_NIL,           0 },
--cut--

I wouldn't recommend it generally, but it did what I needed.




Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services