can't user mailertable sendmail 8.8.4

can't user mailertable sendmail 8.8.4

Post by Ollivier Robe » Fri, 17 Jan 1997 04:00:00



    [courtesy cc of this posting sent to cited author via email]



>    I installed Berkeley db 1.85(IRIX patch from http://reality.sgi.com
> ), compile sendmail with 'DBMDEF = -DNEWDBM'.  I think sendmail.cf has
> no problem.  I made it by m4 compiler following the README file in /cf
> directory.  My sendmail.cf has the following line.

If you really did use -DNEWDBM, it is expected not to work. It is either
-DNEWDB or -DNDBM. Note that you don't need "db" for mailertable.

Quote:>    Our system has no 'hash' command.  Some systems have the command
> 'hash' in /bin directory.  (Solaris 2.5.X)  Is it necessary to use
> mailertable? Did I make some mistakes?

This is not a hash command. It is the type of database you want to
use. Compile the makemap command in .../makemap/ with the same options as
sendmail and install it.

Then

makemap hash /etc/mailertable </etc/mailertable

will create the database.

--

Mutt: faster, smaller & better than Elm. <URL:http://www.cs.hmc.edu/~me/mutt/>

 
 
 

can't user mailertable sendmail 8.8.4

Post by Tae-Hoon K » Fri, 17 Jan 1997 04:00:00


   I installed sendmail 8.8.4 on SGI(IRIX 6.2).  It works fine...  But
I can't use mailertable.  
   I installed Berkeley db 1.85(IRIX patch from http://reality.sgi.com
), compile sendmail with 'DBMDEF = -DNEWDBM'.  I think sendmail.cf has
no problem.  I made it by m4 compiler following the README file in /cf
directory.  My sendmail.cf has the following line.

Kmailertable hash -o /etc/mailertable

   Our system has no 'hash' command.  Some systems have the command
'hash' in /bin directory.  (Solaris 2.5.X)  Is it necessary to use
mailertable? Did I make some mistakes?

   Thanks in advance...  

--
Tae-Hoon, Kim
Graphics Lab, Department of Computer Science, Seoul National University
Seoul, Korea

Phone  : +82-2-889-1764                 FAX    : +82-2-871-4912

 
 
 

can't user mailertable sendmail 8.8.4

Post by Bernd Beie » Sat, 08 Feb 1997 04:00:00



>    I installed sendmail 8.8.4 on SGI(IRIX 6.2).  It works fine...  But
> I can't use mailertable.
>    I installed Berkeley db 1.85(IRIX patch from http://reality.sgi.com
> ), compile sendmail with 'DBMDEF = -DNEWDBM'.  I think sendmail.cf has
> no problem.  I made it by m4 compiler following the README file in /cf
> directory.  My sendmail.cf has the following line.

> Kmailertable hash -o /etc/mailertable

>    Our system has no 'hash' command.  Some systems have the command
> 'hash' in /bin directory.  (Solaris 2.5.X)  Is it necessary to use
> mailertable?

You need the program "makemap"! Look in the FAQ where to get it.
The command to create the hash table with makemap is:

makemap hash /etc/mailertable < /etc/mailertable

This creates the .db file. Try a ls

Quote:> ls -a /etc/mailertable*

-rw-r--r--   1 root     root           98 Feb  6 19:17 /etc/mailertable
-rw-r--r--   1 root     root        16384 Feb  7 12:00 /etc/mailertable.db

Hope tha helps, bye.
--
Bernd Beier
Pepperl+Fuchs GmbH
Koenigsberger Allee 87
68307 Mannheim, Germany
Tel.  : +49 621 776-1115
FAX   : +49 621 776-1874

 
 
 

1. Sendmail 8.7.3-- mail to local users gets 'user unknown'!

Background:
We've got sendmail 8.7.3 running on our HPUX, only the sysadmins have
local account, everyone else uses a PC based client to access their
email, and they don't have shell account.  Every user has an alias
entry that puts their mail into HP Openmail.  

Problem:
We had occasion to remove one of the aliases so that mail would get put
into /usr/mail, but when we did that we got user unknown.  Further
testing reveals that we only get success if the /etc/passwd entry
for that user contains the whole email address _as_their_login_id_
(see following)

========start of demo=====
emh10# sendmail -bs
220 emh10.monroe.army.mil ESMTP HP Sendmail (8.7.3/16.2) ready at Sat, 31 Aug 19
96 14:31:15 -0400 (EDT)
expn hpdesk

expn bin
550 bin... User unknown
quit
221 emh10.monroe.army.mil closing connection
emh10# grep -e '^bin' -e hpdesk /etc/passwd
bin:*:2:2:*:/bin:/bin/sh

========end of 'demo'============

The sendmail.cf file is the same one that we were using with our previous
version of sendmail (5.65), and this is the first problem we've had
with the new sendmail.  I have searched the FAQ, read the sendmail guide
several times, but I'm not finding the answer that I need.  

I know it must my a mistake in my sendmail.cf, but I can't figure out
what I've done wrong.  Any help/hints/pointers to page numbers that I
should have read closer/etc will be greatly appreciated.

--
SPC Ron Snyder


2. From: <...> rewriting?

3. sendmail 5.65/IDA-1.4.3: question concerning 'mailertable'

4. Make flashing text cursor wider?

5. How to turn local 'user' into 'user@fulldomain' ?

6. Money 2004 Backup

7. What is the semantic difference between 'user' and 'user@dom'?

8. Canada, eh?

9. Can 'virtusertable' and 'mailertable' features used together?

10. Routing mail by user/per user mailertable

11. Why doesn't sendmail accept 'user@host.dom' format for localhost?

12. Why sendmail to a single user ok, but can't send to multiple users ?

13. Sendmail, mailertable and "RCPT TO:" user acl