james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranjib Dey <ranj...@thoughtworks.com>
Subject Re: How to configure james not an open relay?
Date Tue, 14 Sep 2010 11:52:25 GMT
<servername>  tags in the config.xml allows you to relay mail originating
from a specific domain only. Additionally if this does not work you can
write a custom matcher to check the criteria you desire and then set the
mail state to GHOST in the corresponding mailet ( i think even class="Null"
should work).


On Tue, Sep 14, 2010 at 3:45 PM, Will Zhang <will.zhang@aicent.com> wrote:

> Hi All,
>       I want to configure james as a commercial mailserver. I know
> <authorizedAddresses> can configure source ips which is allowed , but I
> want to relay by the recipients domain. For example :all mails whose
> recipients has abc.com domain will be allowed , in other word ,
> xxx@abc.com will be accepted by my mail server , but xxx@otheres.com
> will be not relay . what can I do it to prevent my mail server from
> being considered as an open relay by yahoo and other mail servers?
> Thanks
> Yours
> Will

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message