Date: Sat, 30 Mar 2002 01:00:47 +0000 From: ian j hart <ianjhart@ntlworld.com> To: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Another possible solution for non-sendmail users Message-ID: <3CA50E3F.43E719DF@ntlworld.com> References: <15523.14636.146301.834847@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 @@ fi # The sendmail binary -sendmail_program?= /usr/sbin/sendmail +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 +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} +_action=${1:-boot} +_script=${0:-/etc/rc.sendmail} case ${_action} in boot) Is sh different in current? /etc/mail/Makefile 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 majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CA50E3F.43E719DF>