Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 13:49:29 +0100
From:      Paul Branston <>
To:        "Patrick O'Reilly" <>
Subject:   Re: Sendmail Help - anyone?
Message-ID:  <>
In-Reply-To: <000001c12581$b0b81ef0$b50d030a@patrick>; from on Wed, Aug 15, 2001 at 01:59:07PM +0200
References:  <000001c12581$b0b81ef0$b50d030a@patrick>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Aug 15, 2001 at 01:59:07PM +0200, Patrick O'Reilly wrote:
> If someone can help I'd really appreciate it.  I am battling to make head or
> tail of the documentation on the sendmail website!
> I have a server on FreeBSD 4.2 running sendmail - and all is well.
> Now, a bunch of users are moving onto the same LAN.  I want to add them on
> the same sendmail server, but they belong to a different company, and hence
> have a different internet domain.
> I can set all the MX records incoming OK, and set local-host-names so that
> the server will accept the incoming emails.
> BUT: How do I ensure that outbound emails correctly show a source address
> for the respective different domains?
> In other words, some emails will be:
> From:
you need a genericstable to re-write the outgoing email addresses
so that local user joe becomes
(if you include a left-hand-side address with a domain part you
need that domain in a genericsdomain file)

and for incoming mail use a virtusertable to map
onto the local box where the mail is to be delivered.

create a file with support for these features, 

> While other emails will be:
> From:
> and yet both the user accounts (joe-bloggs and an-other) are physically
> resident on the same mail server.  As I understand things, sendmail will
> show all source addresses from one common domain, the domain of the mail
> host.
> Thanks in advance,
> Patrick.
> To Unsubscribe: send mail to
> with "unsubscribe freebsd-questions" in the body of the message

 *  Paul Branston
 *  Unix Consultant 
 *  Leeds office: 0113 2635584
 *  Mobile:       07860 447931

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <>