Extracting Attachments

Mark Wold mark.wold at gmail.com
Wed Feb 18 12:18:19 GMT 2009

This looks like I may be able to use this to get at my attachments.

Can anyone tell me this... Are the functions that are in the perl scripts in
/usr/lib/MailScanner/MailScanner, available to any custom function that I
place in /usr/lib/MailScanner/MailScanner/CustomFunctions?

Thanks again,

 >Mark Wold wrote:
>> I have a client that wants to email me PDF files so that I can convert
>> to TIFF images and then forward them along. They want the process to work
>> 24/7. So instead of having a user who's job it is to grab the attachments
>> and perform the work, I would like to see if I can get MailScanner to
>> for emails coming into a specific user, extract and store the attachments
>> a predefined directory in the system, and then move on to other messages.
>> can easily then takes the PDF and perform the conversions and forward it
>> Does anyone know if I can do this extracting with MailScanner?
>> Thanks,
>> Mark
>You can do this with a Custom Function.
>See /usr/lib/MailScanner/>MailScanner/CustomFunctions
>and see /usr/lib/MailScanner/MailScanner/Message.pm (location on my
>system may be different than yours)
>MailScanner does this currently with word docs for example:
>Message.pm: my @docfiles =
>So it should be doable!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090218/ab88fdeb/attachment.html

More information about the MailScanner mailing list