Skip site navigation (1)Skip section navigation (2)
From:      Ben Stuyts <ben@stuyts.nl>
To:        freebsd-questions@freebsd.org
Subject:   sendmail config problem with virtual domain
Message-ID:  <4.3.2.7.2.20020225231649.03926ca0@terminus>

next in thread | raw e-mail | index | archive | help
Hi,

I am setting up a virtual email domain on a -stable system. Sometimes the 
From: addresses to this virtual domain are rewritten with the original 
domain. For example:

I have a login on this server as ben@domain.com. Let's say the virtual 
domain is called virtualdomain.com.

In the virtusertable is an entry:
ben@virtualdomain.com	ben@stuyts.nl

I send mail from here (at stuyts.nl) as ben@virtualdomain.com to 
ben@virtualdomain.com. However, when I receive this mail back at stuyts.nl, 
the
From: ben@virtualdomain.com is changed into ben@domain.com. The To: line is 
still intact.

Any idea what I'm doing wrong?

The sendmail.mc is basically a stock freebsd.mc with the addition of:

FEATURE(`accept_unqualified_senders')
define(`confDOMAIN_NAME', `host.provider.nl')dnl
FEATURE(genericstable)
GENERICS_DOMAIN(`host.domain.com')
VIRTUSER_DOMAIN(`virtualdomain.com')

The genericstable is empty.

I would very much appreciate help with this issue. I read all the 
documentation (cf/README and the virtual hosting page on sendmail.org), but 
I can't find the problem.

Thanks,
Ben


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20020225231649.03926ca0>