Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] R: attached tiff 0 size
Am 2005.02.28 17:26 schrieb(en) Meli Marco:
ENCODING='x-uuencode'
MIMENCODE='base64-encode',
Hello Marco,
did you find this in your setup.cache?
My version of setup.cache has MIMENCODE='/usr/bin/base64-encode'.
In my version of "faxrcvd" I found this function:
encode()
{
if [ -x "$MIMENCODE" ]; then
$MIMENCODE < $1 2>$ERRORSTO
elif [ -x "$UUENCODE" ]; then
if [ "$ENCODING" = "base64" ]; then
$UUENCODE -m $1 $1 | grep -E -v "^begin|^====$" 2>$ERRORSTO
else
$UUENCODE $1 $1 | grep -E -v "^begin|^====$" 2>$ERRORSTO
fi
else
# Do not use "-x" for backward compatibility; even if it fails
# this is last chance to encode data, so there's nothing to
lose.
$MIMENCODE < $1 2>$ERRORSTO
fi
}
With your settings this function would check if "base64-encode" is
executable and use this on success. This probably fails unless it finds
a copy of "base64-encode" in the current directory.
Then it would check if "$UUENCODE" is executable and use this without
'-m' on success. (Check this variable.)
If both checks fail it tries to execute $MIMENCODE. This will work if
you have "base64-encode" in your search path.
if I make 'man mimencode' man page said it is a replacement for
uuencode
This man page is not relevant if you use 'base64-encode'.
(just the tool that I used in the script file and placed in
/var/spool/hylafax/bin, the same on hylafax internet page, it is
correct?).
Sorry, I did not understand which file you placed in /var/spool/
hylafax/bin. mimencode? uuencode?
Therefore I think it is a part of metamail package ...
Which OS or Linux distribution do you use.
I use Debian, so I cannot tell which packages contain a specific
program for other distributions or OSs.
So what can I do?
Check if you have "base64-encode" or "mimencode" on your system.
If not, find the corresponding package and install it.
Write the absolute path of the program you found into "setup.cache" as
value of MIMENCODE.
(Both programs should create the same base64-encoding.)
I think you should use base64-encoding unless you have a meiler that
requires uuencoded attachments.
Bodo
BTW: I received your message 3 times.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*