Hi,
vpopmail works fine under normal circumstances, except for when I add a domain
with a different user as in:
vadddomain -u mike4 test10.com 123
I am doing this in order to enable os quotas for the entire domain. Testing
sending a simple message fails with
@400000004b13d1b11ddaad64 status: local 1/10 remote
0/1...@400000004b13d1b11dee394c delivery 7: deferral:
/bin/sh:_/usr/local/hcp/vpopmail/bin/vdelivermail:_Permission_denied/@400000004b13d1b11dee4504
status: local 0/10 remote 0/120
I read a previous message saying I had to add the user (mike4) to the vchkpw
group, which I did, but I am still get the error. The The permissions for mike4
domains are:
[r...@vmfc12 qmail-smtpd]# ls /home/mike4/domains/ -lhtotal 12Kdrwx------ 3
mike4 mike4 4.0K 2009-11-30 02:51 test10.comdrwx------ 3 mike4 mike4 4.0K
2009-11-30 14:31 test11.comdrwx------ 3 mike4 mike4 4.0K 2009-11-30 01:36
test9.com
The permissions on vpopmail are:
[r...@vmfc12 qmail-smtpd]# ls /usr/local/hcp/vpopmail/ -lhtotal 24Kdrwxr-xr-x 2
vpopmail vchkpw 4.0K 2009-11-30 02:50 bindrwxr-xr-x 4 vpopmail vchkpw 4.0K
2009-11-25 03:10 docdrwx------ 8 vpopmail vchkpw 4.0K 2009-11-30 14:48
domainsdrwxr-xr-x 2 vpopmail vchkpw 4.0K 2009-11-30 01:50 etcdrwxr-xr-x 2
vpopmail vchkpw 4.0K 2009-11-30 02:50 includedrwxr-xr-x 2 vpopmail vchkpw 4.0K
2009-11-30 02:50 lib
[r...@vmfc12 qmail-smtpd]# ls /usr/local/hcp/vpopmail/etc -lhtotal
32K-rw-r--r-- 1 root root 34 2009-11-30 02:50 inc_deps-rw-r--r-- 1 root
root 126 2009-11-30 02:50 lib_deps-rw-r--r-- 1 root root 26
2009-11-28 02:23 tcp.smtp-rw-r--r-- 1 vpopmail vchkpw 2.2K 2009-11-30 01:50
tcp.smtp.cdb-rw-r--r-- 1 vpopmail vchkpw 1.2K 2009-11-28 00:29
vlimits.default-rw-r----- 1 vpopmail vchkpw 34 2009-11-29 16:16
vpopmail.mysql-rw-r--r-- 1 vpopmail vchkpw 1.1K 2009-11-25 03:10
vusagec.conf-rw-r--r-- 1 root root 2.4K 2009-11-25 03:11 vusaged.conf
The qmail-smtp run file is:
[r...@vmfc12 qmail-smtpd]# cat run#!/bin/shQMAILDUID=`id -u
vpopmail`NOFILESGID=`id -g vpopmail`MAXSMTPD=`cat
/usr/local/hcp/var/qmail/control/concurrencyincoming`LOCAL=`head -1
/usr/local/hcp/var/qmail/control/me`if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o
-z "$MAXSMTPD" -o -z "$LOCAL" ]; thenecho QMAILDUID, NOFILESGID, MAXSMTPD, or
LOCAL is unset inecho /usr/local/hcp/var/qmail/supervise/qmail-smtpd/runexit
1fiif [ ! -f /usr/local/hcp/var/qmail/control/rcpthosts ]; thenecho "No
/usr/local/hcp/var/qmail/control/rcpthosts!"echo "Refusing to start SMTP
listener because it'll create an open relay"exit 1fiexec
/usr/local/bin/softlimit -m 30000000 \/usr/local/bin/tcpserver -v -R -l
"$LOCAL" -x /usr/local/hcp/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \-u
"$QMAILDUID" -g "$NOFILESGID" 0 smtp \/usr/local/hcp/var/qmail/bin/qmail-smtpd
localhost \/usr/local/hcp/vpopmail/bin/vchkpw /usr/bin/true 2>&1
I am at wits end. What am I missing? Please help someone.
Many thanks,Michael.
_________________________________________________________________
Got more than one Hotmail account? Save time by linking them together
http://clk.atdmt.com/UKM/go/186394591/direct/01/
!DSPAM:4b13d3c232711464012663!