Thanks: Dman & Schaefer.
Apologies for impatience but I seemed to wait a long time after
I first posted my non-fitering procmail without feedback.
I've incorporated Dman's suggestion about a DEFAULT .Inbox
and commented out the PATH (that's new surely ?).
I attach a longer segment of procmail.log
in order to diagnose why procmail is not filtering.
I don't know why but this procmail.log is two days old
and uses VERBOSE=off while .promailrc has had VERBOSE=on for
some time. It could be the output of /etc/procmail, but it's where
/home/adam/.procmailrc would put it.
I welcome any constructive ideas to get it filtering again.
Adam Bogacki,
afb(_at_)paradise(_dot_)net(_dot_)nz
My /home/adam/procmail.log .................
From root(_at_)paradise(_dot_)net(_dot_)nz Sat Dec 11 14:57:31 2004
Subject: ndtpd daily log
Folder: bounced
1857
procmail: Assigning "LOGABSTRACT=all"
procmail: Assigning "DROPPRIVS=yes"
procmail: Assuming identity of the recipient, VERBOSE=off
procmail: Assigning "FORMAIL=/usr/bin/formail"
procmail: Assigning "SENDMAIL=/usr/sbin/sendmail"
procmail: Locking "msgid.lock"
procmail: Executing "/usr/bin/formail,-D,8192,msgid.cache"
procmail: Non-zero exitcode (1) from "/usr/bin/formail"
procmail: Assigning "LASTFOLDER=/usr/bin/formail -D 8192 msgid.cache"
procmail: Unlocking "msgid.lock"
procmail: Assigning "LASTFOLDER=backup"
procmail: Opening "backup"
procmail: Acquiring kernel-lock
From root(_at_)paradise(_dot_)net(_dot_)nz Sat Dec 11 14:57:42 2004
Subject: Anacron job 'cron.daily' on Tux
Folder: backup
procmail: Executing " cd backup && rm -f dummy 'ls -t msg.* | sed
-e 1,200d'"
/bin/bash: line 0: cd: backup: Not a directory
procmail: Assigning "LASTFOLDER= cd backup && rm -f dummy 'ls -t
msg.* | sed -e 1,200d'"
From root(_at_)paradise(_dot_)net(_dot_)nz Sat Dec 11 14:57:42 2004
Subject: Anacron job 'cron.daily' on Tux
Folder: cd backup && rm -f dummy 'ls -t msg.* | sed -e 1,200d'
1368
procmail: Match on
"(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|ops|r(esponse|oot)|(bbs\.)?smtp(error)?|s(erv(ices?|er)|ystem)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Locking "bounced.lock"
procmail: Assigning "LASTFOLDER=bounced"
procmail: Opening "bounced"
procmail: Acquiring kernel-lock
procmail: Unlocking "bounced.lock"
procmail: Notified comsat:
"adam(_at_)241260:/home/adam/Maildir/bounced"
From root(_at_)paradise(_dot_)net(_dot_)nz Sat Dec 11 14:57:42 2004
Subject: Anacron job 'cron.daily' on Tux
Folder: bounced
1368
My .procmailrc .. with a few '<snips>' ....
VERBOSE=on
LINEBUF=4096
#PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/Maildir #make sure it exists
set DEFAULT="`cd .`/.Inbox/"
#DEFAULT=$MAILDIR/.Inbox/
LOGFILE=$HOME/procmail.log
LOGABSTRACT=all
<snip>
FORMAIL=/usr/bin/formail
SENDMAIL=/usr/sbin/sendmail
<snip>
:0 Whc: msgid.lock
| $FORMAIL -D 8192 msgid.cache
<snip>
:0 c
backup
:0 ic
| cd backup && rm -f dummy 'ls -t msg.* | sed -e 1,200d'
My .muttrc includes ...
set mbox_type=Maildir
set mbox=~/Maildir/.Inbox/
set folder=~/Maildir/
set record="~/Maildir/.Sent/"
set spoolfile=~/Maildir/
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail