Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hx_101@hotmail.com (4x4)
Subject: Re: HELP! Update Problem!
Date: 1999/10/10	[thread overview]
Message-ID: <380626e5.15426036@news.accesscable.net> (raw)
In-Reply-To: 3800eb8e.232267@news.accesscable.net

getting the following error:
Error connecting to mail server: Can't connect to xxx.xxx.xx,25:
Connectio

Is this a port problem???


On Sun, 10 Oct 1999 19:46:16 GMT, hx_101@hotmail.com (4x4) wrote:

>Hi everyone, I just did an upgrade from DU 4.0 - 4.0d.... The only
>problem is that my mail is not working at all. I get the message
>unable to start mail service........
>
>The script in /sbin/rc2.d/K30sendmail  will not start sendmail.......
>
>The script*************
>
>#!/sbin/sh
>
>#
>#
># OSF/1 Release 1.0
>
>PATH=/sbin:/usr/sbin:/usr/bin
>export PATH
>
>ARGS=`rcmgr get SENDMAIL_ARGS`
>ARGS=${ARGS:-"-om"}		# D'flt: send to sender too
>
>MQUEUE=/var/spool/mqueue
>
>#
># Number of days before pruning out dead files.
>#
># TIMEOUT_QUEUERUN should be set to the number of days before a mail
>#   message is rejected, with RFC 1123 recommending a minimum of 4-5
>days.
>#   This value should correspond (or be greater than) the value in the
>#   sendmail.cf file.  By default, sendmail V8 uses 5 (O
>Timeout.queuerun=5d),
>#   while other sendmail pkgs typically used 3 (OT3d).
># CLEAN_MISC is used to clean out other queuefile cruft, while
># CLEAN_DEAD is used to clean out dead letters and core files.
>#
># Note: find actually adds a day to these numbers, so if you specify
>#   5, it will clean out files >= 6 days old.
>#
>TIMEOUT_QUEUERUN=5
>CLEAN_MISC=2
>CLEAN_DEAD=7
>
>cleanqueue() {
>    # Cleans out any old files from the Queue directory.
>    #
>    # If you wish to save any file, rename it or put it in a
>subdirectory,
>    # e.g. $MQUEUE/save.d/core
>
>    # Find all the old files
>    find $MQUEUE \( \( -name '[xtlnQT]f*' -mtime +$CLEAN_MISC \) -o \
>    \( \( -name core -o -name dead.letter \) -mtime +$CLEAN_DEAD \) -o
>\
>    \( -name '[dq]f*' -mtime +$TIMEOUT_QUEUERUN \) \) -print |
>	while read name; do
>	    # Remove *only* the files directly in $MQUEUE
>	    if [ `dirname $name` = $MQUEUE ]; then
>		rm -f $name
>	    fi
>	done
>}
>
>
>case "$1" in
>'start')
>	set `who -r`
>	if [ "$9" = "S" ]; then
>		if [ -f /usr/sbin/sendmail ]; then 
>			# cleanqueue
>			# Frozen configs not supported
>			# /usr/sbin/sendmail -bz
>			/usr/sbin/sendmail -bi
>
>			# Use rcmgr to modify the command line args;
>			# if multiple "-q" args are given, the last
>one wins
>			/usr/sbin/sendmail -bd -q15m ${ARGS} &
>
>			echo "SMTP Mail Service started"
>		else
>			echo "Unable to start SMTP Mail Service, No
>/usr/sbin/sendmail"
>			exit 1
>		fi
>	else
>		echo "Unable to start SMTP Mail Service, Run level
>must be S"
>		exit 1
>	fi
>	;;
>'stop')
>	pid=`/bin/ps -e | grep sendmail | grep connection | sed -e
>'s/^  *//' -e 's/ .*//' | head -1`
>	if [ "X$pid" != "X" ]; then
>		/bin/kill $pid
>	else
>		echo "No pid for SMTP Mail Service found"
>		exit 1
>	fi
>	;;
>'restart')
>	/sbin/init.d/sendmail stop
>	if [ $? -ne 0 ]; then
>		echo "  -- Could not find running sendmail -
>attempting to restart..."
>	fi
>	sleep 2
>	pid=`/bin/ps -e | grep sendmail | grep connection | sed -e
>'s/^  *//' -e 's/ .*//' | head -1`
>	if [ "X$pid" != "X" ]; then
>		sleep 3
>		pid=`/bin/ps -e | grep sendmail | grep connection |
>sed -e 's/^  *//' -e 's/ .*//' | head -1`
>		if [ "X$pid" != "X" ]; then
>			echo "Could not kill SMTP Mail Service" 
>			echo "  -- Kill sendmail by hand then do a
>start"
>			exit 1
>		fi
>	fi
>	/sbin/init.d/sendmail start | sed -e 's/start/restart/'
>	;;
>clean)
>	cleanqueue
>	;;
>*)
>	echo "usage: $0 {start|stop|restart|clean}"
>	;;
>esac




  reply	other threads:[~1999-10-10  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-10  4:00 HELP! Update Problem! 4x4
1999-10-10  4:00 ` 4x4 [this message]
1999-10-11  4:00   ` 4x4
1999-10-11  4:00 ` Marco Benton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox