ok, after much doinking around i believe that i have a workable config that allows a james server to act as a bidirectional MX (receives mail on behalf of internal servers and relays mail out for same) without being a spam ho. i figured that i would post this for reference should another noob happen along looking for this sort of thing.

notes:
internal server is int.myfoo.com (ip: 192.168.251.204)
below is configuration on MX (ext.myfoo.com)

<!-- the domain that is serviced by the site,
NOT the server -->
<processor name="transport">
<mailet match="HostIs=myfoo.com" class="RemoteDelivery">
<outgoing> file://var/mail/relay/ </outgoing>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
<gateway> int.myfoo.com </gateway>
<gatewayPort>25</gatewayPort>
</mailet>

<!-- remote addresses of internal server(s) -->
<mailet match="RemoteAddrNotInNetwork=127.0.0.1,192.168.251.204" class="ToProcessor">
<processor> spam </processor>
</mailet>

<mailet match="All" class="RemoteDelivery">
<outgoing> file://var/mail/outgoing/ </outgoing>
<delayTime> 21600000 </delayTime>
<maxRetries> 5 </maxRetries>
<deliveryThreads> 1 </deliveryThreads>
</mailet>
</processor>

thanks all for the assist on this. comments welcome.

b

Danny Angus wrote:
It might be an idea to use different outgoing repositories, otherwise the mail you just sorted could get mixed again!

"turning off RemoteAddrNotInNetwork will create open  relay issues"

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

Reply via email to