From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5536f97075f32148 X-Google-Attributes: gidfee84,public From: "Marco Benton" Subject: Re: HELP! Update Problem! Date: 1999/10/11 Message-ID: #1/1 X-Deja-AN: 535545881 References: <3800eb8e.232267@news.accesscable.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@mediaone.net X-Trace: ndnws01.ne.mediaone.net 939677001 24.218.144.71 (Mon, 11 Oct 1999 17:23:21 EDT) Organization: eXpert Systems Solutions X-MSMail-Priority: Normal Reply-To: "Marco Benton" NNTP-Posting-Date: Mon, 11 Oct 1999 17:23:21 EDT Newsgroups: comp.unix.osf.osf1 did you try starting sendmail manually? are there any other programs bound to this port? you know if mail works when you can telnet into port 25. -- Marco Benton eXpert Systems Solutions http://www.xssnet.com "Da Original - Bastard Operator from Hell" luser /loo'zr/ n. A user; esp. one who is also a loser. ( luser and loser are pronounced identically.) 4x4 wrote in message news:3800eb8e.232267@news.accesscable.net... > 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 >