Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 10:04:38 -0400
From:      "Rossen Raykov" <raikovr@yahoo.com>
To:        "Jonel Rienton" <jmr@freebsduser.org>, <FreeBSD-questions@FreeBSD.ORG>, <questions@FreeBSD.ORG>, <freebsd-newbies@FreeBSD.ORG>, <qmail-help@list.cr.yp.to>
Subject:   Re: Problems with qmail (1.03) on FreeBSD4.1
Message-ID:  <010701c02242$8d328c60$4c00000a@sage>
References:  <00c801c021a7$bdf810e0$4c00000a@sage> <01bc01c021dc$04ae2fe0$17161d0a@jonelrienton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <jmr@freebsduser.org>
To: "Rossen Raykov" <rraykov@sageian.com>; <FreeBSD-questions@FreeBSD.ORG>;
<questions@FreeBSD.ORG>; <freebsd-newbies@FreeBSD.ORG>;
<qmail-help@list.cr.yp.to>
Cc: <raikovr@yahoo.com>
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" <rraykov@sageian.com>
> To: <FreeBSD-questions@FreeBSD.ORG>; <questions@FreeBSD.ORG>;
> <freebsd-newbies@FreeBSD.ORG>; <qmail-help@list.cr.yp.to>
> Cc: <raikovr@yahoo.com>
> 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 <http://www.pgp.com>;
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010701c02242$8d328c60$4c00000a>