Frank Becker
2005-02-15 12:47:42 UTC
Hello dear readers!
Unfortunately I have another problem with capisuite. The outgoing faxes
are placed in an spool-dir outsite the capisuite-spooldirs (e.g.
/home/faxspool) and a cronjob converts the outgoing documents in
postscript and send it away using capisuitefax.
The problem now is, that the faxes are sent three times to the same number.
I'm using the following bash-script to send the outgoing docuuments on a
Debian Woody machine:
#!/bin/bash
# convert all outgoing documents to postscript
cd /home/tex_spool
ls *tex >/dev/null 2>&1
if [ $? -eq 0 ] ; then
for i in *tex; do
# converts the outgoing documents to postscript
/root/bin/convert_tex2 $i
done
fi
# send all converted faxes via capisuitefax
ls *ps >/dev/null 2>&1
if [ $? -eq 0 ] ; then
for i in *ps ; do
# the filenames for the documents are
# the faxnumber followed by a or b
# e.g. 0561123456a.ps or 0561123456b.ps
capisuitefax -d `echo $i|tr -d ab.ps` $i
mv $i /home/gesendete_faxe
done
fi
I cannot find an error in the script so I think that there is a
misconfiguration of capisuite or there may be a bug.
Thanx for reading.
Regards
Frank Becker
My fax.conf (only changed entries)
spool_dir="/home/asa/spool/"
fax_user_dir="/home/asa/spool/users/"
send_tries="5"
outgoing_MSN="98xxxxx"
fax_stationID="xxxx"
fax_headline="Fax von xxxxx"
[root]
#fax_numbers="98xxxxx"
fax_stationID="yyyyy"
fax_headline="blah"
fax_email="frank.becker-FH+3/***@public.gmane.org"
fax_action="MailAndSave"
Frank Becker
Unfortunately I have another problem with capisuite. The outgoing faxes
are placed in an spool-dir outsite the capisuite-spooldirs (e.g.
/home/faxspool) and a cronjob converts the outgoing documents in
postscript and send it away using capisuitefax.
The problem now is, that the faxes are sent three times to the same number.
I'm using the following bash-script to send the outgoing docuuments on a
Debian Woody machine:
#!/bin/bash
# convert all outgoing documents to postscript
cd /home/tex_spool
ls *tex >/dev/null 2>&1
if [ $? -eq 0 ] ; then
for i in *tex; do
# converts the outgoing documents to postscript
/root/bin/convert_tex2 $i
done
fi
# send all converted faxes via capisuitefax
ls *ps >/dev/null 2>&1
if [ $? -eq 0 ] ; then
for i in *ps ; do
# the filenames for the documents are
# the faxnumber followed by a or b
# e.g. 0561123456a.ps or 0561123456b.ps
capisuitefax -d `echo $i|tr -d ab.ps` $i
mv $i /home/gesendete_faxe
done
fi
I cannot find an error in the script so I think that there is a
misconfiguration of capisuite or there may be a bug.
Thanx for reading.
Regards
Frank Becker
My fax.conf (only changed entries)
spool_dir="/home/asa/spool/"
fax_user_dir="/home/asa/spool/users/"
send_tries="5"
outgoing_MSN="98xxxxx"
fax_stationID="xxxx"
fax_headline="Fax von xxxxx"
[root]
#fax_numbers="98xxxxx"
fax_stationID="yyyyy"
fax_headline="blah"
fax_email="frank.becker-FH+3/***@public.gmane.org"
fax_action="MailAndSave"
Frank Becker
--
Blumenäckerweg 8a
34128 Kassel
mailto: frank.becker-FH+3/***@public.gmane.org
klickto: www.groupware4all.de
phoneto: 0561 17064
faxto: 01805 75 1111 7576
Blumenäckerweg 8a
34128 Kassel
mailto: frank.becker-FH+3/***@public.gmane.org
klickto: www.groupware4all.de
phoneto: 0561 17064
faxto: 01805 75 1111 7576