Friday, July 22, 2011

qmail: queue wrong owner # 4.3.5 error

this is a problem with qmail's directory/file structure

to fix:
1. download and run queue-repair to fix the queue
    http://pyropus.ca/software/queue-repair/
2. make sure qmail-queue is owned by qmailq
    # chown -Rf qmailq qmail-queue
3. set qmail-queue's user id bit (to run qmail-queue as qmailq user)
    # chmod u+s qmail-queue

don't go playing with your qmail files if you don't know what you're doing. i think that's how i got in trouble. lol

1 comment:

  1. Wow I really messed up my qmail installation by following instructions to clear the queue somewhere else, won't be doing that again. At least setting qmail-queue executable's suid fixed the wrong owner problem thanks! Now to fix the sh*tstorm of other ambiguous queue errors, patching plus this kinda stuff makes qmail a nightmare, watch out!

    ReplyDelete

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...