Re: [Exim] failed to expand "${lookup{$local_part}lsearc…

Top Page
Delete this message
Reply to this message
Author: tom.frost
Date:  
To: Dilip M
CC: exim-users@exim.org
Subject: Re: [Exim] failed to expand "${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}": failed to open



Dilip,

I don't want to teach you to suck eggs but...

Have you tried the simple things like making sure SYSTEM_ALIASES_FILE is in
the same case as the actual file and that the full and correct to the file
path is entered in the configure file, e.g.

${lookup{$local_part}lsearch{/usr/local/exim/config/system_alias_file}}

These are the sort of simple problems that i encountered when i was writing
my configure file.

regards,
Tom.



             Dilip M
             <dilipm@s7solutio
             ns.com>                                                    To
             Sent by:                  "exim-users@???"
             exim-users-admin@         <exim-users@???>
             exim.org                                                   cc


                                                                   Subject
             25/02/2004 08:52          [Exim] failed to expand
                                       "${lookup{$local_part}lsearch{SYSTE
                                       M_ALIASES_FILE}}": failed to open











Hi,

I'm just trying to cnfigure exim.I'm getting this error.
-------------------------------------------
# exim -bt dilipm
dilipm@??? cannot be resolved at this time:
    failed to expand "${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}":
failed to open SYSTEM_ALIASES_FILE for linear search: No such file or
directory
-------------------------------------------


The MX recored for out domain "s7technologies.com" is "s7technologies.com"
-------------------------------------------
#more /etc/exim/exim.conf
# primary_hostname =
domainlist local_domains = s7technologies.com
domainlist relay_to_domains =
hostlist   relay_from_hosts = 127.0.0.1
qualify_domain = s7technologies.com
[...]
------------------------------------------
Created a local system uset 'dilipm'
# grep dilip /etc/passwd
dilipm:x:500:500::/home/dilipm:/bin/bash
------------------------------------------
[root@exim-2 input]# more /etc/aliases
# Basic system aliases -- these MUST be present.
mailer-daemon:  postmaster
postmaster:     dilipm
[...]
------------------------------------------
# exim -bt postmaster
postmaster@??? cannot be resolved at this time:
     failed to expand "${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}":
failed to open SYSTEM_ALIASES_FILE for linear search: No such file or
directory
--------------------------------------------
[root@exim-2 input]# ls -l /etc/aliases
-rw-r--r--    1 mailnull mail          654 Feb 25 13:00 /etc/aliases
----------------------------------------



All other configuration remains DEFAULT

Where i'm going wrong ?

-Dilip

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##





**********************************************************************
The information in this E-Mail is confidential and may be legally
privileged. It may not represent the views of Scottish and Southern
Energy Group.
It is intended solely for the addressees. Access to this E-Mail by
anyone else is unauthorised. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful.
Any unauthorised recipient should advise the sender immediately of
the error in transmission.

Scottish Hydro-Electric, Southern Electric, SWALEC and S+S
are trading names of the Scottish and Southern Energy Group.
**********************************************************************