Subba Rao <[EMAIL PROTECTED]> wrote:
>
> $ file *.MSG
>
> I get the following output
>
> FKBOL40.MSG: RFC 822 mail text
> FKOE9A0.MSG: RFC 822 mail text
> FKQ6D20.MSG: RFC 822 mail text
> FKU7OB0.MSG: RFC 822 mail text
> FKVW7B0.MSG: ASCII text
> FKXO320.MSG: RFC 822 mail text
> FKXO370.MSG: RFC 822 mail text
>
> How do you convert these files into mbox or Maildir format? I want to be able
> to read these messages using Mutt MUA.
Well, if you're using qmail as your MTA, something like the following should
be a quick 'n' dirty way to do it. Just set the two addresses in the
script below to both be your local email address:
#!/bin/bash
for file in "$@"
do
qmail-inject -f [EMAIL PROTECTED] [EMAIL PROTECTED] <"$file"
done
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------