,-----[ Gordon Messmer, Воскресенье 05 апреля 2009 02:47 ]:

> -=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.
> 

now - not using, i got it last two times from phantom.dragonsdawn.net
)

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

thank's a lot, it was very helpful for me, 
i am shamed, that didn't think about it after restricting through this
module incoming mail to some local addresses from non-local domains.

hmmmmmm...
i can't understand yet - what regexp this use: 

[privateaddr.py]
# private_rcpts = { '[email protected]': ['[...@]*@.*washington.edu'],
#                   '[email protected]': '[...@]*@.*washington.edu'],
                                                    ^^^^^^
when i wrote address without beginning with [...@] -- in log i saw fail of
pythonfilter's start

can i insert there include of file, which will be generated by script from
any simple text list? 

like a bash:
. /path/to/list_addresses_wl.txt

or any "[file][include] /path/to/file" implementation ?
)

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

thanks, i thought a long time - why whitelist now doesn't work? 
(when i saw a log, i thought, that my records in whitelisted mail did not
exclude addresses from a filtering).
) 

> but that's not why 
> your scripts are failing.  You're probably on debian or Ubuntu and
> haven't installed python-gdbm. 

yes, debian/lenny, python-gdbm is not installed.

> Since those DBs aren't used, there's no 
> point in spending your time fixing the scripts.

if  internal whitelist now not important - question about failing scripts is
not important too.
)

-- 
__________
mpd status:     [playing]
Nation - Waterloo
**************************************
*  jabber:  [email protected]   *
*   Registered linux user #450844    *
**************************************



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to