Possible workaround(s) for mail user temporary suspension?

Gunnar Wrobel wrobel at pardus.de
Sat Nov 29 23:07:16 CET 2008


Quoting Christian Rößler <Roessler at FuH-E.de>:

> Christian Rößler schrieb:
>
>> Alain Spineux schrieb:
>>>>>> I was searching for a possibility to suspend an user account (mail
>>>>> What do you means by suspend ?
>>>>> Able to read his mail but not eable to send ?
>>>>> Even not ebale to access his mailbox ?
>>>>> Email sent to him should bounce ?
>>>> Well, I just need the 'suspended' user to stay in the LDAP tree for the
>>>> posixAccount, also for the nss-ldap in the intranet, and as
>>>> documentation that the user once existed.
>>> You can remove all the Kolab's related objectClass and their attributes.
>>> Then these cleaned entry will be ignored by postfix and probably by
>>> the weba admin interface too. I dont know if any tools exist for this.
>> I also have not found any tools for this. [...] Well, I had just the same
>  > thoughts, so for trying it out I wrote a shell script that reads a given
>  > user entry, strips each Kolab related entry and object class from it and
>  > writes the Kolab related entries into an LDAP archive branch.
>
> Well, me again - funny answering my own mail.
>
> I have written three scripts (a wrapper script for deciding, a disabling
> script, an enabling script) for disabling and re-enabling users, and
> they are functioning so far. If someone would deem them useful for,
> perhaps, expanding them or using them as a base for writing better ones,
> I would gladly share them here.

As you mentioned there is a bug already requesting such a feature I'd  
suggest you attach the scripts there. We are very happy about any such  
contribution!

The Wiki might also be a good place for things like this.

Cheers,

Gunnar

>
> But they were written quickly yesterday, and surely they have a lot of
> potential for optimizing, and a bit more debugging.
>
> Best regards, Christian
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20081129/178b517b/attachment.sig>


More information about the users mailing list