Re: Block external emails for groups

hede <[email protected]> Sat, 5 Sep 2020 09:37:47 +0200
Newsgroups gmane.comp.kde.devel.kroupware
Organization der-he.de
Message-ID <20200905093747.17660364__29291.703184002$1599291521$gmane$org@hpusdt4.der-he.de>
On Thu, 3 Sep 2020 15:13:33 -0300 Guilherme Carvalho <[email protected]> wrote:

> Hello, could you find anything about this? i´m really need this option work
> =\

I missed that. But I gave it a try now and had success with the following setup:

 - 
 @domain.tld

See also the screenshot attached for my specific testing example. 

But beware of caching effects. It seems the results get cached within the SQL database. I had to delete such caches manually after changing the values via kolab webadmin [1]:

mysql
use kolab;
DELETE FROM policy_result where recipient='[email protected]';

[1] you probably have to connect to your database with the login data of your pykolab account. you will find those - if not noted otherwise - within the kolab config (/etc/kolab/kolab.conf) -> kolab_smtp_access_policy -> cache_uri ...

The default timeout for the cache is 24 hours (86400 seconds). Without deleting the cached results, changes didn't had any effects for sender-recipient combinations I had tested before the change - obviously... 

btw: I call it a bug if changes to the config do not invalidate the corresponding caches... 

regards
hede
_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users