Changing mailer-daemon distribution list membership
Dieter Kluenter
dieter at dkluenter.de
Wed Jul 20 18:15:33 CEST 2005
Hi,
royce.smallbone at laneend.net writes:
> OK, I'm glad at this stage it isn't something I am doing wrong :)
>
> I don't suppose you can give me the commands to change this from the command
> line?
>
> If I have user.a at domain.ext and want to change it to user.b at domain.ext
Create a file mytmp.ldif
,----[ mytmp.ldif ]
| dn: cn=Mailer-Daemon,dc=yourdomain,dc=tld
| changetype: modify
| replace: member
| member:b at domain.ext
`----
add this file by (command on single line)
/kolab/bin/ldapmodify -x -v -D
"cn=manager,cn=internal,dc=yourdomain,dc=tld" -W -f
/path/to/mytmp.ldif
See man ldapmodify(1) for more information.
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6
More information about the users
mailing list