tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Configuring Sendmail 8.8.8 with makemap utility
@ 1997-11-24 22:19 Zbigniew Ignatowicz
  0 siblings, 0 replies; only message in thread
From: Zbigniew Ignatowicz @ 1997-11-24 22:19 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

Has anyone configured sendmail with hash database. This is a recommended technique, published on the Web by DEC.
I am running DU 4.0b

1.	I created the database mbt.db with this utility.

makemap hash mbt.db <mbt 

2.	I modified sendmail.cf as follows.

# Declare mbt as a hash-lookup database:
Kmbt hash /etc/mail/mbt.db 

In the Ruleset 98 section (local part of ruleset 0): 
# Use mailboxtable-database:
R$+ < @ $+ . > $: $1 < @ $2 > .
R$+ < @ $+ > $* $: $(mbt $1@$2 $: $1 < @ $2 > $3 $)
R$+ < @ $+ > $* $: $(mbt $2 $: $1 < @ $2 > $3 $)
RERROR $* $#error $: $1
R$+ < @ $+ > . $: $1 < @ $2 . > 

3.	Cannot restart sendmail.

The errors in mail.log are:

Nov 23 14:05:50 www sendmail[19597]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 670: Inappropriate use of $* on RHS
Nov 23 14:05:50 www sendmail[19597]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 670: replacement $3 out of bounds
Nov 23 14:05:50 www sendmail[19597]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 671: Inappropriate use of $* on RHS
Nov 23 14:05:50 www sendmail[19597]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 671: replacement $3 out of bounds
Nov 23 14:05:50 www sendmail[19623]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 670: Inappropriate use of $* on RHS
Nov 23 14:05:50 www sendmail[19623]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 670: replacement $3 out of bounds
Nov 23 14:05:50 www sendmail[19623]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 671: Inappropriate use of $* on RHS
Nov 23 14:05:50 www sendmail[19623]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: li
ne 671: replacement $3 out of bounds



Thanks


Ziggy 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-24 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-24 22:19 Configuring Sendmail 8.8.8 with makemap utility Zbigniew Ignatowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox