Niblett, David A wrote:
> 
> Now I have to think about how to delete a user in the future.
> If I didn't want to use the dbmail-users program, is it valid
> for me to or did I miss a step?
> 
> 1) select all the users mailboxes.
> 2) select all the physmessage_id's for that mailbox in dbmail_messages.
> 3) delete all the physmessage_id's from #2

dbmail-users -e username does just that.

> 4) Then I should be able to delete the user and have everything
>    deleted by the cascade.

So:
dbmail-users -e username
dbmail-users -e username

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to