Hi again, I have one question left open with using amavis bound to ldap:
I do not have a @local_domains_maps, because amavisLocal is used in the ldap-objects of any user. If I understood it correctly, the policy bank MYUSERS is only used, if the domain was found in this map which I do not have. Therefor I can not override default values for recognized users. Please see: @mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 ); ... $policy_bank{'MYUSERS'} = { # mail originating from our users spam_admin_maps => ["spamale...@mx0.roessner-net.de"], # warn of spam from us virus_admin_maps => ["virusale...@mx0.roessner-net.de"], final_virus_destiny => D_BOUNCE, # (unless in viruses_that_fake_sender_maps) final_spam_destiny => D_BOUNCE, # (unless above spam_dsn_cutoff_level_maps) spam_kill_level_maps => [7.5], spam_dsn_cutoff_level_maps => [15], spam_quarantine_cutoff_level_maps => undef, # quarantine all spam virus_quarantine_method => 'local:virus/%m.gz', spam_quarantine_method => 'local:spam/%m.gz', }; ... $enable_ldap = 1; $default_ldap = { hostname => [ 'ldap://10.1.0.3:389' ], timeout => 120, tls => 0, base => 'ou=users,ou=people,dc=roessner-net,dc=de', scope => 'one', bind_dn => 'cn=proxyuser,dc=roessner-net,dc=de', bind_password => '*********', query_filter => '(&(objectClass=CourierMailAccount)(uid=%m))', }; ... $sa_tag_level_deflt = undef; $sa_tag2_level_deflt = 6.31; $sa_kill_level_deflt = 6.31; $sa_dsn_cutoff_level = 10.0; # Do not send DSN beyond this level (D_DISCARD) $sa_spam_subject_tag = undef; $sa_quarantine_cutoff_level = 15.0; LDAP is working. I know that, because I have overriden amavisSpamKillLevel with 3.6 and amavisSpamTag2Level with 2.5 for my own account. The mail log is showing that a sasl-authed user is _not_ put to policy-bank MYUSERS. I use amavis version: 2.6.1 from Ubuntu intrepid distribution. Any help is really welcome. And if I forgot it to say: I really like this project. You developers are really great!! Kind regards Christian -- Roessner Network Solutions (R.N.S.) Licher Str. 19a, 35394 Gießen Telefon: +49 641 5879091, Mobil: +49 176 78168371 USt-IdNr.: DE225643613 URL: http://www.roessner-net.com/ PGP: http://www.roessner-net.com/0x6B929997.asc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/