Article View: comp.mail.misc
Article #3526Smail 3.1.20 & SunOS 4.1.1 Rev B. & Yellow Pages
From: Kevin Samborn
Date: Tue, 21 May 1991 15:10
Date: Tue, 21 May 1991 15:10
64 lines
2938 bytes
2938 bytes
We have just upgraded our SPARCstation 1 to SunOS 4.1.1 Rev B. from 4.0.3.
On the old OS we ran Smail 3.1.19. So, as part of the upgrade, we
went to 3.1.20. I have a couple of questions:
a) We periodically get core dumps. This is the msglog entry:
Xdefer: <<uunet!twiggy.prime.com!rcassidy>> reason: (ERR_127) router
uucp_neighors: command `/usr/bin/uuname' returned exit status
EX_53248
Is this a problem with SunOS 4.1.1 Rev B. ??
b) left over messages in /usr/spool/smail/input
We now occasionally have messages hanging around in
/usr/spool/smail/input. There are msglog entries, but why are they
still there? They seem to hang around after an
Xfail: <info> reason: (ERR_100) unknown user
message. They do seem to get bounced however. Why do they hang
around in input?
c) NIS (Yellow Pages) & aliases
As part of our change of OS, we decided to use Yellow Pages. The
yellow pages works fine. However the upgrading mechanism causes us
trouble. It seems that Sun uses the following command to update
the aliases database:
/usr/lib/sendmail -bi -oA$(YPDBDIR)/$(DOM)/mail.aliases;
Smail does not support the -bi option. What it is doing,
(according to the man page) is:
-bi Initialize the aliases database.
It also says this is identical to the newaliases(8) command.
I have tracked this a little bit, and it appears that there needs
to be an extra key/value pair of "@/@" in the database. You cannot
use Smail's dbm generating stuff because it does not include the YP
information. Apparently Sun's sendmail knows about YP. I tried
the following stuff, but although it produced the same exact YP map
that the Sun sendmail command did, Smail did not find the alias:
/bin/echo "@:@" >> $(YPDBDIR)/$(DOM)/mail.aliases
/usr/local/bin/smail/mkline $(YPDBDIR)/$(DOM)/mail.aliases | \
awk 'BEGIN { FS = ":"; OFS = "\t";} { print $$1, $$2 }' | \
$(MAKEDBM) -l - $(YPDBDIR)/$(DOM)/mail.aliases
$(MAKEDBM) is the command for creating YP suitable dbm maps.
Needless to say, I cannot use the Smail newaliases command because
it doesn't do anything if running YP.
Thanks for all your help!
kevin samborn
--
kevin samborn "You guys had a tent!?!"
samborn@sunrise.com
...!uunet!ezx!samborn
Technical Details
Message-ID:
<SAMBORN.91May21101008@astro.sunrise.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!spool.mu.edu!uunet!ezx!astro!sambornShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!spool.mu.edu!uunet!ezx!astro!samborn From: samborn@sunrise.com (Kevin Samborn) Newsgroups: comp.mail.misc,comp.mail.uucp Subject: Smail 3.1.20 & SunOS 4.1.1 Rev B. & Yellow Pages Keywords: Yellow Pages, core dumps, messages hanging around Message-ID: <SAMBORN.91May21101008@astro.sunrise.com> Date: 21 May 91 15:10:08 GMT Sender: news@sunrise.com Distribution: all Organization: Sunrise Software International, Newport, RI Lines: 64