PDA

View Full Version : [ubuntu] Mail relay to Exchange


supanatral
August 24th, 2009, 04:40 PM
I'm trying to setup Ubuntu 9.04 with Postfix as a mail relay to Exchange 2007. Is there a good tutorial on that? I'm pretty new to postfix so if there's an easier way I'm open to other ideas as well.

HermanAB
August 24th, 2009, 05:51 PM
If the only thing you need to do is relay to a specific mail server, then nullmailer would be the simplest solution. You only need to configure two things: Who are you and where to send the mail to. Google will find it for you.

supanatral
August 25th, 2009, 08:49 AM
Can I somehow test it? how do I make sure that it doesn't become an open relay for spam?

HermanAB
August 25th, 2009, 10:00 AM
What, nullmailer? It is too simple to do anything wrong - like I said, there are only two things to configure: Who you are and where to send the mail to. Google the web site and read all about it.

scuzzell
November 6th, 2009, 08:58 PM
@HermanAB: THANK YOU! I have been fighting with sendmail trying to get it to relay mail for two days now. For some reason it would relay for some addresses but not others no matter how I configured it. I already have a fully functional mail server running on my LAN so nullmailer works beautifully for allowing php to send mail through my existing mail server from apache. Elegantly simple. I never want to look at /etc/mail/sendmail.mc again ;)

~Russell