From: Steffen H. <st...@kl...> - 2005-02-02 13:35:49
|
Hi Sorry to be repeating myself, but I got no response at all first time I=20 sent this. We use amavis in the Kolab server (http://www.kolab.org) and=20 need the ability to use different configurations depending on whether=20 the sender is a local user or not (we have rules in postfix that make=20 sure addresses within our own domain can't be forged). I've read the docs some more and it seems that the current way to do=20 this is to have amavisd listen on two different ports and use postfix=20 header filters or similar to determine if the message should be sent to=20 one or the other of the amavisd ports. We have plenty of filters etc. already, so instead I added a few lines=20 to amavisd to support a new built-in policy bank MYUSERS (just like the=20 existing MYNETS) that kicks in when the sender domain is in=20 local_domains_maps. Patch is attached. Any chance this (or even a more general solution) would be accepted into=20 amavisd? It would make future maintainence of Kolab easier for sure :-) thanks =2D-=20 Steffen Hansen | Klar=E4lvdalens Datakonsult AB Senior Software Engineer| http://www.klaralvdalens-datakonsult.se | | Platform-independent | software solutions |