When I send emails they end up in /var/spool/mqueue but are not delivered.
When I type
mailq on the server terminal
it lists the mails as being deferred
eg
(host map: lookup (mydomain.com.au) : deferred)
my solution was to check the /etc/resolv.conf file
and make sure the first name server listed was the ip address of my mail server which is also my dns server.
nameserver 10.10.10.183
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/041322.htmlIf you have some specific jobs you'd
like to process in the queue, you can skip the rest of the queue processing and handle just those.
sendmail -v -qI {queue id substring}
or
sendmail -v -qS {sender address substring}
or
sendmail -v -qR {recipient address substring}
These variations will limit the processing to a sender address,
recipient, etc, in the queue.