OT: Use of MailScanner code for extracting attachments

Jim Holland mailscanner at MANGO.ZW
Wed Jan 4 16:36:25 GMT 2006


Hi Julian

Thanks very much for the tips.  (Now I will go away and poke around in the
code for a few weeks . . .)

Regards

Jim Holland
System Administrator
MANGO - Zimbabwe's non-profit e-mail service

On Wed, 4 Jan 2006, Julian Field wrote:

> Date: Wed, 4 Jan 2006 13:12:09 +0000
> From: Julian Field <MailScanner at ECS.SOTON.AC.UK>
> Reply-To: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: OT: Use of MailScanner code for extracting attachments
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> There is a function "Explode" which does all the attachment  
> extraction. You should be able to do what you want with a Custom  
> Function attached to the "Always Looked Up Last" configuration  
> option. See /usr/lib/MailScanner/MailScanner/CustomConfig.pm and the  
> contents of the CustomFunctions directory (in the same place).
> You will have attachments expanded out in the /var/spool/MailScanner/ 
> incoming/<pid>/<message-id>/ directory.
> 
> On 4 Jan 2006, at 12:36, Jim Holland wrote:
> 
> > Hi Julian
> >
> > Happy New Year to you, and thanks once more for your most  
> > appreciated work.
> >
> > We here in Zimbabwe are still offering FidoNet protocols to around  
> > 2500 of
> > our users.  Our Fido server delivers files in binary form to our users
> > separately from the actual messages.  We currently use a Perl  
> > script to
> > handle attachments, and it in turn calls metamail for the actual MIME
> > decoding.  This is not very elegant or reliable, and I am looking  
> > for a
> > better way of decoding attachments - such as that used by MailScanner.
> > It is a shame to see all the work that MailScanner does to decode  
> > messages
> > only for us to then have to go through that process all over again  
> > before
> > we can deliver the attachments to our Fido users.
> >
> > Sadly I am not a Perl expert - just a hacker who can develop  
> > scripts at a
> > far lower level of complexity - so I find your code beyond my
> > understanding.  However if you were able to simply point me in the  
> > right
> > direction - eg which packages are needed, where is the point of entry
> > where a message is passed to those packages, and any other brief
> > suggestions - I should be able to take it from there with a little  
> > help
> > from another Perl enthusiast here.
> >
> > Any help would be most appreciated.
> >
> > Regards
> >
> > Jim Holland
> > System Administrator
> > MANGO - Zimbabwe's non-profit e-mail service
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >
> > Support MailScanner development - buy the book off the website!
> 
> - -- 
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.0.3 (Build 2932)
> 
> iQEVAwUBQ7vJq/w32o+k+q+hAQE8Zwf/d5ZKPSSBNOlAPvus/MW2xgLlr6NzVVRZ
> lFL51vEnZjrpWaT/Xsfh5t30vF6nqWL8k4w+5MA9amlq7qxBHtOrmK8rN0uvMmHX
> P84mmzPVndNUS1IZ1w9OPgJuJXt5jkB5F0QJ0ecMV5RvQ7HUzGOhmjOew7s+r+Ip
> T2XZjTI5DuSJxU8N7892X/3mnretjKTkYfsCXAGYmelp7nfsL+O6bGyX61V58vlZ
> 7a3hczTXGAKCPcqAPkHb+MDiKyTRbHnjDNlezKU+SrCRuyyMkiIkuk8FEiET1zht
> cXNqQV9Xu4bP/mrY0EuHH7Dw3qnGbJGESaVAotaemgDp2XVHbfzHLQ==
> =4AfB
> -----END PGP SIGNATURE-----
> 
> 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list