|
From var: drwxr-xr-x 8 vpopmail vchkpw 4096 Feb
23 21:21 vpopmail From /var/vpopmail: drwxr-xr-x 2 vpopmail vchkpw 4096 Apr
13 08:37 bin drwxr-xr-x 4 vpopmail vchkpw 4096 Feb
23 21:04 doc drwx------ 809 vpopmail vchkpw 81920 Apr
12 11:41 domains drwxr-xr-x 2 vpopmail vchkpw 4096 Apr
13 10:03 etc drwxr-xr-x 2 vpopmail vchkpw 4096 Apr
13 08:37 include drwxr-xr-x 2 vpopmail vchkpw 4096 Apr
13 08:37 lib From /var/vpopmail/etc: -rw-r--r-- 1 vpopmail vchkpw 24 Apr
13 08:37 inc_deps -rw-r--r-- 1 vpopmail vchkpw 80 Apr
13 08:37 lib_deps -rw-r--r-- 1 vpopmail vchkpw 1861 Apr
11 13:31 tcp.smtp -rw-r--r-- 1 vpopmail vchkpw 135371 Apr
13 10:03 tcp.smtp.cdb -rw-r--r-- 1 vpopmail vchkpw 1107 Feb
23 21:04 vlimits.default -rw-r----- 1 vpopmail vchkpw 88 Apr
1 09:26 vpopmail.mysql From: matt
[mailto:[EMAIL PROTECTED] >Hi all, >I’m building a server to replace an
existing mail server that’s being retired. >I’ve built qmail (net-qmail)
following the “Life with Qmail” guide and maildir format >I’ve added vpopmail 5.4.10 with
mysql - without issue, and configured domains from the command line >I’ve installed and configured
vqadmin-2.3.2
and had no problems creating/removing domains from the web
interface, using the cgi scripts. >I’ve now just installed and
configured qmailadmin 1.2.3. All built ok, and the
configure script showed the correct UID/GID for >vpopmail / vchkpw. However when I try to login as
postmaster for any of the domains hosted on the new machine, I get
>“invalid login” as
though I had entered the wrong password (which I’ve not) >The apache error log is showing
>vmysql: sql error[3]: MySQL server
has gone away >or >vmysql: can't read settings from
/home/vpopmail/etc/vpopmail.mysql >Mysql is running fine, and if I
connect on the command line just using mysql as the vpopmail user, all is well.
If I add a user using the vpopmail binaries, all works. If I add a
user/domain usering the vqadmin web admin – all is well, just
qmailadmin >The permissions on my
/home/vpopmail/etc/vpopmail.mysql looks like this >-rw-r----- 1 vpopmail
vchkpw 36 2005-04-10 19:40 /home/vpopmail/etc/vpopmail.mysql >Which looks good, and the root of
the ~vpopmail is locked down tight >drwx------ 8
vpopmail vchkpw 4096 2005-04-10 19:45 vpopmail >The permissions on the cgi script
for qmailadmin look like this >[EMAIL PROTECTED]:/usr/local/apache/cgi-bin#
ls -la >total 312 >drwxr-xr-x 3
root root 4096
2005-04-11 02:36 . >drwxr-xr-x 13
root root 4096
2005-04-10 22:21 .. >-rwxr-xr-x 1
root root 268
2005-04-10 22:07 printenv >-rwsr-sr-x 1
vpopmail vchkpw 294906 2005-04-11 02:36 qmailadmin >-rwxr-xr-x 1
root root 757
2005-04-10 22:07 test-cgi >drwxr-xr-x 3
vpopmail vchkpw 4096 2005-04-11 02:36 vqadmin >and the permissions on the working
vqadmin look like this >[EMAIL PROTECTED]:/usr/local/apache/cgi-bin#
ls -la vqadmin/ >total 108 >drwxr-xr-x 3 vpopmail
vchkpw 4096 2005-04-11 02:36 . >drwxr-xr-x 3
root root 4096 2005-04-11
02:36 .. >-rw-r--r-- 1
nobody root 114 2005-04-11
02:36 .htaccess >drwxr-xr-x 2 vpopmail
vchkpw 4096 2005-04-11 02:36 html >-rw-r--r-- 1 vpopmail
vchkpw 864 2005-04-11 02:36 vqadmin.acl >-rwsr-sr-x 1
root root 83624 2005-04-11
02:36 vqadmin.cgi >Now these permissions all look fine
to me, vpopmail/mysql/vqadmin is working, so why can’t qmailadmin connect to
mysql >and do its thing ? >Thanks, >Matt >(sorry for the long email, but
thought I’d include appropriate detail) Well, I’m getting no-where fast with this. Could someone send me the default and correct permissions for the vpopmail home dir and subdir’s I’m almost
certain mine are correct and this is not a permissions error, but as I’m
getting no-where and I can’t find anyone else suffering with this problem I’ll
have to start somewhere. Thanks, Matt
-- |
Title: RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail.mysql
- [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail.mysql matt
- RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... matt
- Re: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... White, Brad
- Re: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... Tom Collins
- RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... White, Brad
- RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... White, Brad
- RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail... White, Brad
