Sponsored Content
Operating Systems Solaris Problem starting Sendmail on Solaris 9 Post 302131588 by hegemaro on Sunday 12th of August 2007 04:47:34 PM
Old 08-12-2007
Okay, so you're not running in daemon mode. Check /etc/init.d/sendmail and search for the variable "MODE". (Note that I'm running Solaris 8 at home and I'm not sure of, if any, differences).

In Solaris 8, the /etc/init.d/sendmail script will source /etc/default/sendmail setting various environment variables: MODE, QUEUEINTERVAL, and OPTIONS. These are used to call /usr/lib/sendmail. Verify that this is true for Solaris 9 (it should be). You see something like this in the init script:

if [ -f /etc/default/sendmail ]; then
. /etc/default/sendmail
fi


Then create /etc/default/sendmail as:
Code:
MODE="-bd"
QUEUEINTERVAL="15m"

Stop and start sendmail with the init script and you should see:

root 10123 1 0 Aug 12 ? 0:00 /usr/lib/sendmail -bd -q15m

Be prepared that this will open a whole can of worms with regard to email security. You current mode is sufficient -- with some tweaking of /etc/mail/sendmail.cf -- to route mail off of the system but it prevents email coming into or being routed by it, either intentionally or maliciously.

Good Luck!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

starting Apache on Solaris 8

I am not by any means a UNIX guru if you can't already tell by the question I'm about to ask. How do I launch Apache web server on my SOlaris 8 server without rebooting it? Any help would be much appreciated!!! -Thanks (5 Replies)
Discussion started by: jskillet
5 Replies

2. Solaris

Just starting my Solaris 10 upgrade - Need Help

When I downloaded the Solaris 10 from Sun it gave me 4 zipped files with the extension iso. For an example - one file is sol-10-u1-ga-sparc-v4-iso the other three are the same except they are v3, v2 and v1 Am I supposed to unzip these files and still burn them as an ISO? Also why did... (11 Replies)
Discussion started by: PapaPark
11 Replies

3. Solaris

Starting NFS server Solaris 10

Whenever I start nfs/server using "svcadm -v enable" it appears to start up. But when I look for daemons such as nfsd I don't see any. So I checked the manifest logs for nfs/server and it's telling me the NFS service gets enabled and then immediately disabled with a stop 102. All the... (2 Replies)
Discussion started by: bdsffl
2 Replies

4. Solaris

sendmail problem on Solaris 10

Hi All, I am facing problem while sending mail using "mail" & "sendmail" commands from my Solaris 10 system. When I send the mail, it moves it to dead.letter & generates following error messages in /var/log/syslog file; Feb 22 14:20:14 ppip1n sendmail: l1M8oDEE008601:... (10 Replies)
Discussion started by: jumadhiya
10 Replies

5. AIX

sendmail/ntp/qdaemon not starting automaticlly after reboot ?!

Hi all, I have a small problem, after a reboot the following services do not start automaticly, like they are supposed to do even though they are commented in in /etc/rc.tcpip sendmail xntpd qdaemon snmpd snmpmibd aixmibd hostmibd why ?!?! anybody ? :confused: (3 Replies)
Discussion started by: art
3 Replies

6. UNIX for Advanced & Expert Users

problem starting a process on solaris from other user

Hi Gurus, I have a server that has to users. 1) root 2)net1 there are several processes running on my server one of the process is CMIS_STACK process which is a compiled C code when this process goes missing then i restart this process manually in the following manner ... (2 Replies)
Discussion started by: asalman.qazi
2 Replies

7. Solaris

Session starting problem

When i start a CDE session on Solaris 9 it starts the Gnome desktop for like five minutes with nothing on the screen except the background then it enters the CDE environment and when I enter (new session) Gnome environment it takes 5 to 10 minutes then the session starts so I wounder why it... (8 Replies)
Discussion started by: darkman
8 Replies

8. Solaris

Problem starting x11vnc on solaris 9

Hello, I installed x11vnc on a solaris 9 server. #SunOS gandalf 5.9 Generic sun4u sparc SUNW,Ultra-60 When i run x11vnc i get following errors bash-2.05# /usr/local/bin/x11vnc -display :0 17/06/2010 23:34:08 x11vnc version: 0.9.9 lastmod: 2009-12-21 pid: 16203 17/06/2010 23:34:15... (0 Replies)
Discussion started by: sunny_a_j
0 Replies

9. Solaris

Starting X on Solaris 11?

Hi friends, Hope everyone is fine and doing well. I have just installed Solaris 11, and everytime I boot my machine, I face the command prompt. Could you please tell me how I can setup the graphical environment, like gnome kde etc.??? Thanks in advance! (5 Replies)
Discussion started by: gabam
5 Replies

10. HP-UX

Problem with starting

Dear all Once i try to change some configuration files for internet connections and after that i have problem to start the system. it get to at logo of HP UX and repeat the same starting procedure all the time. What can i do here? I am beginner at HP UX. (1 Reply)
Discussion started by: panoupanou
1 Replies
mailstats(8)						      System Manager's Manual						      mailstats(8)

NAME
mailstats - Displays statistics about mail traffic SYNOPSIS
mailstats [-o] [-C cffile [-f stfile] FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send- mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st. DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the sendmail.cf file. EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6 43 59K 58 99K 0 0 smtp ============================================================ T 93 136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer. Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer. If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st. FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail RELATED INFORMATION
Commands: sendmail(8) delim off mailstats(8)
All times are GMT -4. The time now is 08:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy