Re: increase sent faxes history

Lee Howard <[email protected]> Sat, 30 Jun 2018 09:10:11 -0700
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
On 06/30/2018 08:12 AM, Spyros Tsiolis wrote:
> Hmm the "yajhfc" people say that it's hylafax.
> I did find a special hylafax file under
>
> /etc/cron.weekly/
>
> There is a file called "hylafax" and a line like so :
>
> faxcron -info 35 -log 35 -rcv 35 -tmp 15 -mode 664  >> /var/log/hylafax=
/faxcron.log 2>&1
>
> However I don't know how to make heads or tails out of this.
> The "faxcron" man page is cyptic , I don't know which of the switches c=
an allow me
> to leave more messages intact on the history and furthermore I don't kn=
ow if it will
> allow me to do this in the first place.

Please explain what about the faxcron man page is cryptic. Furthermore,=20
did you take a look at the output (apparently=20
/var/log/hylafax/faxcron.log) to see what it says it's doing?

Anyway, faxcron deals with the info, recvq, log, and temp directories=20
under the HylaFAX spool (usually /var/spool/hylafax). The outbound=20
documents and jobs are not in those directories.=C2=A0 The outbound faxin=
g is=20
done from the sendq, doneq, and docq directories, and it is the faxq and=20
faxqclean processes that manage those.

Normally people are running faxqclean via cron, and often it is from=20
/etc/cron.hourly.=C2=A0 Maybe you're running it less-frequently, though, =
as=20
you are running faxcron less-frequently than most do, too.

faxqclean options for the document (-d) and job (-j) purge age is in=20
seconds after job completion.=C2=A0 Although I don't see any reason why y=
ou=20
couldn't set those to 157680000 seconds (5 years), I don't know what the=20
long-term consequences would be to faxq (which actively works in docq)=20
if you were to have many thousands of files in there.=C2=A0 (I suspect th=
at=20
it may be fine, though, as I don't think that faxq ever tries to scan=20
through all files in docq).=C2=A0 Certainly faxqclean operations would=20
continually take longer and longer to complete until the volume of=20
content that it processes normalized as it does scan through all files=20
in doneq and docq.

Use of the faxqclean "archive" features is, I think, what you really=20
should be pursuing.=C2=A0 The difficulty that you're having, I think, is =
your=20
requirement that the client you're using (Yajhfc) support an archive,=20
but apparently it doesn't.=C2=A0 I worry that using the HylaFAX doneq and=
=20
docq directories as long-term storage will yield unexpected results.=C2=A0=
=20
Hopefully no unforeseen bug in faxqclean manifests itself and undoes 5=20
years of storage.

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _____________________=
__
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.c=
gi
 On UNIX: mail -s unsubscribe [email protected] < /dev/nu=
ll
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*