| To: | mail problems <qmail-ldap@qmail-ldap.org> |
|---|---|
| Subject: | Re: Qmail-ldap |
| From: | amandeep singh <amandeep_rattan@yahoo.com> |
| Date: | Mon, 7 May 2007 02:37:40 -0700 (PDT) |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | qmail-ldap-list@securepoint.com |
| Delivered-to: | mailing list qmail-ldap@qmail-ldap.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=GxmmwG2cKkNdeYSI3D5WjcCFgZLGXXJmw6BsRkal6p8vPWz+4HbxRTdQO1XKfSC01Xnn990BmxAqM9oqLX28unuZPC7BR0ntk7JQ6zJpa/FC1ANlQJVTURb1FXXrgAZ9OnFhECNFY1xympZNOfDzKfVkJT6Wo4Go3x2R+1D3j1M=; |
| In-reply-to: | <20070507063358.GA25263@diehard.n-r-g.com> |
| Mailing-list: | contact qmail-ldap-help@qmail-ldap.org; run by ezmlm |
|
These are the permissions i have for envdir and env directory . [root@mymail ~]# ls -l admin/daemontools/command/ total 208 -rwxr-xr-x 1 root root 15472 May 7 12:48 envdir -rwxr-xr-x 1 root root 12016 May 7 12:48 envuidgid -rwxr-xr-x 1 root root 11404 May 7 12:48 fghack -rwxr-xr-x 1 root root 22464 May 7 12:48 multilog -rwxr-xr-x 1 root root 10988 May 7 12:48 pgrphack -rwxr-xr-x 1 root root 3252 May 7 12:48 readproctitle -rwxr-xr-x 1 root root 11972 May 7 12:48 setlock -rwxr-xr-x 1 root root 11116 May 7 12:48 setuidgid -rwxr-xr-x 1 root root 15280 May 7 12:48 softlimit -rwxr-xr-x 1 root root 15736 May 7 12:48 supervise -rwxr-xr-x 1 root root 10948 May 7 12:48 svc -rwxr-xr-x 1 root root 8572 May 7 12:48 svok -rwxr-xr-x 1 root root 15304 May 7 12:48 svscan -r-xr-xr-x 1 root root 740 May 7 12:48 svscanboot -rwxr-xr-x 1 root root 10836 May 7 12:48 svstat -rwxr-xr-x 1 root root 6552 May 7 12:48 tai64n -rwxr-xr-x 1 root root 6588 May 7 12:48 tai64nlocal these are the permissions i have for "envdir" and my /var/qmail/service/smtpd/run file is #!/bin/sh exec 2>&1 \ envdir ./env \ sh -c ' case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+"-d$DATALIMIT"} \ /usr/local/bin/tcpserver \ -vDU"$H$R" \ ${LOCALNAME+"-l$LOCALNAME"} \ ${BACKLOG+"-b$BACKLOG"} \ ${CONCURRENCY+"-c$CONCURRENCY"} \ -xtcp.cdb \ -- "${IP-0}" "${PORT-25}" \ /var/qmail/bin/qmail-smtpd permissions for /var [root@mymail ~]# ls -l /var/qmail/service/smtpd/ total 24 -rwxr-xr-x 1 root root 164 May 7 13:14 add-relayclient drwxr-sr-x 2 root root 4096 May 7 13:14 env drwxr-sr-x 5 root root 4096 May 7 13:14 log -rw-r--r-- 1 root root 75 May 7 13:14 Makefile -rwxr-xr-x 1 root root 468 May 7 13:14 run drwx--S--- 2 root root 4096 May 7 13:14 supervise -rw-r--r-- 1 root root 0 May 7 13:14 tcp and [root@mymail ~]# ls -l /var/qmail/service/smtpd/env/ total 16 -rw-r--r-- 1 root root 0 May 7 13:14 BACKLOG -rw-r--r-- 1 root root 0 May 7 13:14 CONCURRENCY -rw-r--r-- 1 root root 7 May 7 13:14 DATALIMIT -rw-r--r-- 1 root root 2 May 7 13:14 IP -rw-r--r-- 1 root root 10 May 7 13:14 LOCALNAME -rw-r--r-- 1 root root 3 May 7 13:14 PORT -rw-r--r-- 1 root root 0 May 7 13:14 REMOTEINFO -rw-r--r-- 1 root root 0 May 7 13:14 REMOTENAME and the error is
root 4534 0.0 0.0 1408 264 ? S 12:48 0:00 readproctitle service errors: ...dir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied?setuidgid: fatal: unable to run envdir: access denied? what can the problem Claudio Jeker <jeker@n-r-g.com> wrote: On Sun, May 06, 2007 at 10:52:57PM -0700, amandeep singh wrote: If you don't like my opinion of you - improve yourself! AMAN
Ahhh...imagining that irresistible "new car" smell? Check out new cars at Yahoo! Autos. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Qmail-ldap, Claudio Jeker |
|---|---|
| Next by Date: | Re: Qmail-ldap, amandeep singh |
| Previous by Thread: | Re: Qmail-ldap, Claudio Jeker |
| Next by Thread: | Re: Qmail-ldap, amandeep singh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |