there are most likely lots of ways to do this
(this stuff is from exim4 -- i have an older exim3 file around i think if you are using exim3)
what is adding the extra junk at the end of the Aaddress is the exim.conf line
qualify_domain =
so leave that blank and it should use primary_hostname value
also involved is the line
Code:
domainlist local_domains = @ : \
@[] : \
localhost : \
boxname
and of course in the accept list
accept domains = +local_domains
Remote addresses are only those with a domain that does not match any item
in the "local_domains" setting above
there is also some junk in directors configuration (the first set of stuff) that handles local mail
mine says
Code:
real_local:
#!!# prefix renamed local_part_prefix
driver = accept
check_local_user
local_part_prefix = real-
transport = local_delivery
the junk is so complicated because its variables defined elsewhere in the file most times
will try to help more if needed