Re: How do I "unforward" mail, was RE: How do I point a mail client at Microsoft outlook?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/19/2011 11:33 AM, Michael Hennebry wrote:
> On Mon, 18 Jul 2011, Mikkel L. Ellertson wrote:
> 
>> For the mail you have, you could probably use sed to remove the
>> forwarding "boiler plate". Exactly how you will want to do it
>> depends on if the messages are in one big file, or separate files.
> 
> For a one-off, I think I'd use python before
> sed for something especially complicated.
> 
I guess I did not see it as complicated. But this was before you
said the message was base 64 encoded. But I would use a sed script
file, not the command line.

Remove the forwarding header by matching the start/finish as an
address range. Delete that range.

For me, it would be:

/Delivered-To:/,/-------- Original Message --------/d

You may need s@^> @@ if you get "> " added when forwarding messages.

Mikkel
- -- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4mzh4ACgkQqbQrVW3JyMQ+VgCdGSPDzPaWTxjsVAmary7Gehy+
T9UAn1j08WJrnEqyKaqmiJAgPlCy5Cz+
=FXhv
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux