Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 12:32:02 -0400
From:      "Rossen Raykov" <raikovr@yahoo.com>
To:        "Jan Knepper" <jan@smartsoft.cc>
Cc:        <FreeBSD-questions@FreeBSD.ORG>, <questions@FreeBSD.ORG>, <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: Problems with qmail (1.03) on FreeBSD4.1
Message-ID:  <01c501c02257$24d853b0$4c00000a@sage>
References:  <00c801c021a7$bdf810e0$4c00000a@sage> <39C78B38.3F6E3D77@smartsoft.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <jan@smartsoft.cc>
To: "Rossen Raykov" <rraykov@sageian.com>
Cc: <FreeBSD-questions@FreeBSD.ORG>; <questions@FreeBSD.ORG>;
<freebsd-newbies@FreeBSD.ORG>; <qmail-help@list.cr.yp.to>;
<raikovr@yahoo.com>
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 <forsythe@alum.mit.edu>
>


_________________________________________________________
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01c501c02257$24d853b0$4c00000a>