Re: [exim] Issue with using alias file

Page principale
Supprimer ce message
Répondre à ce message
Auteur: 3YSTech Services
Date:  
À: Jeremy Harris
CC: Exim Users
Sujet: Re: [exim] Issue with using alias file
I still can't figure out how to redirect EXIM to lookup local alias file
for all mail delivery,but was able to figure out why it is not working. The
issue seems to be aliases point to domain not in local domain list ..



dnslookup:
debug_print = "R: dnslookup for $local_part@$domain"
driver = dnslookup
domains = ! +local_domains : mailgw1.domaina.com : ! domaina.com
transport = tls_remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more


smarthost:
debug_print = "R: smarthost for $local_part@$domain"
driver = manualroute
transport = tls_remote_smtp
route_list = DomainA.com mailsh.domaina.com
no_more

Alias section comes after dnslookup and smarthost sections

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe



On Wed, Oct 26, 2016 at 2:38 PM, Jeremy Harris <jgh@???> wrote:

> On 26/10/16 18:51, 3YSTech Services wrote:
> > I having issues with configuring aliases on EXIM. I am not able to send
> > email successfully. Exim tries to relay email to alias without checking
> > /etc/alises.
>
> Not really enough information there to go on. Read the docs at
>
>    http://exim.org/exim-html-current/doc/html/spec_html/

>
> - specifically, starting with the command-line chapter.
> Run a test mail in, using -bh and with debug enabled.
>
> The output will show you the processing that Exim does
> and the decisions it makes.
> --
> Jeremy
>
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/