From 9bd0b8f78985660f3a00eff43ff9faa2505712af Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Mon, 14 Dec 1998 20:55:59 +0000
Subject: [PATCH] Import mail500 change from rel eng 1.1.

---
 clients/mail500/main.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/clients/mail500/main.c b/clients/mail500/main.c
index b147908db6..3c4bb7529b 100644
--- a/clients/mail500/main.c
+++ b/clients/mail500/main.c
@@ -105,20 +105,20 @@ typedef struct baseinfo {
 				/* (up to three of them) */
 } Base;
 
-Base	base[] = 
-	{ "ou=People, o=University of Michigan, c=US",
+Base	base[] = {
+	{"ou=People, dc=OpenLDAP, dc=org",
 		0, USER,
-		"uid=%s", "cn=%s", NULL,
-	  "ou=System Groups, ou=Groups, o=University of Michigan, c=US",
+		{"uid=%s", "cn=%s", NULL}},
+	{"ou=System Groups, ou=Groups, dc=OpenLDAP, dc=org",
 		1, 0xff,
-		"(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
-	  "ou=User Groups, ou=Groups, o=University of Michigan, c=US",
+		{"(&(cn=%s)(associatedDomain=%h))", NULL, NULL}},
+	{"ou=User Groups, ou=Groups, dc=OpenLDAP, dc=org",
 		1, 0xff,
-		"(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
-	  NULL
-	};
+		{"(&(cn=%s)(associatedDomain=%h))", NULL, NULL}},
+	NULL
+};
 
-char	*sendmailargs[] = { MAIL500_SENDMAIL, "-oMrX.500", "-odi", "-oi", "-f", NULL, NULL };
+char	*sendmailargs[] = { MAIL500_SENDMAIL, "-oMrLDAP", "-odi", "-oi", "-f", NULL, NULL };
 
 static char	*attrs[] = { "objectClass", "title", "postaladdress",
 			"telephoneNumber", "mail", "description", "owner",
-- 
GitLab