HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] AW: Text => Postscript converson in faxmail
Hi Aidan,
> Of course - right, the text->ps is formatted internally, as part of
the
> e-mail. That behaviour could easily be changed.
>
> Do you still want the email headers formatted, or are you using the -N
> switch too?
No, I don't need the headers, output is tuened off using the above
switch.
> What we really want is a "flexible" way to allow user/admin to specify
> exactly which parts of a message (headers, mime parts, certain
> attachements). Do you have any ideas on the best way to do that? I'm
> certainly willing to work an a patch that can implement this type of
> stuff - I just haven't figured out how it should look to users.
Well, I found the previously used converters based on mime type quite
nice. The content - based classification used by typerules effectively
discards valuable information (i.e the mime-type) present in the email
structure.
The current handling based on partial mime doesn't semm optimal - while
the internal conversion can deal with text/plain, the results you get
for text/html parts are certainly not useful :-)
I think that all parts of a message (text/plain, text/html,
attachments) should be handled equaly; I'm not 100% sure how to best
deal with the headers/metainformation.
A possible scenario could look like this:
* create a postscript file using the internal converter containing only
meta-information from the email (headers, sender/recipient information,
whatever); submit as postscript file
* treat all parts of a multipart/mime message, like attachments, i.e try
converting them based on typerules file and submit them as separate
documents.
* I would love to have the added flexibility of the mimeconverters back:
for each part of the multipart message, first check if there's a
converter for the specified mime type. Use if it exists and try
converting via typerules if there's no converter.
Currently, I'm running a patched faxmail with mimeconverters added back
in.
Thanks, Martin
____________________ 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*