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 19th February 2013, 12:22
radec94 radec94 is offline
Junior Member
 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mailing with Postfix to other domains

So i'm having some troubles with Postfix on an Ubuntu Server 12.04, the thing is that i need Postfix to send and recive mails from domains other appart from mine. In fact, i just want it to work with the other domain on the other server on my own network. We are having 2 servers, each one with his own domain and they are both on the same network (172.16.9.20 and 172.16.3.20). I belive i need to configure the parameter "mynetworks" or "mydestinations" and something related with the "relay_hosts"
but i'm not sure.

Thanks for the help.

PD: Sorry for my english, it's not my main language.
Reply With Quote
Sponsored Links
  #2  
Old 22nd February 2013, 13:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

So you want server2 to send through server1 without authentication? Just add server2's IP to mynetworks (/etc/postfix/main.cf) on server1, and add server1's hostname to relayhost (/etc/postfix/main.cf as well) on server2. Restart Postfix on both servers.
__________________
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
Reply

Bookmarks

Tags
mail, postfix, server, ubuntu 12.04

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
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail-Problema jz_ HOWTO-Related Questions 9 14th September 2011 13:31
Postfix SMTP Auth to Dovecot Not Working -- HELP! Scratchpad Server Operation 6 12th April 2011 13:29
mail authentication failure - unknown user or password evok Installation/Configuration 9 16th October 2010 06:37
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39


All times are GMT +2. The time now is 06:49.


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