procmail
[Top] [All Lists]

[v3.11pre7] $DEFAULT implicit rule?

1997-05-29 13:23:00
We just upgraded to,

--------------------------------------------------
$ procmail -v
procmail v3.11pre7 1997/04/28 written and created by Stephen R. van den Berg
                                                        <srb(_at_)cuci(_dot_)nl>
...
Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/mail/mdb
--------------------------------------------------

from

--------------------------------------------------
$ procmail.old -v
procmail v3.05 1994/08/04 written and created by Stephen R. van den Berg
                                
berg(_at_)pool(_dot_)informatik(_dot_)rwth-aachen(_dot_)de
...
Locking strategies: dotlocking, fcntl()
$
--------------------------------------------------

and I've noticed that mail is not delivered to $DEFAULT after procmail 
drops off the end of ~/.procmailrc (as it did in v3.05). Specifically, 
I need to add

  :0 :
  $DEFAULT

to the end of my ~/.procmailrc to get the desired result. Otherwise,
the logfile says,

----------------------------------------
[ No match lines elided ]
...
procmail: No match on "^From:.*sun1.wwb.noaa.gov"
procmail: Locking "/var/mail/mdb.lock"
procmail: [26787] Wed May 28 12:11:45 1997
procmail: Assigning "LASTFOLDER=/var/mail/mdb"
procmail: Opening "/var/mail/mdb"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/mdb.lock"
From mdb(_at_)cdc(_dot_)noaa(_dot_)gov  Wed May 28 12:11:44 1997
 Subject: test again
  Folder: /var/mail/mdb                                                     641
procmail: Notified comsat: "mdb(_at_)1891:/var/mail/mdb"
----------------------------------------

and the mail remains in /var/mail/mdb. I have these variables defined
in my ~/.procmailrc,

----------------------------------------
# Please check if all the paths in PATH are reachable, remove the ones
# that are not.

SHELL=/bin/sh    # for other shells, this might need adjustment

#PATH=$HOME/bin:$HOME/perl5:/usr/bin:/usr/ucb:/bin:/usr/local/bin
PATH=/usr/bin:/usr/ucb:/bin:/usr/local/bin

###########
# VARIABLES
###########
MY_NAME="Mark Borges"
MY_ADDRESS="mdb(_at_)cdc(_dot_)noaa(_dot_)gov"
FROMSIG="$MY_NAME's Mail Gremlin <$MY_ADDRESS>"

MAILDIR =       $HOME/Mail/spool        # You'd better make sure it exists
ORGMAIL =       /var/mail/$LOGNAME
DEFAULT =       $MAILDIR/mbox.spool
LOGFILE =       $MAILDIR/log.procmail
#LOCKFILE=      $HOME/.lockmail
#LOCKEXT =      +
VERBOSE = yes
----------------------------------------

Thanks for any help and advice (please CC me any replies, as I am just 
about to join the mailling list and don't want to miss any replies).


-- 
  -mb-

<Prev in Thread] Current Thread [Next in Thread>
  • [v3.11pre7] $DEFAULT implicit rule?, Mark Borges <=