Subject: The mailing list for listmasters using Sympa
List archive
- From: Robert Beer <address@concealed>
- To: address@concealed
- Subject: [sympa-users] ldap_alias_manager.pl patch
- Date: Thu, 6 Mar 2014 15:20:47 -0500
Here is a patch for the ldap_alias_manager.pl:
diff -u /usr/share/sympa/bin/ldap_alias_manager.pl{,.orig}
--- /usr/share/sympa/bin/ldap_alias_manager.pl 2014-03-06 14:20:21.791647177
-0500
+++ /usr/share/sympa/bin/ldap_alias_manager.pl.orig 2014-02-05
10:17:19.000000000 -0500
@@ -77,7 +77,6 @@
$data{'default_domain'} = $default_domain;
$data{'ldap_base_dn'} = $ldap_base_dn;
$data{'is_default_domain'} = 1 if ($domain eq $default_domain);
-$data{'return_path_suffix'} = &Conf::get_robot_conf($domain,
'return_path_suffix');
my @aliases ;
my $tt2_include_path = [$Conf{'etc'}.'/'.$domain,
@@ -214,7 +213,7 @@
&initialize_ldap;
foreach my $alias (@aliases) {
-
+
$alias =~ /^([^\s:]+)[\s:]/;
my $source_result = $ldap_connection->search(filter =>
"(".$ldap_mail_attribute."=".$1."\@".$domain.")",
This corrects the missing -owner alias which was resulting in a "Can’t create
entry…” message because the final pass would create the same alias as the
listname (missing the -owner.
--
Bob Beer <address@concealed>
Ohio Northern University, Information Technology, Ada, OH 45810
- [sympa-users] ldap_alias_manager.pl patch, Robert Beer, 03/06/2014
Archive powered by MHonArc 2.6.19+.