OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Victor.Duchovni_at_morganstanley.com
Date: Thu Nov 14 2002 - 16:44:53 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Thu, 14 Nov 2002, Wietse Venema wrote:

    > Victor.Duchovnimorganstanley.com:
    > > On Thu, 14 Nov 2002, Wietse Venema wrote:
    > >
    > > > Actually, this rewriting of recipient domain to the local hostname
    > > > is done by the queue manager, but only when the local recipient
    > > > concurrency limit is set to 1.
    > > >
    > >
    > > So is the queue manager logic duplicated by the trivial-rewrite service
    > > lookups performed on each address when .forward is expanded?
    >
    > It's not. and I wonder if at least part of the logic needs to be
    > in the resolver: if the domain name matches $mydestination, replace
    > it by $myhostname.

    Perhaps. Otherwise one may get some surprises.

    >
    > > On your test machine you likely had $myorigin == $myhostname. What happens
    > > if you add $mydomain to mydestination and set myorigin = $mydomain?
    >
    > I had $myorigin == $myhostname, otherwise the mail would be forwarded
    > off the machine.
    >

    But suppose myorigin is not $myhostname, and yet listed in $mydestination,
    which appears to match the reported setup.

    -- 
    	Viktor.