<mailet match="HostIs=internal.myfoo.com" class="RemoteDelivery">
<outgoing> file://var/mail/outgoing/ </outgoing>
<delayTime> 21600000 </delayTime>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
</mailet>
<mailet match="HostIsLocal" class="RemoteDelivery">
<outgoing> file://var/mail/outgoing/ </outgoing>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
<gateway> internal.myfoo.com </gateway>
<gatewayPort>25</gatewayPort>
</mailet>
i can send mail outbound using this machine as a relay, but INBOUND it will only relay mail from those hosts listed in RemoteAddrNotInNetwork (otherwise they are sent to spam).
i am concerned that turning off RemoteAddrNotInNetwork will create open relay issues. normally i would ask where the flaw in my logic is, but i am still at the level where there is at least 40% magic in the process. :o) can anyone spare some eye of newt over here?
thanks
b
Danny Angus wrote:
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
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
