Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hylafax-users] Help Faxcron: I don't want to delete received fax!

391 views
Skip to first unread message

faxmaster

unread,
Mar 11, 2009, 6:30:30 AM3/11/09
to hylafa...@hylafax.org
Hello

I'm using hylafax 4.4.4 on ubuntu 8.10

I want to receive a report from hylafax of sent / received fax,

So I try to use faxcron (monthly scheduled)

/usr/local/sbin/faxcron | mail -s "Hylafax Report" FaxMaster

It' working but I've found that this command also delete old fax in the
recvq folder. I don't want this!

How I can say to faxcron only to send report of fax without delete anything?

Best regards

Diego

Aidan Van Dyk

unread,
Mar 11, 2009, 8:14:21 AM3/11/09
to faxmaster, hylafa...@hylafax.org
* faxmaster <faxm...@stirome.com> [090311 06:30]:


> How I can say to faxcron only to send report of fax without delete anything?

faxcron will deleted "old" stuff. The standard solution is just change
what it considers old. See the faxcron man page for specifics, but
you'll want to pick some suitably large values for -rcv and and -log,
but probably not for -tmp and -info.

a.


--
Aidan Van Dyk ai...@ifax.com
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/

signature.asc

faxmaster

unread,
Mar 11, 2009, 9:06:55 AM3/11/09
to Aidan Van Dyk, hylafa...@hylafax.org
Thank you very much,

Subsequently you suggestion I've search in the hylafax's site the page
relevant to faxcron and I found that is clearly explained how to set the
parameters.

Thank you again for you fast and polite reply.

Best Regards
Diego

-----Messaggio originale-----
Da: hylafax-us...@hylafax.org
[mailto:hylafax-us...@hylafax.org] Per conto di Aidan Van Dyk
Inviato: mercoledě 11 marzo 2009 13.14
A: faxmaster
Cc: hylafa...@hylafax.org
Oggetto: Re: [hylafax-users] Help Faxcron: I don't want to delete
receivedfax!

a.


____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*

faxmaster

unread,
Mar 11, 2009, 12:13:15 PM3/11/09
to hylafa...@hylafax.org

When I' trying to schedule faxcron with crontab, I've found that is already
called in etc/cron.weekly

Here below the file "hylafax"

--------------------
#!/bin/sh

test -f /usr/sbin/faxcron || exit 0
test -f /usr/sbin/faxqclean || exit 0
test -f /var/spool/hylafax/log/xferfaxlog || exit 0

# Rotate the HylaFAX logfile

savelog -c 5 /var/log/hylafax/hylafax.log >/dev/null

# HylaFAX routine maintenance script

savelog -c 5 /var/log/hylafax/faxcron.log >/dev/null
faxcron -info 35 -log 35 -rcv 100 -tmp 15 -mode 664 >>
/var/log/hylafax/faxcron.log 2>&1

# HylaFAX queue cleaner process (3024000s = 35 day)

savelog -c 5 /var/log/hylafax/faxqclean.log >/dev/null
faxqclean -t -j 3024000 -a >> /var/log/hylafax/faxqclean.log 2>&1

-------------------------

First I don't understand what is the meaning
of the first three line "test -f etc.."

Second because I don't want that the sent/receive faxes are deleted
I 'm thinking to modify the line of faxcron with value -rcv 3650 (10 years)
And completely remove the line of faxqclean

Did you think this will correct ?

Thanks Diego

------------------------------------

* faxmaster <faxm...@stirome.com> [090311 06:30]:

> How I can say to faxcron only to send report of fax without delete
anything?

faxcron will deleted "old" stuff. The standard solution is just change what
it considers old. See the faxcron man page for specifics, but you'll want
to pick some suitably large values for -rcv and and -log, but probably not
for -tmp and -info.

Jeff Silberberg

unread,
Mar 11, 2009, 1:52:20 PM3/11/09
to hylafa...@hylafax.org

Hello,

