tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Jon E. Price" <jon () nytimes ! com>
To: tru64-unix-managers
Subject: genericstable
Date: Tue, 29 Apr 1997 01:37:14 +0000	[thread overview]
Message-ID: <96078611110714.tru64-unix-managers.marc@archive.invalid> (raw)

Hi.

I'm having trouble getting the genericstable feature of sendmail 8 working.

I've "turned on" the genericstable in my cf file as follows:

# Generics table (mapping outgoing addresses)
Kgenerics  dbm /etc/genericstable


I have the standard sendmail 8 genericstable rewrite rules as follows:

# handle generics database
R$+ < @ $=G . >         $: < $1@$2 > $1 < @ $2 . > @    mark
R$+ < @ *LOCAL* >       $: < $1@$j > $1 < @ *LOCAL* > @ mark
R< $+ > $+ < $* > @     $: < $(generics $1 $: $) > $2 < $3 >
R< > $+ < @ $+ >        $: < $(generics $1 $: $) > $1 < @ $2 >
R< $* @ $* > $* < $* >  $@ $>3 $1 @ $2                  found qualified
R< $+ > $* < $* >       $: $>3 $1 @ *LOCAL*             found unqualified
R< > $*                 $: $1                           not found

My /etc/genericstable text file contains:

jon	jon@xxx.com

And I built the dbm database files using this command:

makemap dbm genericstable < /etc/genericstable


But, when I send mail from "jon@nytimes.com" the From: field does not get
rewritten to jon@xxx.com. It stays as jon@nytimes.com.


I do not know how to debug this problem.

Can any help?


Thanks,
Jon

                 reply	other threads:[~1997-04-29  1:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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