You can emulate sendmail's "local relay" and "mail hub" by using the remote delivery 
mailet, as described by Serge, 
with the...

"HostIs=localhost" for emulating DR
and
"HostIsLocal" for emulating DH

...matchers respectively to forward all local mail to other machines, make sure they 
appear in this order, or "HostIs=localhost" (DR)will never be reached, the mail will 
be processed by HostIsLocal (DH). 

Be warned though that James creates qualified addresses from unqualified local 
addresses by appending @localhost, which might confuse the recipient "local relay" 
(DR).

d

> -----Original Message-----
> From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
> Sent: 24 January 2003 13:56
> To: James Users List
> Subject: Re: james and SMART_HOST (DH)
> 
> 
> bill parducci wrote:
> > ok, i have had a chance to play with this and i believe that i misspoke 
> > slightly in my original question. by setting up a host in 
> RemoteDelivery 
> > all mail is forwarded to that host... including *oubound* (non local) 
> > mail. that is SMART_HOST behavior (DS, not DH), but to be able to get 
> > mail back out through the same path i need the MX to also act as a 
> > 'MAIL_HUB' (DH) so that outbound mail will be delivered. here's my 
> > config on mx.myfoo.bar:
> 
> This sounds like just a case of configuring two instances of 
> RemoteDelivery (one that does gateway to the other box) and one that 
> sends using standard MX record lookups.  Then just put the appropriate 
> matchers in front of them so the right emails use the appropriate remote 
> delivery approach.  Make sense?
> 
> -- 
> Serge Knystautas
> Lokitech
> Software - Strategy - Design
> http://www.lokitech.com
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to