procmail
[Top] [All Lists]

"white list" for two domains

2002-06-10 04:27:00
Hi -

I have been using a "white list" under procmail, which looks like this:

LOG="SPIDER$EOL"
:0 :
* !^TO_(h9400395|mail|niko|webmaster|beo|fritz)
IN.SPIDERWEB
LOG="NO SPIDER$EOL"

Everything not addressed to either one of these "users" is filtered
out. This has been working fine, but now I have a second domain which I
want to go thru the same processing.
1. domain is hiebaum.org
2. domain (new) is beowulfthefearless.org

So, mails to ich(_at_)hiebaum(_dot_)org are caught by the "spiderweb". Here is 
the
log for that:
---
procmail: Assigning "LOG=SPIDER
"
SPIDER
procmail: Match on !
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(h9400395|mail|niko|webmaster|beo|fritz)"
procmail: Locking "IN.SPIDERWEB.lock"
procmail: Assigning "LASTFOLDER=IN.SPIDERWEB"
procmail: Opening "IN.SPIDERWEB"
procmail: Acquiring kernel-lock
procmail: Unlocking "IN.SPIDERWEB.lock"
From h9400395(_at_)miraculix(_dot_)wu-wien(_dot_)ac(_dot_)at Mon Jun 10 
06:24:46 2002
  Folder: IN.SPIDERWEB
950
procmail: Notified comsat:
"hiebaum(_at_)7334:/usr/home/hiebaum/mail/incoming/IN.SPIDERWEB"
---

But an e-mail to ich(_at_)beowulfthefearless(_dot_)org (which is my new domain) 
is
not caught. Again, here the log:
---
procmail: Assigning "LOG=SPIDER
"
SPIDER
procmail: No match on !
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(h9400395|mail|niko|webmaster|beo|fritz)"
procmail: Assigning "LOG=NO SPIDER
"
NO SPIDER
procmail: Assigning "MAILDIR=/usr/home/hiebaum/mail"

LOG="SPIDER$EOL"
:0 :
* !^TO_(h9400395|mail|niko|webmaster|beo|fritz)
IN.SPIDERWEB
LOG="NO SPIDER$EOL"
---

What I want is to make the white list applicable to the 2nd domain, too.
Help is appreciated. If you need further information, I will provide them.

-- 
CU, Niki                        PGP:http://www.hiebaum.org/niki_gpg.asc
*Draft beer, not people*

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>