On Mon, 11 Aug 2008 12:26:23 +0400, -=Devil_InSide=- <[EMAIL PROTECTED]> wrote: > i look in a /etc/courier/smtpacess/* and see, that i can filter incoming > connection by ip adress or by a part of it. > i want to now: > 1. how making regular expressions? > 81.81.81 means that i ment in my record net 81.81.81.0/24 > how make expression like 81.*.81.81 or something such as it? > > 2. can i filter smtp connection by hostname or dns name or by a part of > it ? > my tries insert record like > yandex > *.yandex.* > *yandex.ru > not bring me a success. > in a exim docementaion i read, that records may be as shown above and > *-adsl-* === many such hosts sent spam, and i want to deny them to connect > or send mail. > in documentation on courier-mta.org i didn't find distinct answers for > this quiestions.
Hello, I understand your needs. I don't think it's a good idea to blacklist all these networks: "Many" does not mean "All" Most of spammers are already registered in URIBL like zen.spamhaus.org. You can try to use such a blacklist. Add a content filter and it should solve your problems. If you really want to discard these connexions, You could do it using 2 ways: - block them at the lowest level: Firewall them ! - Use a courier filter to discard mails (pythonfilter is just perfect for that) HTH. Jerome Blion. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
