(strace output...)
> >Some points of interest:
> >1. It's hacking off parts of my file, maybe?
> >chdir("/var/qmail") = 0
> >open("control/me", O_RDONLY|O_NONBLOCK) = 5
> >read(5, "\0\0\0\0scitechsoft.com\n", 64) = 20
> >This is www.scitechsoft.com
>
> Examine /var/qmail/control/me carefully, e.g., with "cat -v" or "od
> -c". It should contain your FQDN and a newline. The leading nulls are
> wrong.
That is what is there... see below
>
> >close(5) = 0
> >open("control/defaultdomain", O_RDONLY|O_NONBLOCK) = 5
> >read(5, "www.echsoft.com\n", 64) = 16
> >This is scitechsoft.com
>
> Same here. Maybe it should be scitechsoft.com, but it's actually
> www.echsoft.com. Run qmail-showctl and see if you agree with the
> output.
Ok. This is strange.
od -c defaultdomain
0000000 s c i t e c h s o f t . c o m \n
0000020
me had a similar, correct output.
I ran qmail-showctl:
me: My name is www.scitechsoft.com.
defaultdomain: Default domain name is scitechsoft.com.
Which is exactly what the files say. I'm not sure where the nulls and trashed
name are coming from...
> >2. What are these files? I've mainly been using "Life with qmail" as my
> >refernce and didn't find any mention of them...
I'm sorry, I didn't mean the files above, I meant the files below (they were
missing):
control/defaulthost
control/idhost
> What does "file /var/qmail/bin/qmail-queue" say? What happens if you
> run qmail-queue as a normal user with no parameters or input? (Be
> careful, you might have a hard time killing it off.)
Boy, you were right on that one ;-) Ok, when I ran qq as root, it said nothing.
I guess it just started running until I telneted in on another session and killed
it. If I ran it as admin (default login) it told me:
bash: ./qmail-queue: Operation not permitted
-rws--x--x 1 qmailq qmail 22136 Jul 20 15:00 qmail-queue
It is the *only* file in the /var/qmail/bin directory that has those
owners/permissions.
The other are all root/qmail and either 755, 711 or 700
To me that seems kind of strange. I would think that they should be owned
by one of the qmail users or the qmail group.
> >> Have you run "make check" from the build directory?
-snip-
> >drwxrwxrwx 2 root qmail 1024 Jul 20 16:13 bin
> >Ok, it's probably too permisive, but the stuff should still run, right?
> Yeah, but remove the group & world write bits just to be sure. Any
> idea how they got that way?
No. I *think* that is just the way in installed. I don't think I changed them,
but I could have...
Rob