Re: using postfix with exchange 2003
On Thursday, February 26, 2009 at 16:33 CET, Nick Smith nick.smit...@gmail.com wrote: Please excuse me if this has been discussed before, i tried searching the archives and the documentation and google and the info seems a bit dated and incomplete and for exchange 5.5. We have an exchange server 2003 (not sbs) at our office and several pop accounts which we pop for email to be delivered to accounts in AD. I would like fetchmail to pop the accounts to postfix and then have postfix hand them off to exchange. The first part i can do, but i dont know how to accomplish the latter. On the postfix docs page the first link is for exchange 5.5 and the second link doesnt seem to work anymore. Postfix doesn't care if the receiving server runs Exchange 5.5, Exchange 2003, or something completely different. these machine are both on the local network, is it possible to have postfix hand the mail off to be delivered to exchange? is it possible to do this in the transport mappings? Yes and yes. how would exchange know to except mail from this internal mail server? I assume that domains hosted by Exchange itself will be accepted regardless. Anyway, this is an Exchange question. how do i tell postfix to hand off the mail to the exchange server either by local ip address or other? You've answered your own question; use the transport table. Or, if DNS reports the Exchange server as the MX for the domain(s) in question you don't have to do anything at all. Can anyone post a link to a more recent way of making this work? We have a small office with less than 10 email boxes, and if there is a way to just manually setup the accounts on the linux box rather than using LDAP to query AD or exchange that would be a much easier route for me, if that can be done. You don't need any accounts for the Postfix part, just a transport table that routes certain recipients (or whole domains) to the Exchange server (assuming DNS won't do that job for us). You may need accounts for fetchmail, but since you said that the fetchmail part already is covered I'm confused. -- Magnus Bäck mag...@dsek.lth.se
Re: using postfix with exchange 2003
You don't need any accounts for the Postfix part, just a transport table that routes certain recipients (or whole domains) to the Exchange server (assuming DNS won't do that job for us). You may need accounts for fetchmail, but since you said that the fetchmail part already is covered I'm confused. Well i guess when i googled postfix exchange and started seeing all this LDAP to AD stuff i guess i confused myself, and im still confused as to how this is suppose to work, i dont mess with this often. Fetchmail pops email accounts via user/pass in config. hands all mail to postfix and postfix knows of the exchange server locally via dns? or does it check the internet dns and find out that the local exchange server is the receiver of the mail? I thought for sure id have to setup each account in postfix as well as fetchmail, so postfix what mail goes to what user. I might have answered my own question with the transport mappings, but i still dont know how to do it, could you provide some info on that, links? would the setup be different when dealing with exchange? is there a transport specifically for exchange? thanks for the help.
Re: using postfix with exchange 2003
On Thu, Feb 26, 2009 at 10:33:42AM -0500, Nick Smith wrote: Please excuse me if this has been discussed before, i tried searching the archives and the documentation and google and the info seems a bit dated and incomplete and for exchange 5.5. We have an exchange server 2003 (not sbs) at our office and several pop accounts which we pop for email to be delivered to accounts in AD. Exchange is just an SMTP server, in this conext the version is irrelevant. these machine are both on the local network, is it possible to have postfix hand the mail off to be delivered to exchange? Certainly, just route it there. is it possible to do this in the transport mappings? Yes. http://www.postfix.org/ADDRESS_REWRITING_README.html http://www.postfix.org/transport.5.html how would exchange know to except mail from this internal mail server? If Exchange is not connected to the Internet, configure it to accept all mail, otherwise allow the Postfix server. This is not a Postfix question. how do i tell postfix to hand off the mail to the exchange server either by local ip address or other? Add transport entries as necessary. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: mailto:majord...@postfix.org?body=unsubscribe%20postfix-users If my response solves your problem, the best way to thank me is to not send an it worked, thanks follow-up. If you must respond, please put It worked, thanks in the Subject so I can delete these quickly.
Re: using postfix with exchange 2003
On Thursday, February 26, 2009 at 17:12 CET, Nick Smith nick.smit...@gmail.com wrote: You don't need any accounts for the Postfix part, just a transport table that routes certain recipients (or whole domains) to the Exchange server (assuming DNS won't do that job for us). You may need accounts for fetchmail, but since you said that the fetchmail part already is covered I'm confused. Well i guess when i googled postfix exchange and started seeing all this LDAP to AD stuff i guess i confused myself, and im still confused as to how this is suppose to work, i dont mess with this often. Fetchmail pops email accounts via user/pass in config. hands all mail to postfix and postfix knows of the exchange server locally via dns? or does it check the internet dns and find out that the local exchange server is the receiver of the mail? Postfix will check with DNS (whatever nameserver you have configured it to use) and will use that information unless you override it with the transport table. I thought for sure id have to setup each account in postfix as well as fetchmail, so postfix what mail goes to what user. I might have answered my own question with the transport mappings, but i still dont know how to do it, could you provide some info on that, links? http://www.postfix.org/transport.5.html http://www.postfix.org/postconf.5.html#transport_maps Again, this is not necessary if your nameserver is setup to direct the messages to the right server. would the setup be different when dealing with exchange? is there a transport specifically for exchange? No. Postfix will speak SMTP to Exchange. -- Magnus Bäck mag...@dsek.lth.se