I have a problem with sendmail 8.12.10 on Solaris 9. I generate my
sendmail.cf file using m4 from a sendmail.mc file which adds the
genericstable and masquerading features etc. Below is an extract from my
sendmail.mc file:
MASQUERADE_AS(`domain.com')dnl
MASQUERADE_DOMAIN(`domain.com intranet.domain.com')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`relay_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`mailertable', DATABASE_MAP_TYPE `-o
MAIL_SETTINGS_DIR`'mailertable')dnl
FEATURE(`genericstable', DATABASE_MAP_TYPE `-o
MAIL_SETTINGS_DIR`'genericstable')dnl
GENERICS_DOMAIN(`domain.com intranet.domain.com')dnl
I use the genericstable to rewrite emails from certain senders on the
Solaris server to another address; line from /etc/mail/genericstable below:
This way system emails sent by the root account will appear to the
(including mail bounces) will go the local Sys Admins (UnixTeam is a
distribution list).
With Solaris 9's sendmail (8.12.10) the genericstable sender address
rewriting no longer works. Sendmail (8.11.3) on Solaris 8 using a
sendmail.cf file generated from the same sendmail.mc source works fine!
The strange things is that in sendmail rule test mode
(sendmail -bt -d21.4 -d21.12 -d31.2 -d0.4) entering the ruleset
processes the generictable and rewrites the sender address and returns:Quote:> 3,1,EnvFromSMTP,4 root
Can any sendmail GURUS out there please give me a clue what I'm missing or
what needs to be changed in my sendmail.mc for Sendmail version 8.12.x?? I
already added the "FEATURE(`always_add_domain')dnl" and
"GENERICS_DOMAIN(`domain.com intranet.domain.com')dnl" lines above, but this
made no difference.
Gobis