Chris Thielen <cmt-spamassassin@someone.dhs.org> wrote:
> [...]
> Oh, sure, expect me to remember things like that (*rolls
> eyes*)... Actually IIRC, I was just too lazy to find a debian
> package for the prerequisite, so I just passed the stream
> through this perl script, which I apparently named base64dec:
>
> #!/usr/bin/perl -n
> use MIME::Base64;
> print decode_base64($_);
>
>
> Hooray for the THIRD part of my incomplete ClamAV/procmail
> suggestion!
>
> PS. I don't recall where I found the base clamstream script.
> PPS. It's probably better to use the original utility
> "reformime", but who knows... not me...
Since you're already calling a shell script and perl, perhaps this is of
interest:
http://www.everysoft.com/clamfilter.html
It's a single perl script that I've had good luck with for running inbound
attachments through clamav.
- Bob
> [...]
> Oh, sure, expect me to remember things like that (*rolls
> eyes*)... Actually IIRC, I was just too lazy to find a debian
> package for the prerequisite, so I just passed the stream
> through this perl script, which I apparently named base64dec:
>
> #!/usr/bin/perl -n
> use MIME::Base64;
> print decode_base64($_);
>
>
> Hooray for the THIRD part of my incomplete ClamAV/procmail
> suggestion!
>
> PS. I don't recall where I found the base clamstream script.
> PPS. It's probably better to use the original utility
> "reformime", but who knows... not me...
Since you're already calling a shell script and perl, perhaps this is of
interest:
http://www.everysoft.com/clamfilter.html
It's a single perl script that I've had good luck with for running inbound
attachments through clamav.
- Bob