> For some reason, qmail seems to be taking a long time (perhaps forever)
> to deliver certain mails. Some mails seem to sit in the queue for ages,
> and I can't work out how to discern why they are being delayed. It may
> be that the destination host isn't there - but I can't tell that.
> Sendmail was always nice enough to tell me if mails were being
> delayed...how can I get qmail to tell me what's up ?
Do something like "host -t MX <hostname>" then try traceroute and ping on
the MX hosts given. Also try telnet to port 25 on them.
This will tell you if
a) it's there
b) it's accepting SMTP mail.
> Second, when I run a fetchmail, to get mails from a very remote host,
> it dumps them in the local queue (fetchmail connects to port 25 locally,
> for delivery). qmail-qstat shows them sitting there, and they are never
> delivered - until I do something like "/etc/rc.d/init.d/qmail.init
> restart" - and then they are delivered inside a second.
What happens with mail sent using qmail-inject?
Have you tried the tests described in TEST.* (in the source directory)?
--
Mark Evans
St. Peter's CofE High School
Phone: +44 1392 204764 X109
Fax: +44 1392 204763