RE: [Exim] Virtual mail is being delivered locally II

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Justyn Miller
Dátum:  
Címzett: exim-users
Régi témák: Re: [Exim] Virtual mail is being delivered locally
Tárgy: RE: [Exim] Virtual mail is being delivered locally II
Ok, I was having the same problem.... but when I reversed the directors as suggested I am unable to send mail or receive
mail. I was in a hurry to swap it back, but the approximate send error:
Unable to send the message because of error in local-part <user@???>.
The mail we rejected said:
A message that you sent could not be delivered blah blah, The following address(es) failed:

user@???
(generated from webmaster@???)
Unknown local-part "user" in domain "localdomain.com"

My directors the way they appear now:

# This director matches local user mailboxes.

localuser:
driver = localuser
transport = local_delivery

virtual:
domains = "lsearch;/usr/local/exim/domains"
driver = aliasfile
include_domain
no_more
file = "/usr/local/exim/aliases"
search_type = lsearch

end

my localdomain is in the domains file...

??

Thanks!
-jm
-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Andrew
Sent: Sunday, September 24, 2000 10:43 AM
To: exim-users@???; Brad Lilly
Subject: Re: [Exim] Virtual mail is being delivered locally


----- Original Message -----
Sent: Monday, September 25, 2000 12:11 AM
Subject: [Exim] Virtual mail is being delivered locally


> I have setup several virtual domains and have being testing the
> configuration. If I send mail to an alias that is not a local user then

it
> is forwarded properly to the mailbox required that is not local or if
> specified to a local mailbox. If however the virtual alias local part is
> the same as the local part of a local user then local delivery is

utilised.
from the config file
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


it goes through the directors til a match is found and then goes no
further.

put the local_delivery config one _after_ the virtual one and it should fix
it up.
HTH
cya
Andrew



--
Success always occurs in private, and failure in full view
or vice versa on a computer


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