The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
hp ux not sending mail kkhan HP-UX 3 01-31-2008 07:27 PM
Sending mail thru HP-UX medisetti HP-UX 1 02-22-2007 03:08 PM
Sending Error msg from HP-UX to E-mail address cgege HP-UX 1 08-05-2004 03:41 AM
Error when sending mail attachment dbrundrett UNIX for Dummies Questions & Answers 1 01-08-2004 02:26 AM
sending a mail to a mail client solaris73 UNIX for Dummies Questions & Answers 5 11-18-2002 09:58 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2007
kkc kkc is offline
Registered User
 

Join Date: Oct 2007
Posts: 12
sending mail error.. help

help i get this error when i sending a mail

send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed


this is my coding

echo "$PRONAME is being restart" | mailxs "Subject:Process" "sally@$THISHOST"

i wish to send this mail to my another user... so need helop!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-09-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,128
There are some variants : postfix is not installed properly, the "main.cf" file has been deleted, or your have no rights to use it . Is this attempt made from non-root user ? Is there a number for this error code ? Do you have rights to look at the logs ? What is the OS ? Do you have SELinux enabled ?
Reply With Quote
  #3 (permalink)  
Old 10-16-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Quote:
Originally Posted by kkc View Post
help i get this error when i sending a mail

send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed


this is my coding

echo "$PRONAME is being restart" | mailxs "Subject:Process" "sally@$THISHOST"

i wish to send this mail to my another user... so need helop!
can you post more information like the OS ?.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0