[luau] procmail recipe

2003-08-04 Thread Ronnie Baron
I'm trying to create a procmail recipe for the list so it goes to a
specific folder but the one I have is not working. Any suggestions?

:O:
* ^List-Id:.*luau.videl.ics.hawaii.edu
/var/spool/mail/luau

:O:
* ^(from:|cc:|to:).*luau
/var/spool/mail/luau

Thanks,
Ronnie



Re: [luau] procmail recipe

2003-08-04 Thread Warren Togami
On Mon, 2003-08-04 at 11:06, Ronnie Baron wrote:
> I'm trying to create a procmail recipe for the list so it goes to a
> specific folder but the one I have is not working. Any suggestions?
> 
> :O:
> * ^List-Id:.*luau.videl.ics.hawaii.edu
> /var/spool/mail/luau
> 
> :O:
> * ^(from:|cc:|to:).*luau
> /var/spool/mail/luau
> 

My rule looks like this

:0
* ^List-Post: 
LUAU-VIDEL

Near the top of my procmailrc is this:

MAILDIR=$HOME/mail

I'm not sure if delivering to a full path name works or not, if it does
then you probably have permission problems.  I personally always used it
like above where it delivers to mbox files within my user's home
directory.

Warren 



Re: [luau] procmail recipe

2003-08-04 Thread Vince Hoang
On Mon, Aug 04, 2003 at 11:06:35AM -1000, Ronnie Baron wrote:
> I'm trying to create a procmail recipe for the list so it goes to a
> specific folder but the one I have is not working. Any suggestions?
> 
> :O:
> * ^List-Id:.*luau.videl.ics.hawaii.edu
> /var/spool/mail/luau
> 
> :O:
> * ^(from:|cc:|to:).*luau
> /var/spool/mail/luau

Use :0 H:, instead of just :0:, otherwise you check the body of
the message, waste CPU cycles, and have false matches.

If you enable logging, you might see that you are unable to
deliver to /var/spool/mail/luau. Save your messages under your
home direcotory, like $HOME/Mail/luau.

I would avoid using the last rule, but you can more correctly
write it as: * ^(From:|TO_).*luau

And be sure to check the procmail(ex|rc) man pages.

-Vince


Re: [luau] procmail recipe

2003-08-04 Thread Ronnie Baron
Thanks. That did worked :)

Ronnie

On Mon, Aug 04, 2003 at 11:28:32AM -1000, Warren Togami wrote:
> On Mon, 2003-08-04 at 11:06, Ronnie Baron wrote:
> > I'm trying to create a procmail recipe for the list so it goes to a
> > specific folder but the one I have is not working. Any suggestions?
> > 
> > :O:
> > * ^List-Id:.*luau.videl.ics.hawaii.edu
> > /var/spool/mail/luau
> > 
> > :O:
> > * ^(from:|cc:|to:).*luau
> > /var/spool/mail/luau
> > 
> 
> My rule looks like this
> 
> :0
> * ^List-Post: 
> LUAU-VIDEL
> 
> Near the top of my procmailrc is this:
> 
> MAILDIR=$HOME/mail
> 
> I'm not sure if delivering to a full path name works or not, if it does
> then you probably have permission problems.  I personally always used it
> like above where it delivers to mbox files within my user's home
> directory.
> 
> Warren 
> 
> ___
> LUAU mailing list
> [EMAIL PROTECTED]
> http://videl.ics.hawaii.edu/mailman/listinfo/luau


Re: [luau] procmail recipe

2003-08-04 Thread Vince Hoang
On Mon, Aug 04, 2003 at 11:29:32AM -1000, Vince Hoang wrote:
> Use :0 H:, instead of just :0:, otherwise you check the body of
> the message, waste CPU cycles, and have false matches.

Woops. I guess I should refresh myself with the man pages as well:

   HEgrep the header (default).

-Vince