Deleting / Removing users

John Krug
Wed, 02 Mar 2016 20:27:30 -0000

Thank you, sir. Sounds easy enough.
To complicate issues, I have two-way dsync running between two servers.  Since
the index log files are used to track deleted mails (yes?), do I need to worry
about replication trying to bring things back?

Can I just rm the users files from each server and be OK?

Thanks again,
JK




-----------------------------------------------------------------------
John "JK" Krug
System Administrator
The University of Chicago | Laboratory Schools
1362 East 59th Street  |  Chicago, IL  60637
Phone: (773) 834-4476
jk at ucls.uchicago.edu <mailto:jkallo at ucls.uchicago.edu> |
http://helpdesk.ucls.uchicago.edu
_______________________________________________

> On Feb 25, 2016, at 1:16 AM, Steffen Kaiser <skdovecot at
smail.inf.fh-brs.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 24 Feb 2016, John Krug wrote:
>
>> i have a list of users that I?ve removed from LDAP and I want to delete
their mail storage.
>>
>> sdbox
>> Dovecot 2.2.15.8
>>
>> I have mail messages in one location and indexes in another. Should I
just
>> rm -rf /messages/<username>
>> rm -rf /indexes/<username>
>
> if that's where the mail_location points to. Also check out the home
directory of eash user.
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEVAwUBVs6qRnz1H7kL/d9rAQL8Hgf/fNlN1fuggq2eABGDrn6sv43+VE0geAXn
> U3oMoQF8ABItuOU7kMagDwY7n+K35ZFY/b2sddZ3kc4eKLORRxUzrN3orl1+H9jl
> bkqjeDmF7PazKd1lFtfCZpgjCT/UM6MQPn8Lxm4TaL+2tV50Gm//Og7PdeQ5N7UO
> YQcWvYLQOVgkY8vbqhNTnp0QFlfttHT+oFT+Kp3mDj3GQ2Mg7nMSKFZAeanaX2Qd
> XTSgsKtX9yaoG/E76o/2dvtW8jh0RS1OhX9oDaboFIsKj4OkI7ahaAxwmB6jZxX7
> pnnrOZzKMEDO8S7MmjtyWmG0MGIzzWwKfYSI/5mOpT3rkphHjihpwA=> =WH5K
> -----END PGP SIGNATURE-----