From owner-freebsd-newbies Tue Sep 19 7: 3:45 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from smtp1b.mail.yahoo.com (smtp3.mail.yahoo.com [128.11.68.135]) by hub.freebsd.org (Postfix) with SMTP id 5328137B42C for ; Tue, 19 Sep 2000 07:03:36 -0700 (PDT) Received: from host126.sage-consult.com (HELO pricli012) (208.201.118.126) by smtp.mail.vip.suc.yahoo.com with SMTP; 19 Sep 2000 14:03:34 -0000 X-Apparently-From: Message-ID: <010701c02242$8d328c60$4c00000a@sage> From: "Rossen Raykov" To: "Jonel Rienton" , , , , References: <00c801c021a7$bdf810e0$4c00000a@sage> <01bc01c021dc$04ae2fe0$17161d0a@jonelrienton.org> Subject: Re: Problems with qmail (1.03) on FreeBSD4.1 Date: Tue, 19 Sep 2000 10:04:38 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've done the steps in the howto (and I read carefully INSTALL.* and follow them strictly before my first mail :). The result is the same: su-2.04# sh -x /usr/local/etc/rc.d/qmail.sh + exec env - PATH=/var/qmail/bin:/root/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin qmail-start ./Maildir/ splogger qmail su-2.04# env: qmail-start: Permission denied The executables are the same like this in /usr/ports/mail/qmail/work/qmail-1.03/. The same executable in the source directory starts without any problems but it is not starting the daemons. I can assume this this is normal but the error appear in the default distribution directory?! Any Idea why this happened? May be some file are missing or some permissions or ownerships are wrong? I look at man for qmail-start there are not any switches for debugging. Also I noted another strange thing. mkaliasdir was not working until I renamed user alias to qalias. I restored the user name to alias after that. Also the content of the dot files that it creates starts with & (for example &username@host.comain) is that correct? Currently my users for qmail are: alias:*:81:81:User &:/var/qmail/alias:/nonexistent qmaill:*:83:81:User &:/var/qmail:/nonexistent qmaild:*:82:81:User &:/var/qmail:/nonexistent qmailp:*:84:81:User &:/var/qmail:/nonexistent qmailq:*:85:82:User &:/var/qmail:/nonexistent qmailr:*:86:82:User &:/var/qmail:/nonexistent qmails:*:87:82:User &:/var/qmail:/nonexistent groups: qmail:*:82: qnofiles:*:81: They are created automatically from the install process and I did not modify them except alias as I described above. If it can help I can tar the src distribution with the compiled binaries and the installation directory and send them for review. Rossen ----- Original Message ----- From: "Jonel Rienton" To: "Rossen Raykov" ; ; ; ; Cc: Sent: Monday, September 18, 2000 9:50 PM Subject: Re: Problems with qmail (1.03) on FreeBSD4.1 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi, i hope you read at least the documents that came with > it(/var/qmail/doc), i've written a mini howto for installing qmail on > a FreeBSD box, check out http://qmail.freebsduser.org > > hth > > Jonel Rienton > http://qmail.freebsduser.org > sent by qmail-1.03 on a FreeBSD 4.1-STABLE > - ----- Original Message ----- > From: "Rossen Raykov" > To: ; ; > ; > Cc: > Sent: Monday, September 18, 2000 2:36 PM > Subject: Problems with qmail (1.03) on FreeBSD4.1 > > > | Hi All, > | > | I have a problem with qmail port for FreeBSD 4.1. > | I installed it from the ports, but when I try to start any of the > | programs from the package the result is "Permission denied"! > | Example: > | > | su-2.04# cd /var/qmail/bin > | su-2.04# whoami > | root > | su-2.04# uname -smr > | FreeBSD 4.1-RELEASE i386 > | su-2.04# ./qmail-start > | su: ./qmail-start: Permission denied > | su-2.04# ls -l qmail-start > | -rwx------ 1 root qmail 5340 Sep 16 22:07 qmail-start > | > | Second example: > | su-2.04# cd ../configure/ > | su-2.04# ./hostname > | su: ./hostname: Permission denied > | su-2.04# ls -l hostname > | -r-xr-xr-x 1 root wheel 4052 Sep 16 22:11 hostname > | > | The situation is very complicated to me since any of those programs > | work inside the compilation area. > | Example: > | > | su-2.04# cd /usr/ports/mail/qmail/work/qmail-1.03/ > | su-2.04# ./hostname > | myserver.com > | > | I thought that maybe the programs are different but they are not! > | su-2.04# diff hostname /var/qmail/configure/hostname > | su-2.04# > | > | Then I thought that maybe the problem is because of permissions. > | An started make check but the result from it is: > | > | su-2.04# make check > | ./instcheck > | > | I looked in qmail news and I found information for similar problem > | on linux but there wasn't a solution! > | Any suggestions? > | > | Please excuse my English, it is not my native language. > | > | Regards, > | Rossen > | > | > | > | > | > | To Unsubscribe: send mail to majordomo@FreeBSD.org > | with "unsubscribe freebsd-questions" in the body of the message > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > > iQA/AwUBOcbGcKQ0pAI9Fl/WEQKfPQCglFI4KROl2bkB7VShvcs3ze3WrnoAnAiP > 7l2e4kRtJF4lnd7V+P3TeOXw > =mpg8 > -----END PGP SIGNATURE----- > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message