Jonathan Edwards wrote:
>
> I installed vpopmail for the first time and found everything to be working
> correctly, but realized that I wanted it installed at a different place on
> our server so I simply reinstalled it to the new location. However, now it
> does not work. When I try to 'vadddomain', I get: 'Error: Unable to chdir to
> vpopmail/domains/domain directory' I think the problem is that there are
> still some files existing that contain the path to vpopmail's 'old' home
> directory. I looked in /var/qmail/users/ and sure enough the 'assign' and
> 'cdb' files contained references to the vpopmail's 'old' home directory. I
> deleted these files and created new ones using 'qmail-pw2u' and 'qmail-newu'
> but I still get the same error when using 'vadddomain' I'm thinking that I
> just want to start over, if possible. Does anyone know how I can completely
> 'uninstall' vpopmail and then reinstall from scratch? Do you think this will
> fix my problem?
>
> Thanks for any help
>
> Jon
Good FAQ question.
29. How can I uninstall vpopmail?
On Gnu/Linux type systems as root:
# userdel -r vpopmail
# groupdel vchkpw
Done
Ken Jones