Metamail was frustrating me cause it was too interactive.<br><br>Finally after much Googling, I found a perl script called mimedecode that did what I needed and worked well from procmail.<br><br><a href="http://search.cpan.org/dist/ppt/bin/mimedecode">
http://search.cpan.org/dist/ppt/bin/mimedecode</a><br><br>I had tried your idea to fetch the file from the quarantine and that would have probably worked had I not found the perl script.<br><br>Thanks for the help.<br><br>
<div><span class="gmail_quote">On 3/29/07, <b class="gmail_sendername">Glenn Steen</b> <<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 29/03/07, Glenn Steen <<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>> wrote:<br>> On 29/03/07, Don Knott <<a href="mailto:dknott123@gmail.com">dknott123@gmail.com</a>> wrote:<br>> > Hello-
<br>> ><br>> > I would like to decode certain attachment types to a particular address. I<br>> > get messages with .DBF file attachments that I need to decode and extract to<br>> > a directory to be processed (imported into a DB) later by a cron job.
<br>> ><br>> > I am struggling with procmail & metamail to do it but not having much luck.<br>> > So far its too interactive. Googling only seems to find stuff about encoding<br>> > from scripts, not decoding.
<br>> ><br>> > Can I do this with a ruleset in Mailscanner?<br>> ><br>> > Any assistance would be most appreciated.<br>><br>> Apart from doing something in a custom function, I can't see any
<br>> reasonable way of doing it in MailScanner, and one could well question<br>> whether constructing a custom function for this is reasonable:-).<br>><br>Just had a thought.... If you _disallow_ .dbf files in filename rules,
<br>you'd get it quarantined _and decoded_ as a Bad Filename .... Perhaps<br>usable?<br><br>Cheers<br>--<br>-- Glenn<br>email: glenn < dot > steen < at > gmail < dot > com<br>work: glenn < dot > steen < at > ap1 < dot > se
<br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner
</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<br></blockquote></div><br>