I am looking at a system that the Makefile tells me has
Hylafax 4.4.4 and the Ports @ freebsd.org tell me this is the latest
and greatest.

The install was done in Jan 08 and 4.4.4 looks like it's a
Dec 2007 release, is this the most current, or should I be looking at something
latter / a more current release ?

TIA.
JMS..


Jeffrey Silberberg
CompuDesigns, Inc.
Atlanta, GA. 30350
http://www.compudesigns.net

Glen Batchelor

unread,
Mar 11, 2009, 2:15:23 PM3/11/09
to hylafa...@hylafax.org
The original project was divided into two projects to help make things
more confusing. HylaFAX is v4.4.4 and HylaFAX+ is v5.2.9. The source from
hylafax.org is the "original" HylaFAX, whereas HylaFAX+ is a separately
updated version hosted on SourceForge. If your port is from the HylaFAX tree
then it is current per the hylafax.org web site.

----------------------------------------
Glen Batchelor
IT Director
All-Spec Industries
phone: (910) 332-0424
fax: (910) 763-5664
E-mail: webm...@all-spec.com
Web: http://www.all-spec.com
Blog: http://blog.all-spec.com
----------------------------------------

_____


Hello,

TIA.
JMS..

http://www.compudesigns.net <http://www.compudesigns.net/>

Paul Smith

unread,
Mar 11, 2009, 4:06:16 PM3/11/09
to hylafa...@hylafax.org
I use Hylafax on two debian servers (one is 4.2.5 and the other is 4.3.1). This morning I went looking for a fax that I had sent a few weeks ago and retrieved it from /var/spool/hylafax/recqv. I noticed that there was only about a year's worth of faxes sitting there. I checked /var/spool/hylafax/log/xferfaxlog and that goes back to 2005. Unless I've missed something in cron there must be a setting in the hylafax somewhere that removes old faxes? It's happening on both servers. I can't for the life of me find it. Any ideas?

Thanks,
Paul

Lee Howard

unread,
Mar 12, 2009, 1:23:57 AM3/12/09
to faxmaster, hylafa...@hylafax.org
faxmaster wrote:
> When I' trying to schedule faxcron with crontab, I've found that is already
> called in etc/cron.weekly
>
> Here below the file "hylafax"
>
> --------------------
> #!/bin/sh
>
> test -f /usr/sbin/faxcron || exit 0
> test -f /usr/sbin/faxqclean || exit 0
> test -f /var/spool/hylafax/log/xferfaxlog || exit 0
>
> # Rotate the HylaFAX logfile
>
> savelog -c 5 /var/log/hylafax/hylafax.log >/dev/null
>
> # HylaFAX routine maintenance script
>
> savelog -c 5 /var/log/hylafax/faxcron.log >/dev/null
> faxcron -info 35 -log 35 -rcv 100 -tmp 15 -mode 664 >>
> /var/log/hylafax/faxcron.log 2>&1
>
> # HylaFAX queue cleaner process (3024000s = 35 day)
>
> savelog -c 5 /var/log/hylafax/faxqclean.log >/dev/null
> faxqclean -t -j 3024000 -a >> /var/log/hylafax/faxqclean.log 2>&1
>
> -------------------------
>
> First I don't understand what is the meaning
> of the first three line "test -f etc.."
>

It makes sure that those files (faxcron, faxqclean, xferfaxlog) exist.

> Second because I don't want that the sent/receive faxes are deleted
> I 'm thinking to modify the line of faxcron with value -rcv 3650 (10 years)
> And completely remove the line of faxqclean
>
> Did you think this will correct ?

Well, it's my opinion that if you need to archive your faxes somewhere
long-term then you should do it somewhere else other than the HylaFAX
queue directories. I think that it's generally a bad idea to never run
faxqclean and to never delete files from recvq. BUT, you may get away
with it without any trouble.

Thanks,

Lee.

Lee Howard

unread,
Mar 12, 2009, 1:25:27 AM3/12/09
to Paul Smith, hylafa...@hylafax.org

