Christian,

> I finally got it working. It MUST require Authen:SASL::XS here. I did
> not have this plugin installed and it was falling back to use
> Authen::SASL::Perl, which does not work. And it needs one little fix:
> 
> --- ../src/amavisd-new-2.7.0-pre13/amavisd    2011-01-25 20:19:09.000000000
> +0100
> +++ amavisd   2011-01-26 11:48:39.000000000 +0100
> @@ -16770,7 +16770,7 @@
>          do_log(3,"connect_to_ldap: TLS version %s enabled", $mesg);
>        }
>      }
> -    if ($self->{bind_dn}) {  # bind required
> +    if ($self->{bind_dn} or $self->{sasl}) {  # bind required
>        my($sasl);
>        my($passw) = $self->{bind_password};
>        if ($self->{sasl}) {  # using SASL to authenticate?
> 
> Else amavisd never binds, if using sasl. I only tested with
> SASL/EXTERNAL.

Congratulations for making it work!  Will incorporate that fix.
Thanks for making SASL and SSL/certs work with LDAP
and for testing!

  Mark

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to