HylaFax
1. Download Binary file
http://www.hylafax.org/content/Handbook:Binary_Package_Install
2. Install
Install the HylaFAX RPM file(s) via ‘rpm -Uvh hylafax*rpm’
Run /usr/sbin/faxsetup and then /usr/sbin/faxaddmodem and answer the questions appropriately
using default setting and answer the setup script
(stupid, forcing to enter area code …. HKSAR have none….)
Country code [1]? 852
Area code []? 0
Long distance dialing prefix [1]? 0
International dialing prefix [011]? 001
Serial port that modem is connected to []? ttyS0
Modem in COM1 => /dev/ttyS0
COM2 => /dev/ttyS1
Local Identifications string (for TS/CIG) ["NothingEtup"]? “Company Name” (Display on Receiver Fax Machine)
3. config
Add the line: ‘mo:2345:respawn:/usr/sbin/faxgetty ttyS0′ to /etc/inittab
#/usr/sbin/ntsysv and make sure that the hylafax service is set to be started
#vi /etc/aliases and change the appropriate line to ‘FaxMaster: faxuser@mydomain.com’
where faxuser@mydomain.com is the intended e-mail address of the incoming fax recipient
#init q
4. Add user
# faxadduser username
# faxadduser -p password username
- specify which client machines and users can have access to a HylaFAX? server machine.
modify etc/hosts.hfaxd, add client IP
5. status
faxstat Query /var/spool/hylafax/status/ttyS0
faxstat -r Query /var/spool/hylafax/recvq received fax
faxstat -s Query /var/spool/hylafax/sendq sending fax
faxstat -d Query /var/spool/hylafax/doneq sent fax
xferfaxstats Analysis report from /var/spool/hylafax/etc/xferfaxlog
faxrm remove “waiting to send” fax
6. Reference:
http://csc.ocean-pioneer.com/docum/csc_hylafax.html
http://csc.ocean-pioneer.com/docum/hylafax_client.html
vimrc
CentOS 4.4
/etc/vimrc
set background=dark “brighter the color
set ai
set smartindent
VMware tools on Linux
# tar zxvf vmware-linux-tools.tar.gz
# cd vmware-tools-distrib
./vmware-install.pl
http://vmware.xaox.net/centos/4/i386/
Kernel For fixing VMware Time delay.
- Kerenl for Host = 100Hz, Kernel for Linux(2.6.x) = 1000Hz
VMware tools fail to install using default value, because kernel header files does not match.
# cd /usr/bin/
# ./vmare-install -t
Merak Mail server
command line to create user in batch mode:
?
?
file format: create account user001@domain.net u_name “user 001″ u_password “pwd”
?
./tool file batch createUser.txt
Usage: tool [options] command parameters
Examples:
Usage: tool create account john@doe.com u_name “John Doe” u_password “pass”
Usage: tool create domain doe.com d_description “New domain”
Usage: tool delete account john@doe.com
Usage: tool modify account *@* u_gw 1 u_admin 0
Usage: tool display system c_system_services_smtp_port
Usage: tool modify system c_as_general_enable 1
Usage: tool import domain d_description d_accountnumber
Usage: tool export account *@merakdemo.com
Usage: tool file userstatistics 2004/10/01 2004/10/31 * statistics.txt
Usage: tool upgrade 8.0.3
Commands:
create – Creates a new object
delete – Deletes an object
modify – Modifies object variables
display – Displays object variables
export – Exports object variables in CSV format
import – Imports objects in CSV format from file
file – Calls file functions
upgrade – Calls upgrade functions from previous version
Parameters:
account – email [API properties]
domain – domain [API properties]
tables – service connectionstring
system – [API parameters]
userstatistics – fromdate todate filterstring outputfile
batch – batchfile [prefix]
Options:
-quiet – Runs in quiet mode
-? – This help