You need to run 'faxcron'. Look in your cronttabs or in /etc/cron.daily,
etc.

Thanks,

Lee.

Paul Smith

unread,
Mar 12, 2009, 10:00:04 AM3/12/09
to hylafa...@hylafax.org
It was running in cron.weekly - I overlooked it during the install. I don't want the old sent faxes to be deleted, so I've changed it to the following..

"faxcron -info 35 -tmp 15 -mode 664 >> /var/log/hylafax/faxcron.log 2>&1"

.and also commented out the "faxqclean" line.

Will that leave all the sent faxes in "/var/spool/hylafax/docq" and all received faxes in "/var/spool/hylafax/recvq"? If so, is there any issue with doing so?

Thanks,
Paul Smith

faxmaster

unread,
Mar 12, 2009, 11:13:17 AM3/12/09
to Paul Smith, hylafa...@hylafax.org
For what I have understand if you don't specify -rcv value , faxcron will
delete faxes older than 1 week.
I have the same problem , now I have put the following command in
cron.weekly, it seems to work but I'm not sure. 3650 days = 10 years

"faxcron -info 3650 -log 3650 -rcv 3650 -tmp 15 -mode 664 >>
/var/log/hylafax/faxcron.log 2>&1"


Diego
-----Messaggio originale-----
Da: hylafax-us...@hylafax.org

[mailto:hylafax-us...@hylafax.org] Per conto di Paul Smith
Inviato: giovedě 12 marzo 2009 15.00
A: hylafa...@hylafax.org
Oggetto: Re: [hylafax-users] Missing old faxes

Paul Smith

unread,
Mar 12, 2009, 1:09:22 PM3/12/09
to hylafa...@hylafax.org
Thanks for catching that! I now have the following:

faxcron -info 3650 -log 3650 -rcv 3650 -tmp 15 -mode 664 >> /var/log/hylafax/faxcron.log 2>&1

faxqclean -A -t -j 3024000 -a >> /var/log/hylafax/faxqclean.log 2>&1

Not sure if I need -a given I've got -A but still, hopefully all incoming faxes will just sit there in "/var/spool/hylafax/recvq" and all outgoing faxes will be archived off after a month or so into their own directory in "/var/spool/hylafax/archive".

Thanks again,
Paul

Vasquez, Michael E. CIV

unread,
Mar 17, 2009, 3:09:17 PM3/17/09
to hylafa...@hylafax.org
SSBoYXZlIGp1c3QgaW5zdGFsbGVkIGh5bGFmYXggNC40LjQgcnVubmluZyBvbiBDZW50T1MgNS4y
IHVzaW5nIFBvc3RmaXggYXMgbXkgZW1haWwgYXBwbGljYXRpb24uDQoNCldoZW4gYW4gZW1haWwg
YXJyaXZlcyB3aXRoIHRoZSBwaG9uZSBpbiB0aGUgc3ViamVjdCB0byB0aGUgZmF4dXNlci4gSSBz
aG91bGQgYmUgYWJsZSB0byBmYXggdGhlIGVtYWlsIHRvIHRoZSBlbWFpbCBpbiB0aGUgc3ViamVj
dCBsaW5lIGJ1dCBjYW5ub3QgZmlndXJlIG91dCBob3cgdG8gZG8gaXQuDQoNCkFueSBoZWxwIHdv
dWxkIGJlIGFwcHJlY2lhdGVkLiAgSSBjdXJyZW50bHkgaGF2ZSBlbWFpbCBjb21pbmcgaW4gdG8g
dGhlIGZheHVzZXIuDQoNCk1pa2UNCg0KIA0KDQoNCg==

Lee Howard

unread,
Mar 18, 2009, 1:32:17 AM3/18/09
to Vasquez, Michael E. CIV, hylafa...@hylafax.org
Vasquez, Michael E. CIV wrote:

