-=Devil_InSide=- wrote: > i try to whitelist from greylisting any addresses of incoming mail as > published there: > http://www.georglutz.de/wiki/CourierServer?action=recall&rev=12
You should only be using that documentation if you're using his version of the filter. The included filter has changed significantly. > at bottom of the page, > and can't whitelist addresses by mask, i.e. *[email protected], .*[email protected], > [gg][email protected] > and wantn't trust these servers by giving them relay privilegies. There are several ways to whitelist senders, but none of the included modules whitelist based on regex matching of sender addresses. If you wanted to do that, you could start with the privateaddr module, which would provide a framework for fast matching of senders based on a list of regexes. If you don't want to write a new module, just use "whitelist_block"; put the sender's mail servers in /etc/courier/smtpaccess with an empty BLOCK setting. That will not give them relay access. > importing domains from wl_domains > Failed to open the given file > /var/state/pythonfilter/greylist_whitelistDomains > importing ip adresses from wl_ip > Failed to open the given file > /var/state/pythonfilter/greylist_whitelistIPAddresses The internal whitelists were removed some time ago, but that's not why your scripts are failing. You're probably on debian or Ubuntu and haven't installed python-gdbm. Since those DBs aren't used, there's no point in spending your time fixing the scripts. ------------------------------------------------------------------------------ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
