Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] Problems sending from Win98/Win2K to SuSE-Linux-Hyla FAX
I have a "AVM Fritzcard PCI" with Linux SuSE V7.1.
I use c2faxrecv started in /etc/inittab to receive faxes
and forward them with /var/spool/fax/bin/faxrcvd per
email to Win98 or Win 2000.
In command line c2faxsend is working, but I have
problems sending faxes from Win98/Win2K via
"Respond"-pacakge (HylaFAX Howto 5.2 Respond,
printfax.pl V 1.5.0, ).
Respond is running on Win98, telnet <host> 5555
works quite fin. I added [fax] section in /etc/smb.conf
and inserted "/usr/bin/printfax.pl" with root.root and
executable for all.
I will append my configuration of printfax.pl
Q: samba [fax]: I defined "path=/var/spool/fax", but
I don't think that a normal linux-user has access.
Q: /usr/bin/printfax.pl will be called out of samba.
Therefor the use will be a normal user and will not
have access to "/var/spool/..." files in printfax.pl.
Maybe stiky bit should be set ?
Q: I use c2faxsend. Is the config file correct for
this "c2faxsend" environment. What is c2faxsend
doing ? a) Put files in /var/spool/fax/sendq and
faxrunq will do fax sending b) c2faxsend is the
process of sending directly to AVM-card.
Q: I will split incoming calls from fax, voice, data.
What should I do woth c2faxrecv (for mgetty there
are many examples, but not for c2faxrecv)
Q: When shall I use /var/spool/fax and when shall I
use directory /var/spool/lpd/faxspool. What is the
reason for two directories ?
Q: What is smbclient used for in printfax.pl ?
Configuration part of printfax.pl
======================
### printfax.pl version string
$version = 'printfax.pl 1.5.0';
### The default port we'll connect to RESPOND
$port = 5555;
### Use delay
# ARNOLD 20010422 $usedelay = 1;
$usedelay = 0;
### Default delay for delayed faxes
$defaultdelay = '18:00';
### The log file we'll write the accounting information to
### (It has to be writeable by the user samba is running as for
faxes)
$acct = '/var/spool/fax/printfax.log';
### Format of commandline
# ARNOLD 20010422 $cmdlinefmt='mgetty';
$cmdlinefmt='hylafax';
### The faxspoolprogram
### for mgetty+sendfax:
# ARNOLD 20010422 $faxspool = '/usr/bin/faxspool';
### for hylafax:
$faxspool = '/usr/bin/c2faxsend';
### Additional faxspool args (e.g. header, coverpage)
### empty:
# ARNOLD 20010422 @faxspool_args = qw();
### for mgetty+sendfax with a special header:
# @faxspool_args = qw( -h
/usr/local/etc/mgetty+sendfax/faxheader.smb );
### for hylafax with send email when job is done or requeued and
use
### a4 sized paper:
@faxspool_args = qw(-D -R -s a4);
### The smbclient program, sender is the faxsystem.
### Set to "" if you don't want to use smbclient
# ARNOLD 20010422 $smbclient = '/usr/bin/smbclient -U FAX';
$smbclient = "";
### The secure path for binaries searched
### (faxspool makes usage of the PATH environment!)
$ENV{PATH} = '/usr/local/bin:/usr/bin:/bin' .
':/usr/local/sbin:/usr/sbin:/sbin' .
':/usr/X11R6/bin';
### Use smb hostname for logging, set to 0 for inet hostname
### (ip address will be logged in both cases)
# ARNOLD 20010422 $logsmbhostname = 1;
$logsmbhostname = 0;
### use smbuser for returning mail, ignore what the user types in
### (smbuser will be allways used for logging)
$usesmbuser = 0;
### Preprocess faxnumbers, disable it if you use faxspool aliases
# this replaces a leading '+', "" for no replace
$intl_with = "";
# delete all non numbers
$unillegal = 0;
# delete all non numbers, if faxnum contains only numbers and
these characters
# "" for no delete
$unillegalnumbers = "()/-";
### messages for smbclient
administrator\n";
### German:
$msg_to = "an";
$msg_ignored = "ignoriert";
$msg_spooled = "gespoolt";
$msg_failed = "fehlgeschlagen";
$msg_norespond = "Respond laeuft nicht.\nBitte Respond starten
und nochmal versuchen.\n";
$msg_strangeerr = "Fehler im Faxserver.\nBitte den
Administrator benachrichtigen.\n";
### allow file for faxnumbers
$allowfile = 1;
$filechar = '@';
### set $debug to 1 for debug messages and $nosendondebug to 1 if
### you don't want to spool files on debug
### debug messages go to syslog (or stderr, if called from
commandline)
# ARNOLD 20010422 $debug = 0;
$debug = 1;
# ARNOLD 20010422 $nosendondebug = 1;
$nosendondebug = 0;
### NT Terminal server and Win2000 sends out bogus print requests
with
### short files. Treat requests with files less than this size as
bogus.
$minfaxsize = "100";
### extra config info for NT Terminal server.
### If you don't have an NT terminal server you can safely ignore
this
### section. Currently only one terminal server is supported.
# IP address of the terminal server, leave empty if you have
none
# $termserver_ip = "192.168.101.171";
$termserver_ip = "";
# Array of user-port assignments
# If a request comes from the terminal server from one of the
# users in the array the assigned port will be used instead of
the
# default port to connect to Respond
%respond_port = (
# Samples
# "ARNOLD", "5556",
# "Erika ARNOLD", "5557",
# "and_I", "5558"
);
###
### NOTHING else to configure
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null