Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2004 05:03:38 GMT
From:      Alex Deiter <tiamat@komi.mts.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/75452: port mail/sendmail  incorrectly defines local mailer
Message-ID:  <200412240503.iBO53cWe012239@www.freebsd.org>
Resent-Message-ID: <200412240510.iBO5APum020368@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75452
>Category:       misc
>Synopsis:       port mail/sendmail  incorrectly defines local mailer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 24 05:10:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        5.3-RELEASE-p2
>Organization:
MTS Komi
>Environment:
FreeBSD samba.komi.mts.ru 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Wed Dec 15 19:01:41 MSK 2004     root@samba.komi.mts.ru:/usr/obj/usr/src/sys/GENERIC  i386 
>Description:
port mail/sendmail incorrectly defines local mailer:
Dec 24 03:01:49 samba sendmail[62556]: iBO01lg0062542: SYSERR(root): Cannot exec /usr/libexec/mail.local: No such file or directory

>How-To-Repeat:
1. Build and install system with NO_SENDMAIL=true in /etc/make.conf
2. Install port mail/sendmail
3. send mail
>Fix:
--- cf/ostype/freebsd5.m4.orig  Fri Dec 24 07:53:31 2004
+++ cf/ostype/freebsd5.m4       Fri Dec 24 07:54:19 2004
@@ -14,7 +14,7 @@
 ifdef(`STATUS_FILE',, `define(`STATUS_FILE', `/var/log/sendmail.st')')dnl
 dnl turn on S flag for local mailer
 MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
-ifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /usr/libexec/mail.local)')dnl
+ifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /usr/local/libexec/mail.local)')dnl
 ifdef(`LOCAL_MAILER_ARGS',, `define(`LOCAL_MAILER_ARGS', `mail $u')')dnl
 ifdef(`UUCP_MAILER_PATH',, `define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')')dnl
 ifdef(`UUCP_MAILER_ARGS',, `define(`UUCP_MAILER_ARGS', `uux - -r -z -a$g $h!rmail ($u)')')dnl

--- cf/ostype/freebsd4.m4.orig  Fri Dec 24 07:54:50 2004
+++ cf/ostype/freebsd4.m4       Fri Dec 24 07:55:06 2004
@@ -14,6 +14,6 @@
 ifdef(`STATUS_FILE',, `define(`STATUS_FILE', `/var/log/sendmail.st')')dnl
 dnl turn on S flag for local mailer
 MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
-ifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /usr/libexec/mail.local)')dnl
+ifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /usr/local/libexec/mail.local)')dnl
 ifdef(`LOCAL_MAILER_ARGS',, `define(`LOCAL_MAILER_ARGS', `mail $u')')dnl
 ifdef(`UUCP_MAILER_ARGS',, `define(`UUCP_MAILER_ARGS', `uux - -r -z -a$g $h!rmail ($u)')')dnl

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412240503.iBO53cWe012239>