[exim] Local delivery fine but remote fails.

Top Page
Delete this message
Reply to this message
Author: Shine, Gary
Date:  
To: exim-users
Subject: [exim] Local delivery fine but remote fails.
I seem to have modified the config file into a state of not working.

All local and aliased and virtual addresses deliver fine, but not remote
mail works at all. I just get Unknown User which is from the local delivery
routines.

wHY DOE STHE REMOTE_SMTP TRANSPORT NEVER KICK IN?

Help Please...
Gary

for instance exim -bt whatever@??? generates
whatever@??? is undeliverable: Unknown user

Relevant sections are below.

begin routers

virtual_aliases:
         driver          = redirect
         allow_fail
         allow_defer
         data =
${lookup{$local_part@$domain}lsearch{/usr/exim/pop3.aliases}}
         file_transport  = address_file
         pipe_transport  = address_pipe
         debug_print     = "R: virtual_aliases for $local_part@$domain"



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

userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
# allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
transport = local_delivery
cannot_route_message = Unknown user

begin transports


# This transport is used for delivering messages over SMTP connections.

remote_smtp:
driver = smtp

# my_mailboxes:
#    driver = appendfile
#    file = /var/mail/$local_part
#    user = exim


local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
# group = mail
# mode = 0660