On 04/13/02 at 02:38, [EMAIL PROTECTED] wrote:

>  Hi folks,
>  I have a curious problem in my router table...
> 
>  I've created an account called "bodhi" on the mailserver
> "greenbuilder.com".

To begin, remember that messages are sent through the router from top to
bottom, and the first router line matched is used, after which processing
ceases.

> It works fine. When I have the router table in the order below the
> mail to drbodhi@ properly goes into the bodhi mailbox.
> 
> <[EMAIL PROTECTED]> = bodhi
> <[EMAIL PROTECTED]> = bodhi
> 
> bodhiworks.net = greenbuilder.com
> mail.bodhiworks.net = greenbuilder.com

In this case, messages hit the lines 

<[EMAIL PROTECTED]> = bodhi
<[EMAIL PROTECTED]> = bodhi

first. These two lines explicitly route specific addresses to a local account,
and everything works as you expect. The domain routing lines which come after
aren't considered because the message is never compared to them.

>  But when I reverse the order as below, it bounces the mail:
> 
> bodhiworks.net = greenbuilder.com
> mail.bodhiworks.net = greenbuilder.com
> 
> <[EMAIL PROTECTED]> = bodhi
> <[EMAIL PROTECTED]> = bodhi

In this case, messages hit the domain routing lines first. This is important
because if a message is addressed to, say, [EMAIL PROTECTED], the router
will see that bodhiworks.net is equivalent to the server's canonical name
(greenbuilder.com), at which point it strips the domain part from the
destination address, yielding simply 'drbodhi', and sends it through the
router again. On the second pass through the router, the address being tested
is 'drbodhi', for which there's no match in the router. Presumably, you
haven't created a local account called 'drbodhi', so you get a 'user unknown'
error.

If you want to keep the general domain equivalence lines at the top of your
router, replace the address routing lines with

drbodhi = bodhi

and you should be fine.

>  ... while talking to mail.greenbuilder.com.: > >>> DATA
>  > <<< 550 <[EMAIL PROTECTED]> user unknown.
>  > 550 5.1.1 <[EMAIL PROTECTED]>... User unknown > <<< 503 no RCPT
> address received
> 
>  (there are a lot of other router entries, but these are the only ones
> dealing with anything "bodhi")
> 
>  Any clue as to why this may be?  I'm using 1.8b8

-- 
                   Christopher Bort | [EMAIL PROTECTED]
            Webmaster, Global Homes | [EMAIL PROTECTED]
      <http://www.globalhomes.com/> | PGP public key available on request

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[EMAIL PROTECTED]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to