Decode and store certain attachments

Glenn Steen glenn.steen at gmail.com
Thu Mar 29 23:29:22 CEST 2007


On 29/03/07, Glenn Steen <glenn.steen at gmail.com> wrote:
> On 29/03/07, Don Knott <dknott123 at gmail.com> wrote:
> > Hello-
> >
> > I would like to decode certain attachment types to a particular address. I
> > get messages with .DBF file attachments that I need to decode and extract to
> > a directory to be processed (imported into a DB) later by a cron job.
> >
> > I am struggling with procmail & metamail to do it but not having much luck.
> > So far its too interactive. Googling only seems to find stuff about encoding
> > from scripts, not decoding.
> >
> > Can I do this with a ruleset in Mailscanner?
> >
> > Any assistance would be most appreciated.
>
> Apart from doing something in a custom function, I can't see any
> reasonable way of doing it in MailScanner, and one could well question
> whether constructing a custom function for this is reasonable:-).
>
Just had a thought.... If you _disallow_ .dbf files in filename rules,
you'd get it quarantined _and decoded_ as a Bad Filename .... Perhaps
usable?

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list