cvs commit: src/etc/rc.d sendmail
Morten Rodal
morten at rodal.no
Wed Apr 14 23:06:11 PDT 2004
On Mon, Apr 05, 2004 at 09:26:22AM -0700, Max Khon wrote:
> fjoe 2004/04/05 09:26:22 PDT
>
> FreeBSD src repository
>
> Modified files:
> etc/rc.d sendmail
> Log:
> Allow this script to be used for Postfix:
> - Use sendmail_foo variables after load_rc_config so that they actually work.
> - Utilize sendmail_procname.
> - Check sendmail_submit_enable instead of sendmail_enable when dealing
> with mail submission MTA.
>
> Revision Changes Path
> 1.10 +4 -3 src/etc/rc.d/sendmail
With this change I am not able to start the sendmail submit mail
daemon, which results in no daemons listening on localhost:25.
In the rc.conf I have:
sendmail_enable="NO"
sendmail_submit_enable="YES"
If I apply the attached patch I am able to start the submit mail
daemon. Probably not the correct way to do it, but it works.
--
Morten Rodal
-------------- next part --------------
--- /tmp/sendmail Thu Apr 15 08:02:03 2004
+++ sendmail Thu Apr 15 08:02:19 2004
@@ -74,7 +74,7 @@
required_files=
-if ! checkyesno sendmail_submit_enable; then
+if checkyesno sendmail_submit_enable; then
name="sendmail_submit"
rcvar=`set_rcvar`
start_cmd="${command} ${sendmail_submit_flags}"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040415/762ad177/attachment.bin
More information about the cvs-src
mailing list