Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 17:56:03 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        "Arthur H. Johnson II" <arthur@tucows.com>, freebsd-chat@freebsd.org
Subject:   Re: Procmail.
Message-ID:  <19990902175603.B296@marder-1>
In-Reply-To: <19990902065044.C64923@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Thu, Sep 02, 1999 at 06:50:44AM %2B0200
References:  <Pine.BSF.4.10.9909011309350.1688-100000@Arthur.Linuxberg> <19990901183754.G283@marder-1> <19990902065044.C64923@daemon.ninth-circle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?19990902175603.B296>