LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-29-2013, 04:42 PM   #1
karlochacon
Member
 
Registered: Dec 2006
Posts: 107

Rep: Reputation: 17
SMTP Server


hi guys

Basically I have this environment:

Backup Server Network 192.168.5.x
Production Server with Internet access: 192.168.6.x of course IPs mapped to a public IP.

I need to configure a SMTP Server to send emails notifying us that backups are done successfully everyday.
I was thinking to setup postfix, basically what I need to setup is a SMTP Server, that send email from server_backups@external_IP.com
to myname@mycompany.com

is an internal server which is not attach to domain

would this be the Postfix configuration?
Code:
myhostname = smtp_server
# mydomain = mycompany.com I think does not apply
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 192.168.6.0/26, public_IP/24, 127.0.0.0/24
 
Old 04-30-2013, 12:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
if all you want to do is throw email out to an existing mail server, check out one of the simple relays like ssmtp or esmtp. Much simpler than running a full smtp service
 
  


Reply


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
how to use sendmail as smtp server instead of my isp smtp server h.haider Red Hat 8 04-07-2011 03:34 AM
Server configuration for small office server, which smtp, pop imap server and backup whitelinux Linux - Server 4 04-06-2010 11:26 AM
How i use my local smtp server and smtp server of my domain registrar simultaniosly Sanjeesh Linux - Networking 5 11-29-2008 05:07 AM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM


All times are GMT -5. The time now is 10:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration