PDA

View Full Version : vpopmail on Gentoo


schism39401
03-16-2004, 01:29 PM
I am having a heck of time getting vpopmail to work on Gentoo. I try to add a domain using vaddomain and this is what I get:vadddomain year26.org
Please enter password for postmaster:
enter password again:
Error: Unable to chdir to vpopmail/domains directory


The permissons for /var/vpopmail/*
total 4
drwxr-xr-x 2 root root 752 Mar 16 11:05 bin
lrwxrwxrwx 1 root root 34 Mar 16 11:05 doc -> /usr/share/doc/vpopmail-5.4.0_rc1/
drwxr-xr-x 2 vpopmail vpopmail 72 Mar 16 11:13 domains
drwxr-xr-x 2 root root 160 Mar 16 11:05 etc
drwxr-xr-x 2 root root 200 Mar 16 11:05 include
drwxr-xr-x 2 vpopmail vpopmail 80 Mar 16 11:05 lib


permissons for /var/
drwxr-xr-x 7 vpopmail vpopmail 192 Mar 16 11:12 vpopmail


I am kinda stuck right now so any help would be greatly appreciated...

update
I haven't changed a thing from when i posted earlier, now when i try to add a domain this is what i get
$vadddomain year26.org
Please enter password for postmaster:
enter password again:
Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file


Now I really have no clue what to do.....

update 2
ok...now the domain has been created apparently...
vdominfo
domain: year26.org
uid: 89
gid: 89
dir: /var/vpopmail/domains/year26.org
users: 0


???????????

update 3
ok so here is what i had to do to make it work. I recompiled vpopmail with
USE="-mysql" emerge vpopmail
but when i ran vdominfo it showed my old domain. When i tried to delete it using vdeldomain i got errors about the domain not existing. So I went to /var/vpopmail/domains and it had nothing in it.

So I created a dir matching my old domain and chown'd to vpopmail:vpopmail and then ran vdeldomain and it deleted it. Now i can add domains and users without any problems.