| Summary: | /etc/mail/Makefile does not source /etc/rc.conf when starting sendmail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Esa Karkkainen <ejk> | ||||
| Component: | conf | Assignee: | Gregory Neil Shapiro <gshapiro> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Hi There are couple of typos in the original pr I submitted.r My e-mail address is ejk@iki.fi and "# " chars in front of 'sendmail_flags="-bd -q30m -oOA=127.0.0.1"' -- There is no spoon State Changed From-To: open->feedback Patch applied to HEAD (-CURRENT). The PR will be closed when it is MFC'ed to RELENG_4 (-STABLE). Responsible Changed From-To: freebsd-bugs->gshapiro Given to sendmail maintainer. State Changed From-To: feedback->closed The submitter's fix has been applied to RELENG_4 as well. |
Sendmail starts with incorrect parameters, assuming you have added customized sendmail_flags variable to /etc/rc.conf or /etc/rc.conf.local, when started the following way # cd /etc/mail # make start Fix: Apply the following patch to /etc/mail/Makefile How-To-Repeat: # grep sendmail_flags /etc/rc.conf # sendmail_flags="-bd -q30m -oOA=127.0.0.1" # cat /var/run/sendmail.pid 190 /usr/sbin/sendmail -bd -q30m -oOA=127.0.0.1 # sudo make stop /bin/kill -TERM `head -1 /var/run/sendmail.pid` # make start (. /etc/defaults/rc.conf; if [ "${sendmail_enable}" = "YES" -a -r /etc/mail/sendmail.cf ]; then /usr/sbin/sendmail ${sendmail_flags}; fi ) # cat /var/run/sendmail.pid 11941 /usr/sbin/sendmail -bd -q30m