LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-31-2011, 03:19 AM   #1
L1nuxn00b703
Member
 
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)


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


Can someone someone please help? THanks.
 
Old 11-01-2011, 10:27 AM   #2
Toggan
Member
 
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 sendmail.cf file. Which on my CentOS server is /etc/mail/sendmail.cf, 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

Example:

Code:
# "Smart" relay host (may be null)
DSsmtp.yourdomain.com
 
Old 11-01-2011, 11:37 PM   #3
L1nuxn00b703
Member
 
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:

http://www.linuxha.com/other/sendmail/index.html

Thanks again!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 PM.

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