Correction: the file I was talking about is /etc/rc.d/init.d/sendmail not
/etc/initd/sendmail

> -----Original Message-----
> From: Alex Miller [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 17, 1999 8:54 AM
> To: [EMAIL PROTECTED]
> Subject: RE: TEST.receive failure
>
>
> Thanks, not rebooting would cause the problem but I did reboot, I
> wish it were that simple. I still get a disconnect when I execute
> telnet 127.0.0.1 25
> My present theory is that I did not properly comment out the line
> in the sendmail file in init.d
>
> In the REMOVE.sendmail file the first step reads:
>
> 1. Find sendmail in your boot scripts. It's usually in either
> /etc/rc or /etc/init.d/sendmail. It looks like
>      sendmail -bd -q15m
> -q15m means that it should run the queue every 15 minutes; you
> may see a different number. Comment out this line.
>
> Well, my /etc/init.d/sendmail file does not contain the line,
> well, not written out so nicely. It seems to build that line in a
> long set of conditional statements building it up piece by piece.
> I thought I commented out the right part but I'm not sure now.
>
> The following is the contents of 2 files sendmail.~ (the original
> file) and sendmail, my effort to comment out the appropriate line:
>
> ***************************************************************
> sendmail.~ (the original file)
> ***************************************************************
> # Check that networking is up.
> [ ${NETWORKING} = "no" ] && exit 0
>
> [ -f /usr/sbin/sendmail ] || exit 0
>
> # See how we were called.
> case "$1" in
>   start)
>       # Start daemons.
>       echo -n "Starting sendmail: "
>       daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
>                                   $([ -n "$QUEUE" ] && echo -q$QUEUE)
>       echo
>       touch /var/lock/subsys/sendmail
>       ;;
>   stop)
>       # Stop daemons.
>       echo -n "Shutting down sendmail: "
>       killproc sendmail
>       echo
>       rm -f /var/lock/subsys/sendmail
>       ;;
>   restart)
>       $0 stop
>       $0 start
>       ;;
>   status)
>       status sendmail
>       ;;
>   *)
>       echo "Usage: sendmail {start|stop|restart|status}"
>       exit 1
> esac
>
> exit 0
>
> ***************************************************************
> sendmail (my modified file)
> ***************************************************************
> #!/bin/sh
> #
> # sendmail      This shell script takes care of starting and stopping
> #               sendmail.
> #
> # chkconfig: 2345 80 30
> # description: Sendmail is a Mail Transport Agent, which is the program \
> #              that moves mail from one machine to another.
> # processname: sendmail
> # config: /etc/sendmail.cf
> # pidfile: /var/run/sendmail.pid
>
> # Source function library.
> . /etc/rc.d/init.d/functions
>
> # Source networking configuration.
> . /etc/sysconfig/network
>
> # Source sendmail configureation.
> if [ -f /etc/sysconfig/sendmail ] ; then
>       . /etc/sysconfig/sendmail
> else
>       DAEMON=yes
>       QUEUE=1h
> fi
>
> # Check that networking is up.
> [ ${NETWORKING} = "no" ] && exit 0
>
> [ -f /usr/sbin/sendmail ] || exit 0
>
> # See how we were called.
> case "$1" in
>   start)
>       # Start daemons.
>       echo -n "Starting sendmail: "
>
> #     daemon /usr/sbin/sendmail $([
> #"$DAEMON" = yes ] && echo -bd) \
> #                            $([ -n
> #"$QUEUE" ] && echo -q$QUEUE)
>       echo
>       touch /var/lock/subsys/sendmail
>       ;;
>   stop)
>       # Stop daemons.
>       echo -n "Shutting down sendmail: "
>       killproc sendmail
>       echo
>       rm -f /var/lock/subsys/sendmail
>       ;;
>   restart)
>       $0 stop
>       $0 start
>       ;;
>   status)
>       status sendmail
>       ;;
>   *)
>       echo "Usage: sendmail {start|stop|restart|status}"
>       exit 1
> esac
>
> exit 0
>
>
> > -----Original Message-----
> > From: Alex Miller [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 17, 1999 12:29 AM
> > To: [EMAIL PROTECTED]
> > Subject: TEST.receive failure
> >
> >
> > I have run through the test.deliver tests and it seems okay, as
> near as I
> > can tell.
> >
> > So, I did the remove of sendmail steps and set up qmail to start
> > by itself.
> > Everything seems ok, except for receiving remote mail
> >
> > I tried:
> >
> > TEST.recieve
> >
> > the first step is to run a telnet session.
> >
> > Here's what happens
> > telnet 127.0.0.1 25
> > Trying 127.0.0.1...
> > Connected to 127.0.0.1
> > Escapee character is '^]'
> > Connection closed by foreign host.
> >
> > So somehow post 25 is failing.
> >
> > I tried sending myself an email remotely but it's been more than
> > 5 hours and
> > nothing has bounced back and I can't seem to see any indication in the
> > /var/log/maillog of an attempt to deliver.
> >
> > Alex Miller
> >
> >

Reply via email to