Skip to Content.
Sympa Menu

en - Re: [sympa-users] postfix ldap and sympa-owner alias

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Alar Sing <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] postfix ldap and sympa-owner alias
  • Date: Thu, 24 Jul 2008 10:27:57 +0300



David Verdin wrote:
You should elaborate a little. What exactly is your problem? What exactly do you mean by "configure all sympa aliases to use LDAP"? What version of Sympa do you use ? Hos do your aliases files look like?
We need some details if you want some help.

I'm using postfix 2.4.5 and sympa 5.4.3
Aliases are like in attached ou=Lists.ldif file.
In postfix master.cf:
sympa unix - n n - - pipe flags=R user=wwwrun argv=/usr/bin/queue ${recipient}
sympabounce unix - n n - - pipe flags=R user=wwwrun argv=/usr/bin/bouncequeue ${recipient}

In main.cf there are transport_maps = ldap:/etc/postfix/ldapsympatran.cf
server_host = ldap://127.0.0.1:389
search_base = dc=err,dc=ee
query_filter = (&(|(mail=%s)(alias=%s))(objectClass=sympa)(sympaDelivery=sympa*))
result_attribute = sympaDelivery
search_timeout = 15
scope = sub
bind = yes
version = 3


In log file I see this error
Jul 24 10:27:15 mail-clu2 bounced[9489]: List::new() Incorrect name: listname "test-owner" matches one of service aliases
Jul 24 10:27:15 mail-clu2 bounced[9489]: Skipping bouncefile address@concealed for unknown list address@concealed

And
And this contains

Regards,

Alar Sing a écrit :
Hello,

I have managed to configure all sympa aliases to use ldap. Now I have problem with -owner alias. To somebody use LDAP aliases and how did you get it working?


version: 1

# LDIF Export for: ou=Lists,dc=err,dc=ee
# Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on July
24, 2008 10:20 am
# Server: ERR (localhost)
# Search Scope: one
# Search Filter: (cn=test*)
# Total Entries: 5

# Entry 1: cn=test,ou=Lists,dc=err,dc=ee
dn: cn=test,ou=Lists,dc=err,dc=ee
uid: test
sympaDelivery: sympa
cn: test
sn: test
mail: address@concealed
objectClass: top
objectClass: inetOrgPerson
objectClass: sympa

# Entry 2: cn=test-request,ou=Lists,dc=err,dc=ee
dn: cn=test-request,ou=Lists,dc=err,dc=ee
uid: test-request
sympaDelivery: sympa
cn: test-request
sn: test-request
objectClass: top
objectClass: inetOrgPerson
objectClass: sympa
objectClass: kolabInetOrgPerson
mail: address@concealed

# Entry 3: cn=test-editor,ou=Lists,dc=err,dc=ee
dn: cn=test-editor,ou=Lists,dc=err,dc=ee
uid: test-editor
sympaDelivery: sympa
cn: test-editor
sn: test-editor
objectClass: top
objectClass: inetOrgPerson
objectClass: sympa
objectClass: kolabInetOrgPerson
mail: address@concealed

# Entry 4: cn=test-unsubscribe,ou=Lists,dc=err,dc=ee
dn: cn=test-unsubscribe,ou=Lists,dc=err,dc=ee
uid: test-unsubscribe
sympaDelivery: sympa
cn: test-unsubscribe
sn: test-unsubscribe
objectClass: top
objectClass: inetOrgPerson
objectClass: sympa
objectClass: kolabInetOrgPerson
mail: address@concealed

# Entry 5: cn=test-owner,ou=Lists,dc=err,dc=ee
dn: cn=test-owner,ou=Lists,dc=err,dc=ee
uid: test-owner
sympaDelivery: sympabounce
cn: test-owner
sn: test-owner
mail: address@concealed
title: address@concealed
objectClass: top
objectClass: inetOrgPerson
objectClass: sympa




Archive powered by MHonArc 2.6.19+.

Top of Page