From owner-freebsd-questions Tue Sep 19 9:31: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1b.mail.yahoo.com (smtp3.mail.yahoo.com [128.11.68.135]) by hub.freebsd.org (Postfix) with SMTP id E7C6F37B42C for ; Tue, 19 Sep 2000 09:30:59 -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 16:30:58 -0000 X-Apparently-From: Message-ID: <01c501c02257$24d853b0$4c00000a@sage> From: "Rossen Raykov" To: "Jan Knepper" Cc: , , References: <00c801c021a7$bdf810e0$4c00000a@sage> <39C78B38.3F6E3D77@smartsoft.cc> Subject: Re: Problems with qmail (1.03) on FreeBSD4.1 Date: Tue, 19 Sep 2000 12:32:02 -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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stupid I! I forgot that /var was mounted with noexec option!!! That explains everything. Now it works but when I test it with: echo to:localuser |/var/qmail/bin/qmail-inject it logs: qmail: 969384250.226842 delivery 7: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/ I have this user and there is a Malidir with permissions drwx------ and a link to it .qmail. Also there is an empty file in his home directory called .qmail-default. There is not dot file in aliases for this user. What is wrong? Thanks in advance, Rossen ----- Original Message ----- From: "Jan Knepper" To: "Rossen Raykov" Cc: ; ; ; ; Sent: Tuesday, September 19, 2000 11:50 AM Subject: Re: Problems with qmail (1.03) on FreeBSD4.1 > 1. Have you checked whether or not qmail is login in /var/log? I mean > permission denied could mean that it didn't start, but also that it had > problems doing (accessing) something. > 2. Are you sure the /var file system is mounted with the proper privelages? > 3. Are you sure the kern.securelevel of your system is correct? > > > > Rossen Raykov wrote: > > > 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 > > -- > Jan Knepper > Smartsoft, LLC > 88 Petersburg Road > Petersburg, NJ 08270 > U.S.A. > > http://www.smartsoft.cc/ > http://www.mp3.com/pianoprincess > > Phone : 609-628-4260 > FAX : 609-628-1267 > FAX : 303-845-6415 http://www.fax4free.com/ > > Phone : 020-873-3837 http://www.xoip.nl/ (Dutch) > FAX : 020-873-3837 http://www.xoip.nl/ (Dutch) > > In God we Trust -- all others must submit an X.509 certificate. > -- Charles Forsythe > _________________________________________________________ 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-questions" in the body of the message