LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-26-2007, 04:57 PM   #1
dgr
LQ Newbie
 
Registered: Aug 2007
Posts: 25

Rep: Reputation: 15
sendmail/mail -> SMTP works through Evolution but not in BackupEDGE or terminal


Hello,

Recently we setup a new Red Had Linux server and which had a purchased and installed copy of BackupEDGE. I went through the steps in the Notifier and Edit Backup Schedule screens to have the system e-mail myself and my boss when a backup runs and completes or fails every morning at 1am. However, I or my boss have never received any notifier e-mails from BackupEdge.
A few days ago I altered the define('SMART_HOST','smtp.mymailserver.net')dnl line in sendmail.mc in /etc/mail to go to my mail server, saved it, Make'd it as it said to do, then used the built-in Evolution mail client, set it to use Sendmail instead of SMTP for sending mail out and was able to successfully send a couple of e-mails from the server through our mail hosting company to my office pc, so it seems like sendmail works, at least in Evolution??

But if I go to a terminal prompt & type "mail myself@mycompany.com" at the terminal prompt, then I put in my subject, then the body of the message, then ctrl-c to end the body and hit enter at the cc: then the Terminal responds "You have mail in /var/spool/mail/root". I opened the text file in that directory and it showed the message I just composed and in the header of it talked about the Final-Recipient being my e-mail address, action: failed, status: 5.1.8, diagnostic-code: smtp; 553 5.1.8 <root@cab.local>...Domain of sender address root@cab.local does not exist
This root file is also where all the logs are going from the BackupEDGE program.
Also, In BackupEDGE, the Command: line in the Notifier screen is set as
|/bin/mail -s %S %n

Is the problem that some portion of mail/sendmail doesn't know my SMTP server address so it can send the e-mail out on it? If so, where do I configure that? Is that information put somewhere in sendmail.mc in /etc/mail or some other file?


thanks in advance,
david
 
Old 09-27-2007, 08:44 AM   #2
dgr
LQ Newbie
 
Registered: Aug 2007
Posts: 25

Original Poster
Rep: Reputation: 15
can anyone help me with this issue?
thanks in advance,
david
 
Old 09-28-2007, 08:23 AM   #3
dgr
LQ Newbie
 
Registered: Aug 2007
Posts: 25

Original Poster
Rep: Reputation: 15
can anyone help me with this issue?
thanks in advance,
david
 
  


Reply

Tags
mail, sendmail, smtp, working


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
sendmail/mail -> SMTP works through Evolution but not in BackupEDGE or terminal dgr Red Hat 4 09-26-2007 04:54 PM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 02:27 AM
Error with SMTP sending mail on Evolution 2.4.0 on Suse 10.0 The Jedi Linux - Newbie 2 07-22-2006 12:45 PM
Sendmail does not send mail from Evolution Borniet Linux - General 3 01-20-2006 08:58 AM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 04:49 AM


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