Hello,
I try to setup address rewriting with
/etc/mail/genericstable and /etc/mail/virtusertable on
my mail-relay with sendmail 8.11.0. I have an internal host, which has configured as
SENDMAIL-RELAY my mail-relay, the variable
FROM-HEADER is empty. My mail-relay
is connected to the Internet, the FROM-HEADER ist
set to "mydomain". I've configured
a file genericstable and virtusertable like
this.
/etc/mail/genericstable:
/etc/mail/virtusertable:
The problem ist, if I send a mail from the internal
host to the internet, the from-address
is not rewrited, but if I send a mail from the Internet to "usr1@mydomain" the
address
The address rewriting works only for incoming mail,
not for outgoing. Any ideas?
Thanks,
Robert