Just solved another one of those irritating little problems, and thought
it might help some others.

I was setting up a Mandrake 9.0 system for someone. The command "mailq"
seems to have been missing, but there was "mailq.postfix".
mailq.postfix simply didn't work: it hanged after a while (though it could
be killed by Ctrl-C).

Stracing (even with -f) got me nowhere: I got an error message about
failed writing to [/var/spool/postfix/]maildrop , the following in the
warnings log:

  Jan 11 17:58:50 yarden postfix/postdrop[1688]: warning: mail_queue_enter:
  create file maildrop/173803.1688: Permission denied

And then I noticed that /usr/bin/mailq did exist, and was a dandling link
to /etc/alternatives/mta-mailq . mta-mailq seems to be a slave alternative
of mta (update-alternatives --display mta-mailq), so:

  update-alternatives --auto mta

Fixed everything

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to