Home > other > Exchange beating Postfix to the punch

Exchange beating Postfix to the punch

February 6Hits:1

I am attempting to set up Postfix on a virtual machine using VMware in bridged mode. The idea is to scan my incomming mail and then forward it to Exchange for delivery. The vm is running on a Windows Server 2003 Standard. Exchange is running on a Small Business Server located at The vm is using the IP address and is accepting incoming traffic on port 25. I would like the vm to accept port 25 traffic and forward to my exchange server. I have my linksys router set to forward all incoming port 25 traffic to the vm at The problem is that exchange is getting the mail off the network before the vm is and I can not figure out how. Even when I turn off port forwarding on the linksys router the exchange server seems to get the mail. But if I turn off port 25 neither exchange nor postfix answers on port 25 from an outside telnet. When a message is sent it shows up in my outlook inbox and never goes through vm and postfix or my router on port 25. Anyone have any ideas? Exchange beating Postfix to the punch


Is the router set up with the SB server on 1.106 as the DMZ host? If so, all 'unknown' traffic will be forwarded there.

I have seen router/modems that blindly forwarded everything to the DMZ host if one was defined, regardless of the port forwarding settings. i.e. the DMZ host settings preempted the port forwarding settings. I don't say the Linksys is one, but it's a possibility.
Along with the above...

For the local network, check your win2k3 dns records. Make sure the local dns records are not pointing MX to the AD domain controller. This, I think, is the default if exchange and dns are on one box. Go to your local forward lookup zone (on the 2k3 box) for your domain and make sure the MX is pointed to your postfix server. It might be wise to delete the current MX record and create a new one. Don't forget to make a PTR record.

Exchange beating Postfix to the punch


EDIT: I forgot to mention the very first thing you need to do in the windows local forward lookup zone. Make sure your postfix server has an A record and make sure that windows clients can ping it based on fully qualified hostname. Who serves up dns for outside of your network?

Oh one other thing: does the router have upnp? try turning off all upnp stuff and do strait port forwarding. Also can you telnet to the postfix box from the local network?
That did it.

Yes! That did it. I followed your advice regarding the DMZ Host, UPNP and the DNS setup and that did the job. Now postfix on the ubuntu virtual appliance picks up the email and mailscanner begins scanning it immediately. I can watch it live by using the tail -f /var/log/mail.log command.

Now all I have to do is configure exchange to accept the relay and I'm really cooking with gas! Exchange beating Postfix to the punch

Thanks so much for your help guys.
I would have never figured out that upnp thing on my own. Exchange beating Postfix to the punch

This forum rocks!
sorry wrong forum


