converting attachments
UxBoD
uxbod at splatnix.net
Mon Aug 6 20:37:16 IST 2007
Couldn't the custom action facility be used ?
Regards,
--[ UxBoD ]--
// PGP Key: "curl -s https://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: C759 8F52 1D17 B3C5 5854 36BD 1FB1 B02F 5DB5 687B
// Keyserver: www.keyserver.net Key-ID: 0x5DB5687B
// Phone: +44 845 869 2749 SIP Phone: uxbod at sip.splatnix.net
----- Original Message -----
From: "Julian Field" <MailScanner at ecs.soton.ac.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Monday, August 6, 2007 6:22:08 PM (GMT) Europe/London
Subject: Re: converting attachments
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It doesn't at the moment, no. But if your coding is up to it, you could
look at the auto-zip code and base a new feature around that code. It
shows you how to detect, delete and add new attachments to a message.
If you can think of a decent way whereby it could be made generic and
customisable, then I would consider it as a feature. It would need to be
some form of table of filetypes or filename regexps, a list of
conversion tools, and a list of what filenames the conversion tools
would produce. How would we express the source and target filenames? The
conversion tools are easy, they could even be wrapper scripts if necessary.
Basically it needs to be told
1) Look for "foobar" file command output, or *.foo filenames.
2) Path to conversion program with command-line options, including
substitutions for source and target filenames, with and without extensions.
3) Name of output file, possibly based on input filename.
What does anyone think?
Iad Scoot wrote:
> Hi,
>
> Does MailScanner have a feature that can convert certain types of
> attachments to other types (.rtf to text, etc)?
>
> Here's my situation - I run a BES behind my firewall and some of my
> BlackBerry users are routinely getting attachments with .rtf
> extensions. Our BES does not appear to support .rtf so my users can't
> get to the content when they are away. I'd like to be able to convert
> these attachments (or make a copy and convert) them to a readable
> format - could be .txt, .pdf, whatever will be readable by the
> BlackBerrys.
>
> Any thoughts? I saw "unrtf" but I'm not sure how I would integrate
> that or if it even supports attachments.
>
>
> Thanks...
Jules
- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1
wj8DBQFGt1jDEfZZRxQVtlQRAodLAJ9n5/7mg1PLzP0b2+R1hR9NBbgWzQCfSBbE
GwBW2jbo773tUth5DEFzCl4=
=Fn9M
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list