sendmail + virtusertable

Hi all,

this is my configuration:

host_1:

  • sendmail
  • virtusertable with virtualmail: domain.com
  • hostname = host_1.domain.com

host_2:

  • sendmail
  • hostname = host_2.domain.com

Emails sent from the Internet to host_1 are forwarded to host_2 (my internal mail server).

All works as expected, but I have the following problem:

if “form=<user@domain.com” then:

in host_1 (/var/log/mail) I see (as expected):
“form=<user@domain.com” … relay=host_2 …

but in host_2 (/var/log/mail) I see:
“form=<user@host_1.domain.com”

In other words if the domain in the “from address” is “domain.com” then:
domain.com
is replaced with
“host_1.domain.com”

How to avoid this ?
Any help is appreciated

Regards
Miche

Hello,

While you are welcome to the openSUSE forums, until now I have no idea if your problem is openSUSE related. The only thing we can deduct from this thread is that it is not on a supported openSUSE version.

I assume that many people will find it difficult to try to help you without any information on what software and what versions of it are used Now it looks more like a theoretical question on an exam.

Hello Henk,

sorry if I didn’t wrote the version …

host_1:
SO version: SUSE Linux Enterprise Server 12 SP1
sendmail version: 8.14.9

host_2:
SO version: SUSE Linux Enterprise Server 10 SP2
sendmail version: 8.13.6

I know these are old versions …

Regards
Miche

I do not know if they are old version. I do know that SLES/SLED is not the subject of these openSUSE forums.

You may be better served at Rancher Labs (same username/password as here).