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.
Thread Tools Display Modes
Old 19th February 2013, 13: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 ( and 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
Old 22nd February 2013, 14:20
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

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.
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


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

All times are GMT +2. The time now is 17:16.

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