Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th February 2008, 16:20
jokn jokn is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yet another Postfix smarthost question

Hi!

This question might be the same as http://www.howtoforge.com/forums/showthread.php?t=20294 but I am as new to this as the poster above and I don't know if the answer applies to me.

Here is the problem (don't panic, the MS stuff is just background, not part of the question...): I have a customer with their own Exchange box, the box uses POP3 to get email from their company's ISP. What I wan't to do is use our "Perfectly setup Suse 10.2" to act as a smarthost for the branch office here since neither the ISP here nor the ISP at HQ is willing to provice a smarthost for them.

Should be easy enough, I thought earlier today, when I was using qMail at my previous employer I just added a new domain at the end of virtusertable and reloaded qMail. Things seem more complex in Postfix though and I can't find a good newbie guide to set this up.

In short, my customer have their own /29 network, they share the email domain with their parent company and they have no other way of sending mail to their collegues with the same @somecompany.tld since that needs to be done using a smarthost witch I don't know how to set up....

Hope someone can shed some light, and bear in mind, I'm really new to this!

Thanks!

/Jonas
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2008, 19:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Take a look here: http://www.howtoforge.com/postfix_re...her_mailserver
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th February 2008, 09:35
jokn jokn is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Falko, thanks for the reply! Unfortunately the problem is worse than this.

What I need is to set up my Postfix server to relay mails from a customer who shares an email domain between two servers, their company headquarters has an ISP in Finland where the domain is housed, and the branch office here in Sweden has an Exchange server they want to use with the same domain. They use POP3 to get their email and DNS to send, this works fine to everyone in the world except for their collegues on the same email domain. This is because Exchange thinks it is authorative for the entire domain and doesn't send emails out via DNS when it thinks it is local delivery.

The solution is using a smarthost, and this is where my Postfix server comes in. The ISP for the branch office here in Sweden does not provide a smarthost since there is no limitation on port 25 and they simply say "set up your own server". I thought of using the finnish SMTP-server but that doesn't work either, when you telnet to smtp.taajama.com, the server they use at the headquarters, you get a very strange response, it just doesn't seem to accept any commands sent to it... and it doesn't accept emails sent from the server here in Sweden.

In Sendmail and qMail which I've used in the past you simply add the domain you want to accept and relay for in a configuration file on the server and restart the mail daemon but things seem more complex in Postfix and I haven't been able to find a nice newbie guide to get it working.

Hope this clears up my question!

/Jonas
Reply With Quote
  #4  
Old 15th February 2008, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

You might be able to do this with Postfix transports. Take a look at
Code:
man 5 transport
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th February 2008, 09:53
jokn jokn is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

That might be the solution, I'll try it out.

Thanks!

/Jonas
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: connection refused error tosin Server Operation 1 30th October 2007 17:30
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 15:33
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 05:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.