> Now when i issue a "mail bob" command, where bob is my local user, > whether I am connected or not I do not get any mail in my local mailbox. > > Aug 11 10:18:22 deb760xl sendmail[2008]: KAA02006: to=root, ctladdr=root > (0/0), delay=00:00:00, xdelay=00:00:00, mailer=nullclient, > relay=9.87.2.151, stat=Deferred: Name server: 9.87.2.151: host name > lookup failure
sendmail is trying to do a dns lookup, and since it fails the mail sits in the queue, until the queue is run (normally every 10 minutes by default on my debian box) and it *can* complete the dns lookup. you have a couple options. the best one, imho, would be to define a smarthost and configure sendmail to work without dns. you can do this by adding these two lines to your /etc/mail/sendmail.mc file and then running /usr/sbin/sendmailconfig. define(`SMART_HOST',`esmtp:upstream.mail.server.com')dnl FEATURE(`nodns')dnl instead of using the smarthost option you can also do it with mailertable with a line like this in your sendmail.mc: FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl and then making the first line of your mailertable file (don't forget to run makemap!): . esmtp:upstream.mail.server.com. either will work fine. i hope this helps, adam. ------------------------ Internet Alaska ------------------------ 4050 Lake Otis Pkwy Adam Shand (v) +1 907 562 4636 Anchorage, AK 99508 Systems Administrator (f) +1 907 562 4807 --------------------- http://www.spack.org/ ---------------------