LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SMTP Server (https://www.linuxquestions.org/questions/linux-newbie-8/smtp-server-4175460069/)

karlochacon 04-29-2013 04:42 PM

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


acid_kewpie 04-30-2013 12:19 PM

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


All times are GMT -5. The time now is 07:42 AM.