Procmail Problems

Procmail Problems

Post by Bill Kos » Tue, 16 Apr 1996 04:00:00



Hi,

I was under the impression that "procmail" attempts to match certaing characteristics of an
incoming message against a specified criteria.

If it fails to match a criteria is basically "Drops off the table" and is deposited in the
default inbox.

My problem is that messages that don't find a match are getting bounced back to the sender and
end up looking like:

_______________________________________________________________________________
Date: Mon, 15 Apr 96 11:27:58 PDT

Subject: Returned mail: Can't create output

   ----- Transcript of session follows -----
procmail: [15707] Mon Apr 15 11:27:58 1996
procmail: Opening "/dev/null"
procmail: Opening "/dev/console"
550 "|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #willie"... Can't create output

   ----- Unsent message follows -----
Received: by sammy.kingtech.com
        (1.38.193.4/16.2) id AA15705; Mon, 15 Apr 1996 11:27:58 -0700


Subject: testit

Date: Mon, 15 Apr 96 11:27:58 PDT
Mailer: Elm [revision: 70.85]

this is a test
_______________________________________________________________________________

Messages that DO match seem to be filtered just fine.

OTHER STUFF:

1) .forward     -rwxr-xr-x
________________________________________________________________________________

"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #willie"

________________________________________________________________________________

2).procmailrc   -rw-rw-rw-
________________________________________________________________________________
VERBOSE=off

MAILDIR=$HOME/Mail

PMDIR=$HOME/.procmail

LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.testing
________________________________________________________________________________

3) .procmail    drwxrwxrwx   #directory contains:

                4) rc.testing   -rw-rw-rw-
                _______________________________________________________________
                :0:
                * ^Subject:.*test
                IN.testing
                _______________________________________________________________

Does anyone see something wrong here that I'm missing?

Thanks,

Bill Koss

 
 
 

Procmail Problems

Post by markus » Wed, 17 Apr 1996 04:00:00


    BK> Hi, I was under the impression that "procmail" attempts to
    BK> match certaing characteristics of an incoming message against
    BK> a specified criteria.

    BK> If it fails to match a criteria is basically "Drops off the
    BK> table" and is deposited in the default inbox.

    BK> My problem is that messages that don't find a match are
    BK> getting bounced back to the sender and end up looking like:

    [example deleted]

    BK> Messages that DO match seem to be filtered just fine.

    BK> Does anyone see something wrong here that I'm missing?

Add a line like

DEFAULT=/usr/spool/mail/wkoss

to your .procmailrc (alter it to represent the path to your default
mail spool), it might help.

markus g
--
      /                . . . . . . . . . . . . . . . . . . . . . .
__  __/   __  __      . . . . . . . . . . . . . . . . .  the mole

__/   __/ __/ __/   . . . . . . . . http://www.muc.de/~mgloede/

 
 
 

Procmail Problems

Post by bill davids » Wed, 17 Apr 1996 04:00:00



| I was under the impression that "procmail" attempts to match certaing characteristics of an
| incoming message against a specified criteria.
|
| If it fails to match a criteria is basically "Drops off the table" and is deposited in the
| default inbox.
|
| My problem is that messages that don't find a match are getting bounced back to the sender and
| end up looking like:
|
| _______________________________________________________________________________
| Date: Mon, 15 Apr 96 11:27:58 PDT

| Subject: Returned mail: Can't create output

Are you running this on all mail or just from the .forward file of a
particular user. Sounds like a setup problem in the .procmail file.
--

"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me

 
 
 

Procmail Problems

Post by Sergey Seni » Thu, 18 Apr 1996 04:00:00



>I was under the impression that "procmail" attempts to match certaing characteristics of an
>incoming message against a specified criteria.
>If it fails to match a criteria is basically "Drops off the table" and is deposited in the
>default inbox.
>My problem is that messages that don't find a match are getting bounced back to the sender and .....

<<skipped - s.s.>>>

Quote:>________________________________________________________________________________
>VERBOSE=off
>MAILDIR=$HOME/Mail
>PMDIR=$HOME/.procmail
>LOGFILE=$PMDIR/log
>INCLUDERC=$PMDIR/rc.testing______________________________________________________________________________>3) .procmail      drwxrwxrwx   #directory contains:
>            4) rc.testing   -rw-rw-rw-
>            _______________________________________________________________
>            :0:
>            * ^Subject:.*test
>            IN.testing
>            _______________________________________________________________
>Does anyone see something wrong here that I'm missing?

I do :-)

DEFAULT=$MAILDIR/mbox

Since all messages which don't match conditions in your .procmailrc file are
delivered to DEFAULT, which isn't there and hence bounce

Good place to ask this questions is procmail mailing list

 
 
 

1. fetchmail/procmail problem

The problem is, when I have procmail put messages that meet a certain
criteria into a folder, it marks all the read messages as unread, except
for the same five each time.  What gives?  It's kind of annoying to find
fifty old messages marked as new each time.  At least it puts them in
the correct folder.

procmail v. 3.13.1
fetchmail v. 5.0.0

This is the simple contents of .procmailrc

********
LOGFILE=mail/log

:0:
* ^TOForens*
Mail/forensic
*********    

thanks
-ebh

2. Apache 1.2.0 User authentication.

3. Procmail Problem

4. CD-ROM Changer Question

5. Fetchmail->Procmail problem

6. elvis, how to make it wrap

7. Procmail problem

8. connect(3n) delay value

9. RH4.x->5.0 upgrade Sendmail/Procmail problems

10. Procmail problem.

11. Procmail problem

12. procmail problems

13. Procmail problems still