> I have just installed hylafax 4.4.4 running on CentOS 5.2 using
> Postfix as my email application.
>
> When an email arrives with the phone in the subject to the faxuser. I
> should be able to fax the email to the email in the subject line but
> cannot figure out how to do it.
>
> Any help would be appreciated. I currently have email coming in to
> the faxuser.

You can find a sample that does this using procmail here:

http://hylafax.sourceforge.net/howto/clients/RelayFax.php

And here is a sample that uses shell, but it gets the fax number from
the e-mail address and not the subject header:

http://hylafax.sourceforge.net/howto/faxing.php#ss5.4

Thanks,

Lee.

Lee Howard

unread,
Mar 18, 2009, 1:43:44 AM3/18/09
to Omar LAHLOU, hylafa...@hylafax.org
Omar LAHLOU wrote:
> I am running Hylafax 4.4.0 with t38modem, and I want to customize the
> dialing number as follow:
> SenderNumber_DestinationNumber so in the Sip Invite the TO will be as
> SenderNumber_DestinationNumber@Domain.
> For Example when I sent a Fax to 14509668585, Hylafax Dial
> 14503339696_14509668585 knowing that 14503339696 is Sender (or Owner).

HylaFAX+ has extended ModemDialCmd features which will allow you to do
this. See:

http://hylafax.sourceforge.net/docs/hylafax-differences.php#modemsetorigincmd

There is an example of how to do this with t38modem, but if you want the
approach that you've described:

ModemDialCmd: ATDT%d_%s

Jeff Silberberg

unread,
Apr 7, 2009, 4:16:24 PM4/7/09
to hylafa...@hylafax.org

Quick Some what off topic...

Any one know if the TPC service is still alive ?
http://www.tpc.int/

Tried to use an old address today with no luck.. Real
inform edited out -- Errors are not edited..

> ----- Transcript of session follows -----
>550 5.1.2
>remote-printer.user_name/roo...@17701231234.iddd.tpc.int... Host
>unknown (Name server: fax.gcfl.net.: host not found)
>
>Reporting-MTA: dns; host.domain.net
>Received-From-MTA: DNS; localhost.domain.net
>Arrival-Date: Tue, 7 Apr 2009 15:42:30 -0400 (EDT)
>
>Final-Recipient: RFC822; FD1...@host.domain.net
>X-Actual-Recipient: RFC822;
>remote-printer.user_name/roo...@4.3.2.1.3.2.1.0.7.7.1.tpc.int
>Action: failed
>Status: 5.1.2
>Remote-MTA: DNS; fax.gcfl.net
>Last-Attempt-Date: Tue, 7 Apr 2009 15:42:36 -0400 (EDT)

Jeffrey Silberberg
CompuDesigns, Inc.
Atlanta, GA. 30350

(770) 399-9464
http://www.compudesigns.net

As soon as I know the answers
They change the questions !

Trevor Jenkins

unread,
Apr 7, 2009, 5:59:06 PM4/7/09
to HylaFAX Users
On Tue, 7 Apr 2009, Jeff Silberberg <jsilb...@mindspring.com> wrote:

> Quick Some what off topic...
>
> Any one know if the TPC service is still alive ?
> http://www.tpc.int/

I've used it recently (last week in fact) to send FAXes in the UK. A few
weeks ago I tried to send one to a Swiss number but that failed because
there was no TPC coverage there.

Regards, Trevor

<>< Re: deemed!

Lee Howard

unread,
Apr 20, 2009, 2:19:55 AM4/20/09
to Omar LAHLOU, hylafa...@hylafax.org
Omar,

I think that sender and owner (text strings) are incompatible with
Caller*ID Number (faxnumber).

Maybe I do not understand what you are asking.

Thanks,

Lee.


Omar LAHLOU wrote:
> Hello,
>
> Finally I installed Hylafax+.
> There is any way to include in ModemDialCmd the sender or owner value
> instead of faxnumber value from job file.
>
> Thanks a lot.
>
> ------------------------------------------------------------------------
> *De :* Lee Howard <fax...@howardsilvan.com>
> *À :* Omar LAHLOU <omarl...@yahoo.fr>
> *Cc :* hylafa...@hylafax.org
> *Envoyé le :* Mercredi, 18 Mars 2009, 1h43mn 20s
> *Objet :* Re: [hylafax-users] Customize dialing number

> <mailto:hylafax-us...@hylafax.org> < /dev/null


> *To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com

> <mailto:sa...@ifax.com>.*

Lee Howard

unread,
Apr 21, 2009, 1:12:44 AM4/21/09
to Omar LAHLOU, hylafa...@hylafax.org
Modify Winprint and Jhylafax to submit the DID as faxnumber.

Thanks,

Lee.


Omar LAHLOU wrote:
>
> Thanks for your reply,
>
> I have different users that send faxes throw Hylafax Server using
> t38modem. Each user can send fax with Winprint or Jhylafax using its
> DID as username.
> When the Fax call is arrived to my SIP proxy from t38modem, I want to
> recognize the sender user from the Invite SIP Message. That’s why I am
> interested on Sender or Owner.
>
> If there is another solution, please don’t hesitate.
>
> Thanks a lot.
>
> Omar.


>
>
> ------------------------------------------------------------------------
> *De :* Lee Howard <fax...@howardsilvan.com>
> *À :* Omar LAHLOU <omarl...@yahoo.fr>
> *Cc :* hylafa...@hylafax.org

> *Envoyé le :* Lundi, 20 Avril 2009, 2h19mn 34s
> *Objet :* Re: [hylafax-users] Re : Customize dialing number


>
> Omar,
>
> I think that sender and owner (text strings) are incompatible with
> Caller*ID Number (faxnumber).
>
> Maybe I do not understand what you are asking.
>
> Thanks,
>
> Lee.
>
>
> Omar LAHLOU wrote:
> > Hello,
> >
> > Finally I installed Hylafax+.
> > There is any way to include in ModemDialCmd the sender or owner
> value instead of faxnumber value from job file.
> >
> > Thanks a lot.
> >
> > ------------------------------------------------------------------------
> > *De :* Lee Howard <fax...@howardsilvan.com

> <mailto:fax...@howardsilvan.com>>
> > *À :* Omar LAHLOU <omarl...@yahoo.fr <mailto:omarl...@yahoo.fr>>
> > *Cc :* hylafa...@hylafax.org <mailto:hylafa...@hylafax.org>


> > *Envoyé le :* Mercredi, 18 Mars 2009, 1h43mn 20s
> > *Objet :* Re: [hylafax-users] Customize dialing number
> >
> > Omar LAHLOU wrote:
> > > I am running Hylafax 4.4.0 with t38modem, and I want to customize
> the dialing number as follow:
> > > SenderNumber_DestinationNumber so in the Sip Invite the TO will be
> as SenderNumber_DestinationNumber@Domain.
> > > For Example when I sent a Fax to 14509668585, Hylafax Dial
> 14503339696_14509668585 knowing that 14503339696 is Sender (or Owner).
> >
> > HylaFAX+ has extended ModemDialCmd features which will allow you to
> do this. See:
> >
> >
> http://hylafax.sourceforge.net/docs/hylafax-differences.php#modemsetorigincmd
> >
> > There is an example of how to do this with t38modem, but if you want
> the approach that you've described:
> >
> > ModemDialCmd: ATDT%d_%s
> >
> > Thanks,
> >
> > Lee.
> >
> >
> > ____________________ HylaFAX(tm) Users Mailing List
> _______________________
> > To subscribe/unsubscribe, click
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
> > On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org
> <mailto:hylafax-us...@hylafax.org>

> <mailto:hylafax-us...@hylafax.org

> <mailto:hylafax-us...@hylafax.org>> < /dev/null
> > *To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com

> <mailto:sa...@ifax.com> <mailto:sa...@ifax.com <mailto:sa...@ifax.com>>.*

0 new messages