On 04/30/02 at 10:29, Warren Michelsen wrote:

> At 1:03 PM -0400 4/30/02, Bill Cole wrote:
> >At 4:37 PM +0100 4/30/02, Ron Hahn  imposed structure on a stream of 
> >electrons, yielding:
> >>
> >>Will bar all email addresses starting with "j" except "james"..
> >>I.e. Does the rule parser bail out when it satisfies a rule or not?
> >
> >No, the router restarts from the top every time a rule is satisfied. 
> >An address is re-run until it makes it through unchanged.
> 
> I thought I remembered reading, on this list, that once an address 
> resolved, via routing rules, to a local account, the mail would be 
> delivered instead of being run through the router yet again...

The Router docs say:

    The Router takes a parsed E-mail address (i.e. the domain and local
    parts of the address) and uses the Table, scanning its records from top
    to bottom. If an applicable record is found, it is applied as described
    below and the modified local and/or domain parts are processed with the
    Router from the beginning.

    Finally, if no record is found, the messages is routed. If the domain
    name is not empty, the messages is routed to the SMTP module for
    delivery to the E-mail address specified by the resulting local and
    domain parts. If the domain name is empty, the messages is routed to
    the Local Delivery module for storing in a user mailbox.

So, messages are not delivered to local accounts until the address no
longer matches any router records, not as soon as it matches a local
account name. In fact, as the second paragraph indicates, the local
delivery module doesn't even see the address until it no longer matches any
router records.

-- 
                   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