Brent Graham | 2 Sep 04:26 2004
Picon

recipe to stop procmail processing

What is the easiest/best way to write a recipe that simply delivers the
message to INBOX and stops further procmail processing? For example, any
email sent to me <at> myhost.com would be delivered to INBOX and would exit
procmail?

Brent
Brent Graham | 2 Sep 04:59 2004
Picon

Re: recipe to stop procmail processing

Actually that was a bad example. What I meant was any email from
me <at> myhost.com, not email sent to it.

Brent

On Wed, 1 Sep 2004, Brent Graham wrote:

> Date: Wed, 01 Sep 2004 21:26:14 -0500 (CDT)
> From: Brent Graham <brent <at> kansas.net>
> To: procmail <at> lists.RWTH-Aachen.DE
> Subject: recipe to stop procmail processing
>
> What is the easiest/best way to write a recipe that simply delivers the
> message to INBOX and stops further procmail processing? For example, any
> email sent to me <at> myhost.com would be delivered to INBOX and would exit
> procmail?
>
> Brent
>
> ____________________________________________________________
> procmail mailing list   Procmail homepage: http://www.procmail.org/
> procmail <at> lists.RWTH-Aachen.DE
> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
>
David W. Tamkin | 2 Sep 05:10 2004
Picon

Re: recipe to stop procmail processing

Brent Graham wrote:

> What is the easiest/best way to write a recipe that simply delivers the
> message to INBOX and stops further procmail processing?

  :0 flags: # no second colon if $DEFAULT is a directory
  * conditions
  $DEFAULT

or if you're in a bottom-level rcfile and not in an INCLUDERC nor in 
/etc/procmailrc,

  :0 flags
  * conditions
  { SWITCHRC }
Brent Graham | 2 Sep 15:11 2004
Picon

Re: recipe to stop procmail processing

Thanks. I knew there had to be an easy way to do it. ;)

Brent

On Wed, 1 Sep 2004, David W. Tamkin wrote:

> Date: Wed, 01 Sep 2004 22:10:56 -0500
> From: David W. Tamkin <dattier <at> panix.com>
> To: procmail <at> lists.RWTH-Aachen.DE
> Subject: Re: recipe to stop procmail processing
>
> Brent Graham wrote:
>
> > What is the easiest/best way to write a recipe that simply delivers the
> > message to INBOX and stops further procmail processing?
>
>   :0 flags: # no second colon if $DEFAULT is a directory
>   * conditions
>   $DEFAULT
>
> or if you're in a bottom-level rcfile and not in an INCLUDERC nor in
> /etc/procmailrc,
>
>   :0 flags
>   * conditions
>   { SWITCHRC }
>
>
> ____________________________________________________________
> procmail mailing list   Procmail homepage: http://www.procmail.org/
(Continue reading)

Brent Graham | 2 Sep 15:17 2004
Picon

Re: recipe to stop procmail processing

OK, now for one more question. How about a recipe that copies
(not moves) the message to another folder and also stops further
processing? I know I can do this with 2 recipes (first using :0 c: and
then the recipe below), but is there a way to combine it into one recipe?

Brent

On Wed, 1 Sep 2004, David W. Tamkin wrote:

> Date: Wed, 01 Sep 2004 22:10:56 -0500
> From: David W. Tamkin <dattier <at> panix.com>
> To: procmail <at> lists.RWTH-Aachen.DE
> Subject: Re: recipe to stop procmail processing
>
> Brent Graham wrote:
>
> > What is the easiest/best way to write a recipe that simply delivers the
> > message to INBOX and stops further procmail processing?
>
>   :0 flags: # no second colon if $DEFAULT is a directory
>   * conditions
>   $DEFAULT
>
> or if you're in a bottom-level rcfile and not in an INCLUDERC nor in
> /etc/procmailrc,
>
>   :0 flags
>   * conditions
>   { SWITCHRC }
>
(Continue reading)

