Okay, I have this running in (4.5) stable.

A few lines caused some problems.

To get it working I did this

--- /usr/src/etc/sendmail/rc.sendmail   Fri Mar 29 19:50:55 2002
+++ /etc/rc.sendmail    Fri Mar 29 21:22:52 2002
@@ -47,15 +47,15 @@

 # The sendmail binary
-sendmail_program?=     /usr/sbin/sendmail

 # The pid is used to stop and restart the running daemon(s).
-sendmail_pidfile?=     /var/run/sendmail.pid
-sendmail_mspq_pidfile?=        /var/spool/clientmqueue/sm-client.pid

 # If no argument is given, assume we are being called at boot time.
-_action=       ${1:-boot}
-_script=       ${0:-/etc/rc.sendmail}

 case ${_action} in

Is sh different in current?


host#make restart
Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop in /etc/mail.

Is make different in current?

Unfortunately (for me anyway) you can't just drop
rc.sendmail(.sh) in /usr/local/etc/rc.d because

"start" starts the mta but not the mspq and
"stop" stops the mta but not the mspq

Hmmm, It's deja vu all over again.

It's not too difficult to write a startup
script, but it duplicates much of the code
in rc.sendmail. Which seems like a waste to me.

ian j hart

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to