Related Articles

  • Exchange beating Postfix to the punch

    Exchange beating Postfix to the punchFebruary 6

    I am attempting to set up Postfix on a virtual machine using VMware in bridged mode. The idea is to scan my incomming mail and then forward it to Exchange for delivery. The vm is running on a Windows Server 2003 Standard. Exchange is running on a Sma

  • Importing emails from microsoft exchange to postfix-courier

    Importing emails from microsoft exchange to postfix-courierMarch 21

    Hello people. I have an Ubuntu Server 8.10 setup with postfix and courier-imap. I just built this server as an alternative to Microsoft Exchange which holds the current user accounts with their emails. Is there a way that I can export the emails from

  • how to migrate mail messagges from ms. exchange to postfix?

    how to migrate mail messagges from ms. exchange to postfix?August 11

    Hi, I have to migrate e-mail messagges from a ms exchange server to a postfix server. I have found nothing, the only thing I have in mind is to use fetchmail on the postfix server to get the e-mail messagges from the ms exchange server. Is this corre

  • Exchange with Postfix MX for technical accounts in same DOMAINFebruary 27

    I have organization configured with Exchange 2007 server with many technical accounts. I would like to migrate technical account to Postfix server with same domain At the moment my structure is: Exchange server <-> relay exchange <-> Internet

  • Sharing single SMTP domain between Postfix and ExchangeSeptember 3

    Greetings. I have a working Postfix configuration, but no Postfix admin. Mail is being correctly delivered to all recipients. Spam filtering, etc. all work fine. I want to configure Postfix to share a single SMTP domain and do the following: - if the

  • postfix as mx and outbound gw for exchangeJune 8

    Hi, As you guess,I want to run postfix with exchange together.Postfix server will have mx records for the domain.All e-mails will be forwarded to exchange as normal. Outgoing e-mail from exchange must forward to postfix server.Exchange will never sen

  • How do I forward all outbound mail sent from a given user in Exchange?September 21

    I need to forward (equivalent of BCC) all messages to/from a given user to another user on Exchange server 2003. Is this possible? I can do it for inbound using http://serverfault.com/questions/33261/how-to-add-an-email-forwarding-in-exchange-2003 bu

  • Mail sent from local Postfix marked as "possible phishing" in OutlookAugust 24

    Sorry for the newbie question--this is not my area of expertise by a long shot. I work at a small development shop and we finally got around to doing code reviews. (Yay!) I set up an instance of Review Board -- an open-source code review tool -- on o

  • postfix outbound mail configuration??September 16

    Hi all, I followed the postfix-spamassassin howto and configured postfix server in DMZ to relay incoming mails to exchange server.. but now I need to configure both exchange and postfix server for outgoing mails.. to make exchange server to relay mai

  • Postfix TLS connection not verifiedFebruary 24

    Hi! I am in the process of setting up postfix. What I want to achieve is trusted TLS connection between all internal parties. We deployed a PKI infrastructure with a Windows Server 2012 R2 CA for all internal certificates. We are using those postfix

  • connection refused to exchange server

    connection refused to exchange serverApril 13

    hello, i need help.. im trying to send email from postfix to exchange server (same network) but connection refused, but when i send email from exchange to postfix it successfully received. I tried to simulate this problem into my lab room (same set u

  • Postfix SMTP client not verifying against system-wide CA certs with tls_append_default_CAJanuary 18

    On my internet-facing Postfix SMTP server running Debian Wheezy, I'd like to set up a secure connection with some known servers. Some are my own, running my own PKI/CA, some are public SMTP servers like Google's Gmail servers. To check the certificat

  • Getting ClamAV and amavis back to serviceJanuary 6

    Hi there! I'm referring to my earlier post here. The time has come to put amavisd and ClamAV into service but I want to keep spamassasin and policydweight in service and in place. So that my roundcube-users can define their filterrules the same way a

  • IE8 Passes Acid2 Test, Web Standards Project Dies of Shock

    IE8 Passes Acid2 Test, Web Standards Project Dies of ShockDecember 20

    Although he goes out of its way to downplay the significance of the event, there is no missing the sense of achievement in the words of Microsoft's Dean Hachamovitch on the IEBlog today: I'm delighted to tell you that on Wednesday, December 12, Inter

  • To mkdir `*/pictures`July 30

    My folder tree . |-- 1 |-- 2 |-- 3 ... |-- 777 I would like to create the folder pictures to each folder. I run unsuccesfully mkdir */pictures One way is of course creating 777 mkdir -commands with Vim's regex. However, I would know how you can do th

  • EF Query With Conditional IncludeOctober 8

    I have two tables: a WorkItem table, and a WorkItemNote table. How do I return a WorkItem and all of the WorkItemNotes that meet a certain criteria? I think this should be simple, almost like a conditional "Include", right? --------------Solutio

  • Downloading Python 2.5.4 (from official website) in order to install it

    Downloading Python 2.5.4 (from official website) in order to install itApril 18

    I was quite hesitant about whether I should post this question here on "StackOverflow" or on "SuperUser", but finally decided to post it here as Python is more a programming language rather than a piece of software. I've been recently

  • Things to check for an internet-facing email serverMay 17

    I'm faced with the task of setting up a public-internet-facing email server, that will be relaying mail for all of our other servers in the network. While the software in itself is set up in few keystrokes, what little experience I have with managing

  • Qmail: relay only from selected servers based on rDNSJune 11

    I'm looking for a way to disable Qmail relaying for everyone, but allow one certain group of hosts to do so. These hosts all use the same identifying rDNS entry. In Exchange 2003, Postfix, Exim and cPanel this can be achieved pretty easily. However,

  • SMTP Relay to Multiple HostsSeptember 30

    I have a situation where I need to configure an MTA to relay messages for a single domain (@example.com) to multiple (3) seperate SMTP servers. Email for [email protected] received on SMTP-1 needs to be relayed/routed to SMTP-2, SMTP-3, & SMTP-4. Any

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.355 s.