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$+ < _at_ $=G . > $: < $1_at_$2 > $1 < _at_ $2 . > _at_ mark
R$+ < _at_ *LOCAL* > $: < $1_at_$j > $1 < _at_ *LOCAL* > _at_ mark
R< $+ > $+ < $* > _at_ $: < $(generics $1 $: $) > $2 < $3 >
R< > $+ < _at_ $+ > $: < $(generics $1 $: $) > $1 < _at_ $2 >
R< $* _at_ $* > $* < $* > $_at_ $>3 $1 _at_ $2 found qualified
R< $+ > $* < $* > $: $>3 $1 _at_ *LOCAL* found unqualified
R< > $* $: $1 not found
My /etc/genericstable text file contains:
jon jon_at_xxx.com
And I built the dbm database files using this command:
makemap dbm genericstable < /etc/genericstable
But, when I send mail from "jon_at_nytimes.com" the From: field does not get
rewritten to jon_at_xxx.com. It stays as jon_at_nytimes.com.
I do not know how to debug this problem.
Can any help?
Thanks,
Jon
Received on Tue Apr 29 1997 - 03:41:28 NZST