forward content of mailfile

I have a Unix Mail File that I need to forward the content of it
(about 600 messages).

Is there a way to do this without having to manually forward each
message?

I can break the fle into individual messages if it's possible to
forward the entire
mail file as a message.

TIA

W. R. Werner
walterwerner [ Do, 12 Juli 2007 18:30 ] [ ID #1767181 ]

Re: forward content of mailfile

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-29872-1184279412-0002
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Wolfgang's Daddy writes:

> I have a Unix Mail File that I need to forward the content of it
> (about 600 messages).
>
> Is there a way to do this without having to manually forward each
> message?
>
> I can break the fle into individual messages if it's possible to
> forward the entire
> mail file as a message.

If there's a single file per message, then "sendmail recipient [at] domain
<messagefile" will forward the message, then it's a matter of having a
simple shell script iterate over all message files.

It's also possible to do this with a single mail file, using some extra
tools, but if you can already break it up into single files, the shell
script is trivial.



--=_mimegpg-commodore.email-scan.com-29872-1184279412-0002
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGlqt0x9p3GYHlUOIRAl+gAJ9+qrsBMOnTghPL6tEJOBj/RlU1NwCe LnW4
2L5/9CFpX5uomcHf+ynXzE0=
=Pnqa
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-29872-1184279412-0002--
Sam [ Fr, 13 Juli 2007 00:30 ] [ ID #1767182 ]

Re: forward content of mailfile

On Jul 12, 3:30 pm, Sam <s... [at] email-scan.com> wrote:
> Wolfgang's Daddy writes:
> > I have a Unix Mail File that I need to forward the content of it
> > (about 600 messages).
>
> > Is there a way to do this without having to manually forward each
> > message?
>
> > I can break the fle into individual messages if it's possible to
> > forward the entire
> > mail file as a message.
>
> If there's a single file per message, then "sendmail recipient [at] domain
> <messagefile" will forward the message, then it's a matter of having a
> simple shell script iterate over all message files.
>
> It's also possible to do this with a single mail file, using some extra
> tools, but if you can already break it up into single files, the shell
> script is trivial.
>
> application_pgp-signature_part
> 1KDownload

Hmmm.. didn't even think of that.

I ended up installing procmail, and using a simple recipe inlcuded
below
in the same shell script fashion you suggested. I had already
written a perl
script to break them into individual messages when I found out formail
could have
done all the hard work for me.



:0
! address [at] doamin.com


Thanks anyway.
walterwerner [ Fr, 13 Juli 2007 23:53 ] [ ID #1768276 ]
Miscellaneous » comp.mail.misc » forward content of mailfile

Vorheriges Thema: Looking for certain Email clients
Nächstes Thema: Procmail "Skipped"?