procmail
[Top] [All Lists]

Global filter does not work perfect.

2002-08-20 05:47:38
Hi to everybody!

I use procmail to filter all incoming email for users of my Postfix-Mailserver.

Postix itself is configured not to send emails that begin with an 'i' to the outside.
I have account like:

ipaul(_at_)test-lokal(_dot_)com
imary(_at_)test-ag(_dot_)com

('i' stands for intern)

Incoming email sould also filtered.
I use this procmail filter.


/etc/promailrc:

:0
* ^TO_i(_dot_)*(_at_)test-ag\(_dot_)com
* !^From:(_dot_)*(_at_)test-ag\(_dot_)com
* !^From:(_dot_)*(_at_)test-lokal\(_dot_)com
/home/filter/iaccounts


It works but there are some emails
which are also catched by this filter during the week.
I dont't see what these emails have in common.

Whats's wrong? Is the filter not precise enough?


test-ag.com and test-lokal.com are the local domains the mailserver is responsible for. All other domains should be rejected.



Thanks in advance!


CU Juergen






_______________________________________________
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>