Era,

Your analysis helped, as the suggestion concerning the space caused me to cast 
my eye more carefully at the rules - it turned out that the problem was a 
second form of the address containing "djtaz01" - one that was encapsulated 
in angle brackets! So, of course it didn't match.

I added a second rule, and now it works perfectly.

Thank-you for your response!


On Sunday 19 October 2003 09:41, [EMAIL PROTECTED] wrote:
> On Sat, 18 Oct 2003 09:54:00 -0700, Rob Tow <[EMAIL PROTECTED]> posted to
>
> the spamassassin-talk list:
>  > I am trying to pre-filter a bit in .promailrc, to catch some
>  > addressed names within my domain and totally get rid of them (for
>  > test purposes I'm sending them to a file, but really want them to
>  > go to /dev/null).
>  > However, I'm seeing them go to the files, and then get handed off
>  > to Spam Assassin, too.
>
> Your .procmailrc looks quite right if I understand you correctly.
> Stuff which matches ^To: [EMAIL PROTECTED] ought to end up in the
> file djtaz01 and Procmail should stop processing there.
>
> Are you sure these rules are being invoked and the save to file is
> successful? The log should look something like this (just ignore the
> settings for DEFAULT and MAILDIR, obviously. Maybe try including
> SHELL= though):
>
>  $ echo 'To: [EMAIL PROTECTED]' | procmail -m /tmp/.procmailrc
>  procmail: [13237] Sun Oct 19 19:37:52 2003
>  procmail: Assigning "SHELL=/bin/sh"
>  procmail: Assigning "DEFAULT=/dev/null"
>  procmail: Assigning "MAILDIR=/tmp"
>  procmail: Match on "^To: [EMAIL PROTECTED]"
>  procmail: Assigning "LASTFOLDER=djtaz01"
>  procmail: Opening "djtaz01"
>  procmail: Acquiring kernel-lock
>    Folder: djtaz01                                                         25
>
> BTW you should probably not much with PATH and SENDMAIL unless you
> know their values are wrong for your system.
>
> Other than that, if the To: header does not contain exactly one space
> and the string "[EMAIL PROTECTED]" after the colon, the regex will
> not match, but you probably knew that already (^; but in any event you
> might actually want to use [EMAIL PROTECTED] instead).
>
> Hope this helps,
>
> /* era */

-- 

R o b   T o w

[EMAIL PROTECTED]
www.tauzero.com/Rob_Tow
(408)-829-7407
*
*ronin in the glade
*swift katas slice the still air
*...his own opponent


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to