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 and shell scripting languages 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 11:27 PM
Sending mail thru HP-UX medisetti HP-UX 1 02-22-2007 07:08 PM
Sending Error msg from HP-UX to E-mail address cgege HP-UX 1 08-05-2004 07:41 AM
Error when sending mail attachment dbrundrett UNIX for Dummies Questions & Answers 1 01-08-2004 06:26 AM
sending a mail to a mail client solaris73 UNIX for Dummies Questions & Answers 5 11-18-2002 01:58 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread 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!
  #2 (permalink)  
Old 10-09-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
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 ?
  #3 (permalink)  
Old 10-16-2007
diegolamalfa diegolamalfa is offline
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 ?.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0