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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: procmail recipes

[ILUG] Re: procmail recipes

Paul Jakma paul at clubi.ie
Tue Feb 10 13:51:50 GMT 2004


On Tue, 10 Feb 2004, Darragh Bailey wrote:

> This is the center of my problem. It doesn't function as I
> expected, instead of procmail reading it as a sequence of mails, it
> looks at it as one long mail.

You probably want to do:

	formail -b -s procmail < mailbox

alternatively, just export a sample email (ie headers and all)  (eh
type 'he' in pine to show headers then export) and run that through 
procmail.

> Anyone know a simple way of parseing an imap folder so that it can
> be fed into procmail and seen as individual mails?

Why, formail of course, which is what procmail uses :)

> At least that way I have some chance of testing out the receipe and
> working out a regular expression that does what I want.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
	warning: do not ever send email to spam at dishone.st
Fortune:
It's difficult to see the picture when you are inside the frame.



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