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
  #11  
Old 18th April 2008, 09:49
aragod aragod is offline
Junior Member
 
Join Date: Apr 2007
Posts: 11
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Right. I need to keep friend@domain in the db for authentication but need to send to friend@domain on a different server. In essence I now have one server that accepts emails and another that sends them (from email clients, web clients still connect to the primary server).
Reply With Quote
Sponsored Links
  #12  
Old 20th April 2008, 00:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I'd use Postfix transports for this. See
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
The Following User Says Thank You to falko For This Useful Post:
aragod (21st April 2008)
  #13  
Old 21st April 2008, 06:06
aragod aragod is offline
Junior Member
 
Join Date: Apr 2007
Posts: 11
Thanks: 1
Thanked 3 Times in 3 Posts
 
Default

Yep. That appears to have fixed it. Here is what I did (for others)

/etc/postfix/main.cf
#transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport
domain1.com smtpriginalmailserver.net
domain2.com smtpriginalmailserver.net

where the mx record of domain1 & 2 points to orginalmailserver.net

Thanks a ton.
Reply With Quote
The Following User Says Thank You to aragod For This Useful Post:
falko (22nd April 2008)
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
SASL authentication problem _Alien__ HOWTO-Related Questions 17 24th June 2010 14:15
SASL - SMTP Auth - authdaemond - Berkeley db /etc/sasldb2 nightmare digumo Server Operation 0 24th November 2007 21:36
mail problem - relay access denied - maybe sasl auth??? bss Installation/Configuration 2 10th January 2007 15:09
postfix smtp sasl auth problem hammer Installation/Configuration 1 13th July 2006 19:19
postfix auth problem (sasl) lerra Installation/Configuration 40 11th May 2006 00:36


All times are GMT +2. The time now is 23:39.


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