LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2007, 02:29 PM   #1
NSInc
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Exchange and PostFix Relay: Masquerading


I'm new to Linux, and I've read up a bit on PostFix, but I'm not having much luck getting this working:

I've implemented Linux (FC5) box running Postfix 2.3.4 as a dedicated outbound relay for an Exchange 2003 server. The Exchange server sits in a subdomain, "exch.example.com" and sends email out from that domain.

In this Relaying role, can Postfix perform a Masquerade operation on outbound email from the Exchange server that drops the subdomain portion of the address from "@exch.example.com" to "@example.com"?

Seems that I might be doing something wrong. The email relays fine, but the subdomain portion of the address is not removed.

No mailboxes reside on the Postfix box. It is strictly a relay.

Should I use canonical methods instead?

Thanks in advance for your assistance.
 
Old 02-21-2007, 06:14 PM   #2
NSInc
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Message Header

Update:

Looks like it works on part of the message header, but not the part that seems to matter. These look good:

X-eSCM-MailFrom: <jdoe@example.com>
.
.
.
Return-Path: jdoe@example.com

But PostFix doesn't change this one, and it appears to take precedence:
From: "John Doe" <jdoe@exchange.example.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5

Can that address be changed via PostFix on a relay server? Any insight is greatly appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Sendmail to relay all mail to my Exchange Server TimothyBoggess Linux - Newbie 8 04-18-2017 08:41 AM
howto relay sendmail with exchange 2003 ioio Linux - General 1 10-26-2006 12:03 AM
LXer: Mandriva Postfix Anti-Spam, Anti-Virus Relay Server for Exchange Server 2000/2003 LXer Syndicated Linux News 0 06-29-2006 11:21 AM
sendmail to relay smtp to exchange inaki Linux - Software 1 04-02-2006 09:36 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration