amavisd stopped working after updating Gentto perl modules

Christian Rößner cr at sys4.de
Sat Jun 1 11:54:01 CEST 2013


> This is the part of amavisd which was working perfectly:
> 
> $enable_ldap = 1;
> $default_ldap = {
>  hostname      => [ 'ldap://db.roessner-net.de' ],
>  tls           => 1,
>  base          => 'ou=people,ou=it,dc=roessner-net,dc=de',
>  scope         => 'sub',
>  verify        => 'require',
>  clientcert    => '/etc/ssl/certs/mx0.roessner-net.de.pem',
>  clientkey     => '/etc/ssl/private/mx0.roessner-net.de.key.pem',
>  cafile        => '/etc/ssl/certs/ca-certificates.crt',
>  sasl          => 1,
>  sasl_mech     => 'EXTERNAL',
>  query_filter  => '(&(objectClass=rnsMSPostfixAccount)(rnsMSRecipientAddress=%m))',
> };
> 
I don't know why, but I changed my config to this:

$enable_ldap = 1;
$default_ldap = { 
  hostname      => [ 'db.roessner-net.de' ],
  scheme        => 'ldap',
  version       => 3,
  localaddr     => '193.239.107.41',
  inet6         => 0,
  tls           => 1,
  base          => 'ou=people,ou=it,dc=roessner-net,dc=de',
  scope         => 'sub',
  verify        => 'require',
  clientcert    => '/etc/ssl/certs/mx0.roessner-net.de.pem',
  clientkey     => '/etc/ssl/private/mx0.roessner-net.de.key.pem',
  cafile        => '/etc/ssl/certs/ca-certificates.crt',
  sasl          => 1,
  sasl_mech     => 'EXTERNAL',
  query_filter  => '(&(objectClass=rnsMSPostfixAccount)(rnsMSRecipientAddress=%m))',
};

and now it works again. What could have changed here?

-Christian Rößner

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein



More information about the amavis-users mailing list