Hi!

Check wheter the properties of the qmailadminare correct:

-rwsr-sr-x 1 vpopmail vchkpw 148680 Jul 31 16:32 
/usr/share/qmailadmin/qmailadmin

Good luck, Johannes



Mitja Pirih wrote:
Hello,


I searched through the mailing lists and did not find a solution to my
problem. In the apache log I am getting:
vmysql: can't read settings from /home/vpopmail/etc/vpopmail.mysql


Vpopmail looks fully operational in cmd and it can connect to mysql, so
should not be related to permissions.

# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name: postmaster
passwd: $1$XXXXXXXXXXXXX
clear passwd: hello
comment/gecos: Postmaster
uid: 0
gid: 0
flags: 0
gecos: Postmaster
limits: No user limits set.
dir: /home/vpopmail/domains/xxxx.yy/postmaster
quota: NOQUOTA
usage: NOQUOTA
account created: Thu Aug 7 14:24:36 2008
last auth: Never logged in


mount:
/dev/raid0a on / type ffs (local)
/dev/raid0f on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/raid0g on /usr type ffs (local, nodev, softdep)
/dev/raid0d on /var type ffs (local, nodev, nosuid, softdep)
/dev/raid0e on /var/log type ffs (local, nodev, nosuid, softdep)
/dev/raid1a on /var/mysql type ffs (local, nodev, nosuid, softdep)
/dev/raid1d on /var/www/webpages type ffs (local, nodev, softdep)
/dev/raid1e on /var/qmail type ffs (local, nodev, softdep)


vpopmail home dir is in /var/qmail/vpopmail and symlinked to
/home/vpopmail.


# userinfo vpopmail
login vpopmail
passwd *************
uid 98
groups vchkpw
change NEVER
class
gecos
dir /home/vpopmail
shell /bin/ksh
expire NEVER

Permissions on:
# ls -l /home/vpopmail/etc/vpopmail.mysql
-rw-r----- 1 vpopmail vchkpw 45 Aug 7 14:01
/home/vpopmail/etc/vpopmail.mysql


# cat /home/vpopmail/etc/vpopmail.mysql
localhost|0|vpopmailuser|vpoppasswd|vpopmail


# mysql -h localhost -u vpopmailuser -pvpoppasswd vpopmail
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.51a-log OpenBSD port: mysql-server-5.0.51a

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit
Bye



Any ideas what to check?

Other details:
-OS OpenBSD 4.3-stable
-mysql 5.0.51a
-php5-core-5.2.5p2
-vpopmail-5.4.18
-netqmail-1.05
-qmailadmin-1.2.1
-vpopmail-5.4.18


As I can see, the problem would be between apache and executing
qmailadmin/vpopmail as apache user. Or I am missing the right direction?





--


|---------------------------------
|  weberhofer GmbH               | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|
|  Firmenbuch: 225566s, Handelsgericht Wien
|  UID: ATU55277701
|
|  phone : +43 (0)1 5454421 0    | email: [EMAIL PROTECTED]
|  fax   : +43 (0)1 5454421 19   | web  : http://weberhofer.at
|  mobile: +43 (0)699 11998315
|----------------------------------------------------------->>

!DSPAM:489b124c32311597711799!

Reply via email to