Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380523 - vchkuser-0.4.ebuild set group nofiles for vchkuser-binary -> vchkuser can't read /etc/vpopmail.conf
Summary: vchkuser-0.4.ebuild set group nofiles for vchkuser-binary -> vchkuser can't r...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Benedikt Böhm (RETIRED)
Depends on:
Reported: 2011-08-24 17:04 UTC by Richard Hering
Modified: 2012-01-29 12:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hering 2011-08-24 17:04:43 UTC
after emerging vpopmail and vchkuser the plugin doesn't work:

vmysql: can't read settings from /var/vpopmail/etc/vpopmail.mysql

the restrictive rights for /etc/vpopmail.mysql set the vpopmail-5.4.33.ebuild

solution: chgrp vpopmail /var/qmail/plugins/vchkuser

then the plugin run fine

Reproducible: Always
Comment 1 Richard Hering 2011-08-24 17:05:52 UTC
Diff for the vchkuser-0.4.ebuild

< 	fowners vpopmail:vpopmail "${QMAIL_HOME}"/plugins/vchkuser
> 	fowners vpopmail:nofiles "${QMAIL_HOME}"/plugins/vchkuser
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2011-08-24 17:58:23 UTC
can you please verify that changing the group also works with vpopmail-5.4.30-r1?
Comment 3 Richard Hering 2011-08-24 21:29:42 UTC
sry, i was too fast. change group will have this effect:

3/6.2/0.12, dsn=4.0.0, status=deferred (host ****.****.**[***.***.***.***] said: 451 qmail-spp failure: plugins/vchkuser: can't execute (#4.3.0) (in reply to RCPT TO command))

local test gone fine as root

i did now a chmod o+r /etc/vpopmail.conf to get the plugin working. don't know how to set the rights of /var/qmail/plugins/vchkuser to get it working with vpopmail.conf without readrights for other. any hints?
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2012-01-29 12:50:02 UTC
i just realized that you are using mysql with vpopmail, which causes all sorts of permission problems. i'm afraid vchkuser is not supported without relaxing permissions as you did it. it was never tested against a mysql setup in the first place ...