Travel Jadoo | 2 Sep 15:27 2004
Picon
Picon

procmail doesn't work

A weird one: 
I do not have /etc/procmailrc 
I have the following .procmailrc in one directory just to filter spam
tagged messages to me for verification.
I created a log file
-rw-rw-rw-    1 res      res             0 Aug 30 17:34 procmail.log

-------------
PATH=/usr/bin
MAILDIR=/var/spool/mail/res
DEFAULT=/var/spool/mail/res
LOGFILE=$HOME/procmail.log
VERBOSE=ON

:0
* ^Subject:.*SPAM*
! me <at> xs4all.nl
--------------
However, this doesn't do a thing with a test message with or without
SPAM in the subject line. It also doesn't log anything. I have a similar
recipe in another user directory which works fine so no problems with
the procmail installation. Any ideas how to check what is going on?

Alfred Tuinman
Ruud H.G. van Tol | 2 Sep 15:58 2004
Picon

Re: procmail doesn't work

Toen wij Travel Jadoo kietelden, kwam er dit uit:

> Any ideas how to check what is going on? 

Check if there is a .forward-file.

--

-- 
Grtz, Ruud
David W. Tamkin | 2 Sep 16:43 2004
Picon

Re: recipe to stop procmail processing

Brent Graham wrote:

> OK, now for one more question. How about a recipe that copies
> (not moves) the message to another folder and also stops further
> processing?

Brent, I don't know where you think the message "is" when you talk about 
"moving" it.  If you copy it to a folder and then stop processing, it is 
in the folder where you put the copy and nowhere else, because you've 
stopped processing.  When you say this,

> I know I can do this with 2 recipes (first using :0 c: and
> then the recipe below), but is there a way to combine it into one recipe?

we have to gather that you mean you want to save the message in both 
$DEFAULT and one other folder when there's still more code in the 
rcfile, but the remaining code applies only to other messages and not to 
this one.

So no, there's no other way to do it.  To save a message in $DEFAULT 
before the end of your recipes, you have to do it explicitly, either 
with a recipe that saves to $DEFAULT or, in the circumstances I detailed 
last time, by unsetting SWITCHRC or setting SWITCHRC=/dev/null.
Brent Graham | 2 Sep 18:03 2004
Picon

Re: recipe to stop procmail processing

What I meant was saving the message in another folder and in $DEFAULT
and stopping procmail execution in 1 recipe rather than 2. It sounds like
there isn't so I'll just create the 2 recipes. Thanks again for your
input.

Brent

 On Thu, 2 Sep 2004, David W. Tamkin wrote:

> Date: Thu, 02 Sep 2004 09:43:14 -0500
> From: David W. Tamkin <dattier <at> panix.com>
> To: procmail <at> lists.RWTH-Aachen.DE
> Subject: Re: recipe to stop procmail processing
>
> Brent Graham wrote:
>
> > OK, now for one more question. How about a recipe that copies
> > (not moves) the message to another folder and also stops further
> > processing?
>
> Brent, I don't know where you think the message "is" when you talk about
> "moving" it.  If you copy it to a folder and then stop processing, it is
> in the folder where you put the copy and nowhere else, because you've
> stopped processing.  When you say this,
>
> > I know I can do this with 2 recipes (first using :0 c: and
> > then the recipe below), but is there a way to combine it into one recipe?
>
> we have to gather that you mean you want to save the message in both
> $DEFAULT and one other folder when there's still more code in the
(Continue reading)

Raphael Mack | 2 Sep 18:24 2004
Picon

Mailbox-sizes / Postfix

Hello,

I use procmail to deliver the mails got from postfix to the local mailboxes 
(mbox format). The mailbox-size is set to 50 MB in postfix-config. I need 
to have one special mailbox which is bigger. I tried to write

:0:
/var/spool/mail/username

explicitly in .procmailrc but that didn't work. Any idea who I can change 
the mailbox-size-limit?

Thanks,
Raphael

Gmane