On Wednesday 26 March 2003 11:07, Matt wrote:
> Ok,
> so it will look at the value for "username" in the /users/domain/ and
> then see if the corosponding value for that user is found in the ldap?
> Last thing then... what value are you looking for in ldap.. Im' not
> seeing it... I need to change that to match what my directories are
> named after (I would assume)

Right. It formulates the value to search based on directory location (domain) 
and mailbox name (front part of email address).

filter => "([EMAIL PROTECTED])"

So it's search the cn for [EMAIL PROTECTED] You would just need to change 
that to whatever attribute corresponds to your mailboxes.

filter => "(x500uniqueIdentifier=$mailbox)"

Something like that. I would definitely comment out the system command that 
runs rm on the directory and uncomment some of those print statements to see 
if it works.
-- 
Brendon Colby
Systems Administrator
Midcontinent Communications

Reply via email to