LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] fromail rule to resend specific mail from mbox files ?

[ILUG] fromail rule to resend specific mail from mbox files ?

Lars Hecking lhecking at users.sourceforge.net
Thu Mar 9 15:22:13 GMT 2006


Declan Grady writes:
> Hi,
> I have a user who deleted all the mail I sent them !
> I have my mail archived in a load of mbox files, so I need pick out the 
> mail to this user and resend it.
> 
> I know formmail is my friend, but it so long since I used it I forget 
> how to do it !
> 
> I want to run all my mbox files through formail with one rule to match 
> the TO email address, and resend it.

 for mbox in $list ; do
   formail -s procmail file.rc < $mbox
 done

 where file.rc is the procmail rc file with the rule.

 I'd probably experiment with a small mbox and rc file that dumps mails to
 a file before letting it loose on an unsuspecting recipient ...





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell