* Roger Oberholtzer
:0 * ^From:.*hermes@opensuse\.org * ^Subject:.*openSUSE_11\.2* ".Lists.SUSE Novell.OpenSuseBuildService.openSUSE_11_2/"
:0 * ^From:.*hermes@opensuse\.org * ^Subject:.*openSUSE_11\.3_Update* ".Lists.SUSE Novell.OpenSuseBuildService.openSUSE_11_3_Update/"
Now consider a message with this subject line:
Subject: Build success of home:rogeroberholtzer/universe openSUSE_11.3_Update/x86_64
I want the message to trigger the second rule. But, based on where the message winds up, it is triggering the first rule. Consistently. The subject does not even contain the character '2'! How can it trigger the first rule? The log file says this for the message:
From hermes@opensuse.org Thu Apr 28 04:51:48 2011 Subject: Build success of home:rogeroberholtzer/universe openSUSE_11.3_Update/ Folder: .Lists.SUSE Novell.OpenSuseBuildService.openSUSE_11_2/new/13 1617
So I am fairly certain that it is procmail that is messing up.
reverse the order of the two recipies so 11.3 comes first and drop the trailing "*" from both. ie: :0 * ^From:.*hermes@opensuse.org * ^Subject:.*openSUSE_11\.3_Update "Lists..../ :0 * ^From:.*hermes@opensuse.org * ^Subject:.*openSUSE_11\.2 "Lists..../ btw, procmail recipies are *not* case sensitive unless you flag them as such and recipies match *anything* trailing the specified so the asterisk is superfulous to see what is causing your confusion, do as Carlos suggested, add "Verbose ON" above the subject recipies and "Verbose OFF" below, then check your logs after a post is delivered to an undesired location. You might also try your recipies within a "sandbox" to test, see: http://www.professional.org/procmail/disclaimer.html -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org