1) It sould be nice to let the hylafax ebuild automatically install a cron job caring about fax queue cleaning, as suggested in: http://www.hylafax.org/man/current/faxqclean.1m.html http://www.hylafax.org/man/current/faxcron.1m.html I propose an attached cron file, to be put in /etc/cron.d 2) If you are using iptables on a HylaFAX server, the first time you try to connect unisng any of the available HylaFAX clients you will have a very big headache! Even if you open the 4559 port in iptables, it's not gonna work! Infact, HylaFAX acts as an FTP server, just on the unusual 4559 port. So you will need to load ip_conntrack_ftp iptables module, and you will need to tell it to track FTP connections not only on the usual 21 port, but also on the 4559. So I propose to: a) put a new module options file in /etc/modules.d b) warn the user (by the end of the emerging process) to load ip_conntrack_ftp in /etc/modules.autoload.d/kernel-2.6 in case he uses iptables
Created attachment 90374 [details] /etc/cron.d/hylafax.cron Cron job to cleanup fax queues
Created attachment 90375 [details] /etc/modules.d/hylafax
I forgot one thing about the second enhancement: of course it would be nice if the ebuild would perform a modules-update after putting the file in /etc/modules.d
I've added these files to the tree, as well as an elog message in the 4.3.1 ebuild, but I'm leaving it to the users to install or adapt as they need to. There are several possible cron packages (not all of which respect cron.d) and many many kernel configs, so I'm reluctant to make any unwarranted assumptions. Thanks for the tips/files.