Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2002 18:04:05 -0500 (EST)
From:      dkh-fbsd@nighttide.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/45903: /etc/mail/Makefile doesn't handle multiple aliase files
Message-ID:  <200212012304.gB1N45BV006679@olmec.nighttide.net>

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

>Number:         45903
>Category:       conf
>Synopsis:       /etc/mail/Makefile doesn't handle multiple aliase files
>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:   Sun Dec 01 15:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Darren Henderson
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Nighttide
>Environment:
System: FreeBSD olmec.nighttide.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Nov 9 16:35:43 EST 2002 root@olmec.nighttide.net:/usr/obj/usr/src/sys/OLMEC i386


	
>Description:

If sendmail is configured to use multiple alias files (ie you have
define(`ALIAS_FILE',`/etc/mail/aliases,/etc/mail/aka/aliases2')dnl
within your sendmail.mc file) Makefile will only see the changes to
/etc/mail/aliases. sendmail -bi/newaliases work fine but since Makefile 
doesn't know that secondary alias files are targets sendmail -bi isn't
invoked 


>How-To-Repeat:

Configure sendmail to use multiple aliases files, create the new aliases 
file and then run make in /etc/mail


>Fix:

Define SENDMAIL_ALIASES=/etc/mail/aliases in /etc/defaults/make.conf
that can be overridden in /etc/make.conf if there are multiple alias 
files. 

Each of those alias files would have be treated as a target in 
/etc/mail/Makefile. 

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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