Track down how the sendmail daemon is being started on your
machine. It is probably being fed a -q command line argument
such as "sendmail -q1h" which would tell it to queue mail
for 1 hour, and as a result you would see a bunch of deferred
messages "host name lookup failed" in your mailq.
Basically you can change the sendmail startup command to
be something like "sendmail -q10s" to send queud mail every
You can also manually flush the mail queue (send all waiting email now)
by typing "sendmail -v -q", or check the mailq by typing
"mailq" or "sendmail -bp".
> Just setting up FreeBSD 4, and I notice a number of differences in the
> sendmail config system. All good, I hope.
> Anyway - My problem is a fairly simple one. I cannot forward mail to
> internal machines.
> /etc/mail/sendmail.cw contains esb.co.uk
> Mail is recieved by the server, but mailq gives me:
> (Deferred: Name server:
> host name lookup failed)
> The DNS is set up okay as far as I can see...
> Should the last full stop be there in the deferred message? If not,
> will it be getting it from?
> You can kill the revolutionary
> But you can't kill the revolution!
Sent via Deja.com http://www.deja.com/
Before you buy.