Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 523892

Summary: mail-mta/exim - should set SYSTEM_ALIASES_FILE because (?)
Product: Gentoo Linux Reporter: hexum <hexumg>
Component: [OLD] ServerAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-60306-view-previous.html?sid=1193bd9cde3d32cd0654fc7803071e17
Whiteboard:
Package list:
Runtime testing required: ---

Description hexum 2014-09-27 17:41:23 UTC
SYSTEM_ALIASES_FILE variable is not set while exim compilation time.

Reproducible: Always

Steps to Reproduce:
1. Install exim
2. cp /etc/exim/exim.conf.dist /etc/exim/exim.conf
3. Start exim
Actual Results:  
Log: failed to open SYSTEM_ALIASES_FILE for linear search: No such file or director

Expected Results:  
I'd prefer this value
SYSTEM_ALIASES_FILE="/etc/mail/aliases"

From exim.conf.dist

# This router handles aliasing using a linearly searched alias file with the
# name SYSTEM_ALIASES_FILE. When this configuration is installed automatically,
# the name gets inserted into this file from whatever is set in Exim's
# build-time configuration. The default path is the traditional /etc/aliases.
Comment 1 hexum 2014-09-27 19:52:00 UTC
I found strange definition of SYSTEM_ALIASES_FILE variable in file 'src/EDITME'.
But it seems not to be used by make...

May it be makefile bug?
Comment 2 Fabian Groffen gentoo-dev 2014-09-30 18:36:32 UTC
-       newins "${S}"/src/configure.default.orig exim.conf.dist
+       newins "${S}"/src/configure.default exim.conf.dist

^^^ brain failure, this will help a lot.