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] procmail recipe question...

[ILUG] procmail recipe question...

Stephen Shirley diamond at skynet.ie
Tue Oct 2 14:38:57 IST 2001


Mornin' all,
	I am trying to write a .procmailrc that will filter my mail
according to all my usual recipes and then run a certain command at then
end. My current attempt looks like this:

MAILDIR=$HOME/mail
DEFAULT=inbox

...various recipes to catch spam...

:0 c
{
	...all my usual recipes...

	:0
	${DEFAULT}
}

:0
|/path/to/command

The way I thought that would work is that the mail would get delivered
according to the recipes in the {}'s, and any that weren't matched would
get delivered to the DEFAULT mailbox. But for some reason some mails that
would normally be filtered into other folders, are getting copied to my
inbox as weel (e.g. when people respond to ilug mails with a person in the
to: line, and ilug cc:'ed). Does anyone have any ideas?

I've tried RTFM'ing, but I don't know about you, but the procmailrc man
pages give me a headache. Just in case it helps, my usual recipes are
along the lines of:

    :0
    * ^Subject:.*\[ILUG]
    ILUG

    :0
    * ^Subject:.*\[ILUG-Social]
    ILUG-Social

etc, etc.

Anyway, TIA.

Steve
-- 
"My mom had Windows at work and it hurt her eyes real bad"





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