Sponsored Content
Top Forums Shell Programming and Scripting Check sendmail is not receiving any emails Post 63166 by Kinki on Wednesday 23rd of February 2005 05:36:38 AM
Old 02-23-2005
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help me in receiving,validating emails and save them in local directory

hi, I'm working on a project where I get mails from different customers, what I need to do is I need to check if it is genuine mail and if there is any attachment I need to validate them and extract the message and save in the local directory as a text file say and then I need to direct it to... (4 Replies)
Discussion started by: sudharsanc
4 Replies

2. AIX

sendmail only sends emails to its own domain

Hi, folks! I have a problem with an AIX 5.3 server running sendmail where it is able to send messages within its own domain just fine. This is being used for a web email service portion of a web site. However, when it attempts to send email to any other domain -- i.e., hotmail.com -- it... (3 Replies)
Discussion started by: jjwood64
3 Replies

3. UNIX for Dummies Questions & Answers

run a perl.script upon receiving an email in Sendmail

Hi All I am newbie with Sendmail and Linux in general. We use sendmail for outgoing and incoming mails. Once our server receives a certain email xxx@yyy.com we would like to run a PERL script doing some task wiht it. Can you address me a little bit on that topic? In order to do that the... (0 Replies)
Discussion started by: manustone
0 Replies

4. Programming

how to check port binding in pcap receiving program?

hi, I am writing one packet receiving program using libpcap library. Now, I want to check port is already using or not. how to check in receiver program.. If normal program, bind return value we can able to check the port using or not. but, in pcap program how can i check? thank... (1 Reply)
Discussion started by: ram.sj
1 Replies

5. Red Hat

Sendmail fails receiving mail since the IP changed on Redhat Server

Hi, Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip... (3 Replies)
Discussion started by: lamoul
3 Replies

6. Solaris

How to check the number of emails sent out from the Solaris server

Our solaris are configured to send out email and i would like to know the number of emails sent out from the solaris server. Anyone know can this be done? Thanks (1 Reply)
Discussion started by: sirius20d
1 Replies

7. UNIX for Advanced & Expert Users

mailx Vs sendmail to send internal emails to exchange

Hi Gurus, I have been searching for this around, but sendmail seems complicated and not sure if "mail" command would do, since all what I need to send internal emails from my solaris 10 box to our exchange server. Would the mailx or mail command do ? I tried the : # mailx -s test... (2 Replies)
Discussion started by: aladdin
2 Replies

8. Linux

Sendmail takes too long to start and the host is unable to send emails

Hello All, Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx? # time service sendmail restart Shutting down sm-client: Shutting... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

9. AIX

Sendmail daemon is inactive, but still i can send emails

Hi, I did setup sendmail on one of AIX LPARs. Its working as expected. But, would like to clarify something with you all. I stopped the sendmail daemon on AIX LPAR, now it is inactive(&commented it on /etc/rc.tcpip ). But still, am able to send the emails even after stopping daemon. ... (6 Replies)
Discussion started by: system.engineer
6 Replies

10. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies
WEDGED(8)						      System Manager's Manual							 WEDGED(8)

NAME
wedged - HylaFAX modem wedged script SYNOPSIS
/var/spool/hylafax/bin/wedged devid device DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the faxq(8) process automatically disables use of the modem for servicing outbound jobs. The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac- ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem. If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in an effort to recover the modem. FILES
/usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-config(5) October 3, 1995 WEDGED(8)
All times are GMT -4. The time now is 09:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy