LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2011, 09:15 AM   #1
Glacoras
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
Use an internal mail server to send E-Mails for a non-mail server


I have recently been asked by my boss to implement E-Mail alerts on some Backup scripts to be sent to me and another person.

I editted one of the Backup scripts on a mail server and they appear to be working without problems (ie, the backup job runs successfully and I get told so via E-Mail). However, when I implemented this script onto another, non-mail server, it would not send E-Mail confirmations.

The only server that is allowed to send E-Mails to the outside world is the mail server, so I did not expect the script to work without any fine-tuning. However, I thought I could direct the non-mail server to send an E-Mail through the mail server. I just can't find out how to do it.

The servers are running Ubuntu 9.04 64bit. The mail server is using postfix and dovecot for email, and is also the DNS server for that particular network section. The non-mail server should be installed with the default server install (exim4). If possible, I do not want to install any new programs on either server.


Please could someone help me get the non-mail server to use the mail server to send out E-Mails?
 
Old 04-28-2011, 10:20 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
It's safest to have a mail server on the machine running the backup scripts, even if only to relay to the company mail server. Second best is for that machine to use a mail client that allow you to specify an smtp server, i.e. the mail client will relay to the company mail server. You can use mutt or a recent mailx for that.
 
1 members found this post helpful.
Old 05-03-2011, 07:55 AM   #3
Glacoras
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Would I be able to perform this task using exim4, pointing to a postfix/dovecot server on the same network?

I can't see why I wouldn't be able to.
 
Old 05-03-2011, 12:23 PM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
exim sounds like a plan.
 
  


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
Switching to google mail want internal server to send now points to external Eileen1 Linux - Newbie 1 03-25-2009 11:07 PM
How to allow roaming mail client to send mails via its mail server satimis Linux - Server 0 01-28-2009 08:59 AM
To restrict a user to send mails only to 3 e-mails IDs using postfix mail server sharath41 Linux - Newbie 2 07-21-2008 07:38 PM
how to restrict a user to send mails only to 3 email IDs in postfix mail server sharath41 Linux - Server 1 07-04-2008 03:40 PM
mail server: just send mails out, but not receive hamish Linux - Software 4 02-27-2005 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:37 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