procmail
[Top] [All Lists]

Grrrrrr!! Rotten digests from this list!!! Grrrrr!!

1997-05-12 07:27:00
Well, at least the problem can be officially classified as intermittent, yes?

Here it is:

(This is only about 20 percent of the digest that I found stuffed in my inbox.)
Why, oh why, is this happening?  Better yet, why is it happening only
sometimes?)

Lance

Message-id: <199705121247(_dot_)VAA07161(_at_)Akajishi>
Date: Mon, 12 May 1997 21:47:46 +0900
From: Lance Cummings <lance(_at_)iac(_dot_)co(_dot_)jp>

 Subject: procmail-d Digest V97 #113
  Folder: formail +1 -eds /usr/lib/mh/rcvstore +procmail                  32352
procmail: Notified comsat: "lance@:formail +1 -eds /usr/lib/mh/rcvstore 
+procmail"
Status:   

Naturally, the message from myself was in there.  And naturally, nothing went
wrong.  Oh well.  Ideas, anyone?

Lance

------------------------------

Date: Sat, 10 May 1997 12:07:12 -0500 (CDT)
From: dattier(_at_)wwa(_dot_)com (David W. Tamkin)
To: jjg(_at_)Cadence(_dot_)COM (John Gianni)
Cc: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: ORing conditions
Message-Id: <m0wQFc0-000k0UC(_at_)miso(_dot_)wwa(_dot_)com>
Content-Type: text/plain; charset=US-ASCII
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

John Gianni asked,

| But, what's the difference between those two suggestions, and the simpler:
| --------------------------------------------------------------------------
|  :0
|  * rule1 | rule2 | rule3
|  ...
| 
| A simple example being:
|  :0
|  * ^Subject:.*hello|Dear|World
|  IN.foo

(Yes, John may have meant "* ^Subject:.*(hello|Dear|World)", but that's a
 separate concern.)

As I explained in my post in response to Axel Thimm's original question, if
the rules are all straight regexps we generally WILL want to do what John
illlustrated, but sometimes we have rules that cannot be combined into a
single condition.

For example, one cannot combine

1. a straight regexp with a negated regexp (unless one of them can be
   expressed the other way);

2. an exit code (inverted or straight) with a regexp (negated or straight);

3. a straight exit code with an inverted exit code (unless one of the
   commands is something [like test or lockfile] that can be told to invert
   its own exit code);

4. a size comparison with anything else (even another size comparison); or

5. two regexps that have different search areas

into a single condition line.  When we want to OR two or more conditions
that cannot be put together like that, we need another method.

------------------------------

Date: Sat, 10 May 1997 10:11:29 +0000
From: "Larry Canter" <Larry(_dot_)Canter(_at_)gridsat(_dot_)thegrid(_dot_)net>
To: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
CC: larryc(_at_)thegrid(_dot_)net
Subject: Executing programs
Message-Id: <199705101711(_dot_)KAA24342(_at_)gridsat(_dot_)thegrid(_dot_)net>
Content-type: text/plain; charset=US-ASCII
MIME-Version: 1.0
Content-Transfer-Encoding: 7BIT

I'm new to Procmail and this is probably a pretty basic question, but 
......

I need to save e-mail to a file(stripping out the headers), and then 
call a program with the file-name as an argument.  Saving the mail to 
a file is no problem, but I can't get the program to execute.  Recipe 
 in .procmailrc looks like this:
         :0 bc
        | cat >>$HOME/filename
        | program_name filename

I've tried it using semi-colon at end of the first action, placing 
the program execution in a separate recipe, and the same thing 
happens - the file is created and that's it.

Thanks for any help on this.

larryc(_at_)thegrid(_dot_)net

------------------------------

Date: Sat, 10 May 1997 23:16:17 +0530 (IST)
From: A Satpathy <satpathy(_at_)cse(_dot_)iitb(_dot_)ernet(_dot_)in>
To: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE (procmail list)
Subject: Auto reply during vacation
Message-Id: 
<199705101746(_dot_)XAA29571(_at_)kailash(_dot_)cse(_dot_)iitb(_dot_)ernet(_dot_)in>
Content-Type: text/plain; charset=US-ASCII
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

 Hi, 


    * Is there any way to control the outgoing mails ? I am not sys admin.
      so i can't do it using sendmail (i think).

    * How can I able to send a auto respond during vacation to the sender
      I mean what are the rules I should write in my .procmailrc file.
      Also it should keep track of the persons so that if a person have 
      seen the vacation message he should not get the same message again.

      I am new to procmail , so would any body like to give me any pointers 
      that could help me .Mail me at : Satpathy(_at_)BitSmart(_dot_)com


                                        Thanks in Advance        oOo    
                                        Ahimanikya Satpathy     O.^.O   
                                        IIT,Powai,Mumbai,India  ( u )    
                                        -__-__-__-__-__-__-__-   iii    

------------------------------

Date: Sat, 10 May 1997 20:32:45 -0100 (GMT+1)
From: Jordi Garcia Busquets <jordi(_at_)hades(_dot_)udg(_dot_)es>
To: Larry Canter <Larry(_dot_)Canter(_at_)gridsat(_dot_)thegrid(_dot_)net>
cc: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE, 
larryc(_at_)thegrid(_dot_)net
Subject: Re: Executing programs
Message-ID: 
<Pine(_dot_)LNX(_dot_)3(_dot_)95(_dot_)970510203030(_dot_)23877A-100000(_at_)hades(_dot_)udg(_dot_)es>
Content-Type: TEXT/PLAIN; charset=US-ASCII
MIME-Version: 1.0

On Sat, 10 May 1997, Larry Canter wrote:

I'm new to Procmail and this is probably a pretty basic question, but 
.....

I need to save e-mail to a file(stripping out the headers), and then 
call a program with the file-name as an argument.  Saving the mail to 
a file is no problem, but I can't get the program to execute.  Recipe 
 in .procmailrc looks like this:
       :0 bc
      | cat >>$HOME/filename
      | program_name filename

I've tried it using semi-colon at end of the first action, placing 
the program execution in a separate recipe, and the same thing 
happens - the file is created and that's it.

Thanks for any help on this.

larryc(_at_)thegrid(_dot_)net


        What about...

         :0 bc
        | cat >>$HOME/filename && program_name $HOME/filename

        This is the method I use in one of my recipes. Try.

        Cheers.

****************************************
Jordi Garcia Busquets                     
jordi(_at_)hades(_dot_)udg(_dot_)es                       
University of Girona. Catalunya. Spain 
****************************************


<Prev in Thread] Current Thread [Next in Thread>
  • Grrrrrr!! Rotten digests from this list!!! Grrrrr!!, Lance Cummings <=