The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Emails on HP-UX Phuti UNIX for Dummies Questions & Answers 0 03-26-2008 05:22 AM
sendmail only sends emails to its own domain jjwood64 AIX 3 01-24-2008 12:27 PM
Help me in receiving,validating emails and save them in local directory sudharsanc UNIX for Advanced & Expert Users 4 11-20-2007 06:36 AM
Check incoming mail to sendmail kingdbag UNIX for Dummies Questions & Answers 1 01-25-2007 11:32 PM
not receiving email xyz Forum Support Area for Unregistered Users & Account Problems 2 10-20-2005 11:30 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-23-2005
Kinki Kinki is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 16
Question Check sendmail is not receiving any emails

Hi all,
Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux.
Using this command "ps -ef | grep sendmail | grep -v grep".
Or is there any better command?
The above command will give me a line with "-q15m".

The problem is i need to check that this service is only for delivering emails and Not for receiving any emails.
How do i go about writing the script for Solaris and Linux?

Thank you in advance for some advice.
 

Bookmarks

Tags
grep or, linux, sendmail

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 10:44 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