Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-31-2011, 03:19 AM   #1
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
Setup my postfix server to relay

Hi all,
I'm trying set up my home sendmail server (VM) to connect to my postfix server (VPS) to send emails. I've set up my postfix server and its already sending and receiving emails (clamd, smtp auth, spamassasin, dovecot already setup)

sendmail server VM ------>INTERNET------>Postfix server------->

Can someone someone please help? THanks.
Old 11-01-2011, 10:27 AM   #2
Registered: Oct 2011
Distribution: CentOS 5.9
Posts: 39

Rep: Reputation: 6
To do this, you will need to configure your home mail server's "smart host" in sendmail.

This will be done in your file. Which on my CentOS server is /etc/mail/, you may want to use locate or find to figure out where it is on your machine. One in that file, you will see a line that starts with DS. Modify this line to be DS and then the fully qualified domain name of your Postfix server


# "Smart" relay host (may be null)
Old 11-01-2011, 11:37 PM   #3
Registered: Sep 2009
Posts: 117

Original Poster
Rep: Reputation: 15
Thanks for the reply but I actually got it working. I did alot of googling around but found this great link:

Thanks again!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
SOLVED postfix error Relay access denied. trying to setup virtual domains periferral Linux - Networking 4 10-20-2009 03:51 PM
How to setup Mail Relay server on SUSE Linux ES9 using Postfix 2.1.2 su-se Linux - Newbie 10 09-12-2008 04:54 AM
Setup Postfix to relay mail globemast Linux - Newbie 1 11-01-2007 09:54 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
How to avoid making postfix setup an open relay??! lucastic Linux - Software 16 11-11-2003 11:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration