[EMAIL PROTECTED] wrote:
>
>Found it.  It was strace.  Thanks :)  Long output file though...
>I'm not sure what I'm looking for in it.  I'll post the file at:
>http://www.scitechsoft.com/strace.txt

Got it.

>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.

>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.

>2. What are these files?  I've mainly been using "Life with qmail" as my 
>refernce and didn't find any mention of them...

See:

    http://Web.InfoAve.Net/~dsill/lwq.html#me
    http://Web.InfoAve.Net/~dsill/lwq.html#defaultdomain

>> What does /var/qmail/bin/qmail-queue (AKA qq) look like? Should be
>> close to:
>> 
>>-rws--x--x    1 qmailq   qmail      36480 Sep 11  1998 /var/qmail/bin/qmail-queue
>-rws--x--x   1 qmailq   qmail       22136 Jul 20 15:00 /var/qmail/bin/qmail-queue
>I'd say that's fairly close, eh?
>So, that's what qq is.  I am starting to see the light.  Well, at
>least a grey fuzzy glow.

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.)

>> Have you run "make check" from the build directory?
>>
>Just did.  It reported:
>instcheck: warning: /var/qmail/bin has wrong permissions
>So I ran:
>ls -al /var/qmail/
>and trimmed out the other stuff to keep down on size....
>drwxr-xr-x  12 root     qmail        1024 Jul 26 09:50 .
>drwxr-xr-x  20 root     root         1024 Jul 20 16:20 ..
>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?

-Dave

Reply via email to