Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 13:11:17 -0400 (EDT)
From:      "Arthur H. Johnson II" <arthur@tucows.com>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>, freebsd-chat@freebsd.org
Subject:   Re: Procmail.
Message-ID:  <Pine.BSF.4.10.9909021310120.3618-100000@Arthur.Linuxberg>
In-Reply-To: <19990902175603.B296@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
hummmm, i dont know, but check out mine:

# Please check if all the paths in PATH are reachable, remove the ones that
# are not.



PATH=$PATH
MAILDIR=$HOME/mail	# You'd better make sure it exists
DEFAULT=$MAILDIR/.incomming
LOGFILE=$HOME/.procmaillog
LOCKFILE=$HOME/.lockmail

:0
* ^Subject.*subscribe*
work/work

:0
* ^Subject.*New Program*
work/work

:0
* ^Subject.*Program Update*
work/work

:0
* ^From.*staffroom@tucows.com
work/trash

:0
* ^To.*list@linuxberg.com
work/list

:0
* ^To.*suggest@linuxberg.com
work/.incomming

:0
* ^From.*helpdesk@linuxberg.com
work/work

:0
* ^From.*@linuxberg.com
work/.incomming

:0
* ^From.*@tucows.com
work/.incomming

:0
* ^From.*cvs*
personal/freebsd-os

:0
* ^From.*ports*
personal/freebsd-os

:0
* ^To.*ports*
personal/freebsd-os

:0
* ^From.*Ports*
personal/freebsd-os

:0
* ^To.*Ports*
personal/freebsd-os

:0
* ^From.*current*
personal/freebsd-os

:0
* ^From.*Current*
personal/freebsd-os

:0
* ^From.*@FreeBSD.ORG
personal/freebsd-discussions

:0
* ^From.*@freebsd.org
personal/freebsd-discussions

It might have something to do with the brackets.

Arthur H. Johnson II
http://www.linuxberg.com
Linuxberg Manager
arthur@tucows.com

On Thu, 2 Sep 1999, Mark Ovens wrote:

> On Thu, Sep 02, 1999 at 06:50:44AM +0200, Jeroen Ruigrok/Asmodai wrote:
> > * Mark Ovens (mark@ukug.uk.freebsd.org) [990901 21:19]:
> > >On Wed, Sep 01, 1999 at 01:11:32PM -0400, Arthur H. Johnson II wrote:
> > >> I just don't know how I lived without procmail!  Everything is filtered to
> > >> seperate folders now and instead of being delete happy, i actually read my
> > >> mailing list mail now at my convienience rather than grouped with
> > >> important stuff from employees and bosses.
> > >
> > >So, if I set up procmail can I use it to grab my e-mail from a POP3
> > >server (dial-up ISP account)? I could do with a setup like this
> > >instead of just having mutt stuff it all in /var/mail/mark. Do you
> > >know any URL's related to procmail?
> > 
> > The obvious:
> > 
> > www.procmail.org
> > 
> > As Arthur already said in his follow-up mail. Use fetchmail to leech
> > boxes and then procmail them.
> > 
> 
> Yep, I've got it all set up now :-)
> 
> > I have example scripts if ye want/need them...
> > 
> 
> Yes please, or can you tell me what's wrong with the .procmailrc I've made. Although it puts the stuff from -chat in /var/mail/chat and -questions in /var/mailquestions etc. it also puts a copy in /var/mail/mark, not what I want. I deally, if something is To:'d or Cc:'d to more than one maillist I want copy in each lists mailbox, but only none freebsd.org addressed mail to go in my personal box.
> 
> This is my .procmailrc:
> 
> 
> # .procmailrc
> # routes incoming mail to appropriate mailboxes
> 
> PATH=/usr/bin:/usr/local/bin
> MAILDIR=/var/mail
> DEFAULT=/var/mail/mark
> LOGFILE=$HOME/procmail.log
> SHELL=/bin/sh
> 
> :0:
> *^TO_(chat|advocacy|doc|questions|users)@freebsd
> {
> 	:0 c
> 	*^TO_.*chat
> 	chat
> 
> 	:0 c
> 	*^TO_.*doc
> 	doc
> 
> 	:0 c
> 	*^TO_.*advocacy
> 	advocacy
> 
> 	:0 c
> 	*^TO_.*questions
> 	questions
> 
> 	:0
> 	*^TO_.*users
> 	ukusers
> 
> }
> 
> > -- 
> > Jeroen Ruigrok van der Werven                          asmodai(at)wxs.nl
> > The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
> > Network/Security Specialist        BSD: Technical excellence at its best
> > Life is just one damned thing after another.
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-chat" in the body of the message
> 
> -- 
> STATE-OF-THE-ART: Any computer you can't afford.
> OBSOLETE: Any computer you own.
> ________________________________________________________________
>       FreeBSD - The Power To Serve http://www.freebsd.org
>       My Webpage http://ukug.uk.freebsd.org/~mark/
> mailto:mark@ukug.uk.freebsd.org              http://www.radan.com
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909021310120.3618-100000>