Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Rewriting the sender address for all outgoing e-mail
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
paul.fis...@leicester.gov.uk  
View profile  
 More options Jul 1 2005, 10:30 am
Newsgroups: comp.mail.sendmail
From: paul.fis...@leicester.gov.uk
Date: 1 Jul 2005 07:30:37 -0700
Local: Fri, Jul 1 2005 10:30 am
Subject: Rewriting the sender address for all outgoing e-mail
I'm sure this must be a simple task, but we are trying get our mailhub
to re-write all sender addresses from internal mail
hosts(hostname.leicester.gov.uk) to leicester.gov.uk.

Our current topology is that we have several mail servers internally
that interact with the mail hub. The mail hub then passes all of the
outgoing mail to the mail-relay in the DMZ which then sends to other
mail servers on the internet.

For incomming addresses, the mailhub uses the alaises.db to determine
which internal server to deliver to.

We have had a look at the sendmail FAQ which directed us to the manual
page on masquerading. From there we deduced that we should be using the
MASQUERADE_AS() feature.

Our sendmail.mc contains:

MASQUERADE_AS(`leicester.gov.uk')dnl
FEATURE(masquerade_envelope)dnl

We are finding that when the mail reaches the mail-relay it still has
u...@hostname.leicester.gov.uk in the from field.

I have also added MASQUERADE_DOMAIN_FILE(`filename') and created a file
with a list of domains to be re-written, but this had no effect either.

This must be a common problem so can anyone tell me how to resolve it
please?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paul.fis...@leicester.gov.uk  
View profile  
 More options Jul 1 2005, 10:30 am
Newsgroups: comp.mail.sendmail
From: paul.fis...@leicester.gov.uk
Date: 1 Jul 2005 07:30:15 -0700
Local: Fri, Jul 1 2005 10:30 am
Subject: Rewriting the sender address for all outgoing e-mail
I'm sure this must be a simple task, but we are trying get our mailhub
to re-write all sender addresses from internal mail
hosts(hostname.leicester.gov.uk) to leicester.gov.uk.

Our current topology is that we have several mail servers internally
that interact with the mail hub. The mail hub then passes all of the
outgoing mail to the mail-relay in the DMZ which then sends to other
mail servers on the internet.

For incomming addresses, the mailhub uses the alaises.db to determine
which internal server to deliver to.

We have had a look at the sendmail FAQ which directed us to the manual
page on masquerading. From there we deduced that we should be using the
MASQUERADE_AS() feature.

Our sendmail.mc contains:

MASQUERADE_AS(`leicester.gov.uk')dnl
FEATURE(masquerade_envelope)dnl

We are finding that when the mail reaches the mail-relay it still has
u...@hostname.leicester.gov.uk in the from field.

I have also added MASQUERADE_DOMAIN_FILE(`filename') and created a file
with a list of domains to be re-written, but this had no effect either.

This must be a common problem so can anyone tell me how to resolve it
please?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paul.fis...@leicester.gov.uk  
View profile  
 More options Jul 1 2005, 10:30 am
Newsgroups: comp.mail.sendmail
From: paul.fis...@leicester.gov.uk
Date: 1 Jul 2005 07:30:24 -0700
Local: Fri, Jul 1 2005 10:30 am
Subject: Rewriting the sender address for all outgoing e-mail
I'm sure this must be a simple task, but we are trying get our mailhub
to re-write all sender addresses from internal mail
hosts(hostname.leicester.gov.uk) to leicester.gov.uk.

Our current topology is that we have several mail servers internally
that interact with the mail hub. The mail hub then passes all of the
outgoing mail to the mail-relay in the DMZ which then sends to other
mail servers on the internet.

For incomming addresses, the mailhub uses the alaises.db to determine
which internal server to deliver to.

We have had a look at the sendmail FAQ which directed us to the manual
page on masquerading. From there we deduced that we should be using the
MASQUERADE_AS() feature.

Our sendmail.mc contains:

MASQUERADE_AS(`leicester.gov.uk')dnl
FEATURE(masquerade_envelope)dnl

We are finding that when the mail reaches the mail-relay it still has
u...@hostname.leicester.gov.uk in the from field.

I have also added MASQUERADE_DOMAIN_FILE(`filename') and created a file
with a list of domains to be re-written, but this had no effect either.

This must be a common problem so can anyone tell me how to resolve it
please?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matej Vela  
View profile  
 More options Jul 1 2005, 11:09 am
Newsgroups: comp.mail.sendmail
From: Matej Vela <mv...@irb.hr>
Date: Fri, 1 Jul 2005 15:09:13 +0000 (UTC)
Local: Fri, Jul 1 2005 11:09 am
Subject: Re: Rewriting the sender address for all outgoing e-mail
On 2005-07-01, paul.fis...@leicester.gov.uk <paul.fis...@leicester.gov.uk> wrote:
[...]

> Our sendmail.mc contains:

> MASQUERADE_AS(`leicester.gov.uk')dnl
> FEATURE(masquerade_envelope)dnl

> We are finding that when the mail reaches the mail-relay it still has
> u...@hostname.leicester.gov.uk in the from field.

> I have also added MASQUERADE_DOMAIN_FILE(`filename') and created a file
> with a list of domains to be re-written, but this had no effect either.

Is the file owned by root and mode 644?

What do the following commands say?

# echo '$=M' | sendmail -bt
# echo 'canonify,MasqHdr u...@hostname.leicester.gov.uk' | sendmail -bt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
julien mills  
View profile  
 More options Jul 1 2005, 1:26 pm
Newsgroups: comp.mail.sendmail
From: julien mills <jul...@colorado.amorosobaking.com>
Date: Fri, 01 Jul 2005 17:26:53 GMT
Local: Fri, Jul 1 2005 1:26 pm
Subject: Re: Rewriting the sender address for all outgoing e-mail
On 2005-07-01, paul.fis...@leicester.gov.uk

><paul.fis...@leicester.gov.uk> wrote:

> We have had a look at the sendmail FAQ which directed us to the manual
> page on masquerading. From there we deduced that we should be using the
> MASQUERADE_AS() feature.

> Our sendmail.mc contains:

> MASQUERADE_AS(`leicester.gov.uk')dnl
> FEATURE(masquerade_envelope)dnl

In mine, the FEATURE is first, then the MASQUERADE_AS, I'm
not sure if this makes any difference.

And, this is dumb, but you did install the cf, and maybe then
sendmail needs to be restarted?

--
Julien Mills                             Amoroso's Baking Company
Tel: (215) 471-4740                                       IS Dept
email: jul...@amorosobaking.com             www.amorosobaking.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Chajecki  
View profile  
 More options Jul 1 2005, 5:11 pm
Newsgroups: comp.mail.sendmail
From: "John Chajecki" <jc...@dsl.pipex.com>
Date: Fri, 1 Jul 2005 22:11:06 +0100
Local: Fri, Jul 1 2005 5:11 pm
Subject: Re: Rewriting the sender address for all outgoing e-mail
The file is owned by root and is chmod 644.

Output from the commands as follows:

# echo '$=M' | sendmail -bt

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

# echo 'canonify,MasqHdr u...@hostname.leicester.gov.uk' | sendmail -bt

No output.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Chajecki  
View profile  
 More options Jul 1 2005, 5:15 pm
Newsgroups: comp.mail.sendmail
From: "John Chajecki" <jc...@dsl.pipex.com>
Date: Fri, 1 Jul 2005 22:15:03 +0100
Local: Fri, Jul 1 2005 5:15 pm
Subject: Re: Rewriting the sender address for all outgoing e-mail

> In mine, the FEATURE is first, then the MASQUERADE_AS, I'm
> not sure if this makes any difference.

I will give this a go.

> And, this is dumb, but you did install the cf, and maybe then
> sendmail needs to be restarted?

Not at all dumb, just obvious - which we sometimes miss. We did restart sendmail though.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matej Vela  
View profile  
 More options Jul 3 2005, 7:24 am
Newsgroups: comp.mail.sendmail
From: Matej Vela <mv...@irb.hr>
Date: Sun, 3 Jul 2005 11:24:33 +0000 (UTC)
Local: Sun, Jul 3 2005 7:24 am
Subject: Re: Rewriting the sender address for all outgoing e-mail
On 2005-07-01, John Chajecki <jc...@dsl.pipex.com> wrote:

> The file is owned by root and is chmod 644.

> Output from the commands as follows:

> # echo '$=M' | sendmail -bt

> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>

This means that the list of domains doesn't get read for some reason,
perhaps an incorrect path... Try listing them explicitly in sendmail.mc:

MASQUERADE_DOMAIN(`hostname1.leicester.gov.uk')dnl
MASQUERADE_DOMAIN(`hostname2.leicester.gov.uk')dnl
...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Creel  
View profile  
 More options Jul 6 2005, 9:24 am
Newsgroups: comp.mail.sendmail
From: Joe Creel <kb4...@nortel.com>
Date: Wed, 06 Jul 2005 08:24:06 -0500
Local: Wed, Jul 6 2005 9:24 am
Subject: Re: Rewriting the sender address for all outgoing e-mail
Try
MASQUERADE_AS(`leicester.gov.uk')dnl
FEATURE(`masquerade_entire_domain')dnl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Creel  
View profile  
 More options Jul 7 2005, 11:38 am
Newsgroups: comp.mail.sendmail
From: Joe Creel <kb4...@nortel.com>
Date: Thu, 07 Jul 2005 10:38:20 -0500
Local: Thurs, Jul 7 2005 11:38 am
Subject: Re: Rewriting the sender address for all outgoing e-mail
Look at the FEATURE(ALLMASQUERADE)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Freund  
View profile  
 More options Jul 8 2005, 5:57 am
Newsgroups: comp.mail.sendmail
From: Ingo Freund <news...@Freund-HH.net>
Date: Fri, 08 Jul 2005 11:57:56 +0200
Local: Fri, Jul 8 2005 5:57 am
Subject: Re: Rewriting the sender address for all outgoing e-mail
paul.fis...@leicester.gov.uk schrieb:

I use
define(`confDOMAIN_NAME', `domain.com')dnl
MASQUERADE_AS(`domain.com')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`always_add_domain', `domain.com')dnl    <- this made it work

Bye - Ingo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »