[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sendmail help please



I have the follwoing setup on my IBM Thinkpad running Debian slink:

when I am in the office I have sendmail configured to route all mail to
my permanently connected 9.87.2.151 machine.

when I am disconnected (with only my 127.0.0.1) I would only need to be
able to send mail to my local users (for instance the anacron package
requires this).

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.

Thank you for any help .. here are some data which might help.

I am not running bind on my machine. Have an /etc/nsswitch which points
to files first

bob@deb760xl.italy.ibm.com > cat /etc/hosts
127.0.0.1       localhost deb760xl.italy.ibm.com
9.87.2.242      300pl
9.87.2.151      pan     pan.ncrome.romesc.ibm.com
9.87.251.63     diraix  diraix-rm.italy.ibm.com
9.87.248.54     rja     rja.italy.ibm.com


bob@deb760xl.italy.ibm.com > dpkg -s sendmail
Package: sendmail
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 1356
Maintainer: Richard Nelson <cowboy@debian.org>
Version: 8.9.1-4

bob@deb760xl.italy.ibm.com > sudo tail /var/log/mail.info
Aug 11 10:18:22 deb760xl sendmail[2006]: KAA02006: from=root, size=33,
class=0, pri=30033, nrcpts=1,
msgid=<199808110818.KAA02006@deb760xl.italy.ibm.com>,
relay=root@localhost
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
Aug 11 10:30:15 deb760xl sendmail[223]: KAA00223: from=bob, size=39,
class=0, pri=30039, nrcpts=1,
msgid=<199808110830.KAA00223@deb760xl.italy.ibm.com>,
relay=bob@localhost
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00223: to=bob, ctladdr=bob
(1000/1000), delay=00:00:03, xdelay=00:00:02, mailer=nullclient,
relay=9.87.2.151, stat=Host unknown (Name server: 9.87.2.151: host not
found)
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00223: KAA00225: DSN: Host
unknown (Name server: 9.87.2.151: host not found)
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00225: to=bob,
delay=00:00:00, xdelay=00:00:00, mailer=nullclient, relay=9.87.2.151,
stat=Host unknown (Name server: 9.87.2.151: host not found)
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00225: KAB00225: return to
sender: Host unknown (Name server: 9.87.2.151: host not found)
Aug 11 10:30:18 deb760xl sendmail[225]: KAB00225: to=postmaster,
delay=00:00:00, xdelay=00:00:00, mailer=nullclient, relay=9.87.2.151,
stat=Host unknown (Name server: 9.87.2.151: host not found)
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00225: Losing qfKAA00225:
savemail panic
Aug 11 10:30:18 deb760xl sendmail[225]: KAA00225: SYSERR(bob): savemail:
cannot save rejected email anywhere: No such file or directory

-- 
Robert J. Alexander <rja@raleigh.ibm.com>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, Italy


Reply to: