| Summary: | /etc/mail/Makefile should cater for sendmail_outbound_enable="YES" | ||
|---|---|---|---|
| Product: | Base System | Reporter: | send-pr <send-pr> |
| Component: | bin | Assignee: | Gregory Neil Shapiro <gshapiro> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.4-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
send-pr
2001-11-16 06:30:01 UTC
Responsible Changed From-To: freebsd-bugs->gshapiro Over to FreeBSD's Mr. Sendmail. Let me know if this patch fixes it for you:
--- /etc/mail/Makefile Tue Oct 16 21:18:45 2001
+++ /etc/mail/Makefile Sun Nov 18 16:59:29 2001
@@ -157,10 +157,18 @@
start:
(. /etc/defaults/rc.conf; source_rc_confs; \
- if [ "$${sendmail_enable}" = "YES" -a -r /etc/mail/sendmail.cf ];\
- then \
- ${SENDMAIL} $${sendmail_flags}; \
- fi \
+ case "$${sendmail_enable}" in \
+ [Yy][Ee][Ss]) \
+ /usr/sbin/sendmail $${sendmail_flags} \
+ ;; \
+ *) \
+ case "$${sendmail_outbound_enable}" in \
+ [Yy][Ee][Ss]) \
+ /usr/sbin/sendmail $${sendmail_outbound_flags} \
+ ;; \
+ esac \
+ ;; \
+ esac \
)
stop:
Gregory Neil Shapiro:
> Let me know if this patch fixes it for you:
Perfectly! Please MFC as well.
Helge
State Changed From-To: open->feedback The fix has been committed to the HEAD. It will be MFC'ed in 3 days, at which point this PR will be closed. State Changed From-To: feedback->closed The change was MFC'ed |