HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] MIME Conversion of excel attachment
Hello!
I have Hyalfax+ 5.2.7 running on Ubuntu 8.04.1.
There is Email-to-fax gateway setup. I have emails from 1 PC, that
generates xls attachments. So i have a problem with xls converter.
I created /var/spool/hylafax/mimetype dir with application subdir. There is
2 scripts:
pdf ( marked +x):
-------------
#!/bin/sh
/usr/bin/pdftops $1 -
-------------
xls (marked +x):
------------------
#!/bin/bash
/usr/bin/unoconv -f pdf --stdout > /usr/bin/pdftops -
------------------
So i have a problem with MIME Encoding. using
http://hylafax.sourceforge.net/howto/misc/mail2fax.sh this script.
When using debug log shows:
-------------
...
HEADER Resent-Message-Id: <20080928210554.F11182D06F@fax>
HEADER Resent-Date: Mon, 29 Sep 2008 01:05:54 +0400 (MSD)
Warning: n022003l.afm invalid Fontmap entry - no filename presentFont
Courier: /n022003l.afm: Can not open font metrics file; using fixed widths.
faxmail: This is a MIME message
Warning: n019004l.afm invalid Fontmap entry - no filename presentFont
Helvetica-Bold: /n019004l.afm: Can not open font metrics file; using fixed
widths.
Warning: n019023l.afm invalid Fontmap entry - no filename presentFont
Helvetica-Oblique: /n019023l.afm: Can not open font metrics file; using
fixed widths.
MIME part (line 22): multipart/mixed charset=us-ascii encoding=7bit
HEADER Content-Type: text/plain; charset=windows-1251
HEADER Content-Transfer-Encoding: quoted-printable
MIME part (line 26): text/plain charset=us-ascii encoding=quoted-printable
HEADER Content-Type: APPLICATION/VND.MS-EXCEL;
+HEADER Content-Type: name="1.xls"
HEADER Content-transfer-encoding: base64
HEADER Content-Disposition: attachment;
+HEADER Content-Disposition: filename="1.xls"
MIME part (line 40): application/vnd.ms-excel charset=us-ascii
encoding=base64
DISCARDED: application/vnd.ms-excel
+ /usr/local/bin/sendfax -vv -n -D -f bnk_int@xxxxxxx -i ggg -d 5776932
Trying localhost (127.0.0.1) at port 4559...
Connected to localhost.
...
-------------
How to fix "DISCARDED: application/vnd.ms-excel"? Any ideas?
Thank you.
____________________ 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*