Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

OTHER VERSION sendmail + virtusertable

$
0
0
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

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>