On Mon, Oct 30, 2000 at 10:19:23AM -0500, Jonathan Desrochers wrote:
Hello,
I have run into a weird situation and I am hoping someone out there can
help. I am running the following .procmailrc in a users home directory:
(Vacation procmailrc 1.8 2000-04-23 Bennett Todd <bet(_at_)rahul(_dot_)net>)
LOGFILE=$HOME/.procmail-log
VERBOSE=on
:0 Whc: vacation$LOCKEXT
* $^To:.*
* !^FROM_DAEMON
* !^List-
* !^(Mailing-List|Approved-By|BestServHost|Resent-(Message-ID|Sender)$
* !^Sender: (.*-errors@|owner-)
* !^TOnev(_at_)bostic(_dot_)com
* !^X-[^:]*-List:
* !^X-(Authentication-Warning|Loop|Sent-To|(Listprocessor|Mailman)-Ve$
* !$^From +$LOGNAME(@| |$)
| formail -rD 8192 vacation.cache
:0 ehc
| (formail -rI"Precedence: junk" \
-A"X-Loop: $LOGNAME(_at_)$HOST" \
; \
cat $HOME/reply \
) | $SENDMAIL $SENDMAILFLAGS -t
Found in the procmailrc(5) :
e This recipe only executes if the immediately preced
ing recipe failed (i.e. the action line was
attempted, but resulted in an error).
It looks like your reply would only work if the matching in the previous rule
(:0 Whc: vacation$LOCKEXT) fails .. thats why it normally delivers ;)
Grtz,
Nils.
--
It's better to burn out than to fade away --Kurgan
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail