HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Attached pdf file shows zero bytes in webclient



Hi all

I have installed hylafax-4.2.1-1rhp on Fedora Core 3.

When my /var/spool/hylafax/etc/FaxDispatch is as follows

SENDTO=fax@xxxxxxxxxxxxxx;
FILETYPE=pdf;

I am able to open the pdf attachment in Outlook Express 6 ,the same mail when I open through the web client (IE 6) it shows as zero bytes.

Going through the mailing list at
http://www.hylafax.org/archive/2003-02/msg00101.php 
and  howto's at
http://www.hylafax.org/howto/delivery.php#ss4.2
I modified my FaxDispatch as follows


#!/bin/sh
echo DEFANGED.3367
exit
#!/bin/sh
echo DEFANGED.146895
exit
#!/bin/sh
echo DEFANGED.3368
exit
#!/bin/sh

case "$DEVICE" in
      ttyS0) SENDTO=fax@xxxxxxxxxxxxxx;MIMENCODE=bin/uuencode_it;
FILETYPE=pdf;;
esac


And then created a file in /var/spool/hylafax/bin/uuencode_it

#!/bin/sh
uuencode -m $1 $1 | grep -E -v "^begin|^====$" 2>/dev/null

and made it executable with the following permission
-rwxrwxrwx 1 root root  uuencode_it

Restarted hylafax.Now I am not getting any mails and no logs are generated in /var/log/maillog

If I revert back to my original FaxDispatch settings I am getting the email but I am able to open the attachment only in Outlook Express 6.

Where can the problem be.I appreciate all your help and suggestions.

Thanks to all in advance.
K M Srikumar






Project hosted by iFAX Solutions