This is an internal service used by james. There are different implementations and thus, they are configured differently, see
http://grepcode.com/search/usages?type=type&id=repo1.maven.org%[email protected]%[email protected]@org%24apache%24james%24domainlist%24lib@AbstractDomainList&k=d I'm not sure which you are using. The <serverNames> part in your config.xml might be the configuration as mentioned in my last mail, or it may be that you use the JPA version, then you'd have to add them like you add users to james, I think. Unfortunately I'm not much familiar with all those configuraion stuff... Have you tried sending mails to user@localhost or [email protected] within a telnet session? Have you tried changing the <servername>smtp.megafash.com</servername> to <servername>megafash.com </servername>? Regards, Eike 2013/8/26 Thotheolh Tay <[email protected]> > Where do I find the DomainList ? > > Regards, > Gerald. > > > On Mon, Aug 26, 2013 at 7:31 PM, Eike Kettner <[email protected] > >wrote: > > > Hi Gerald, > > > > this is a guess: maybe the domain 'megafash.com' is missing in the > > database, or wherever the configuration for the `DomainList` service > comes > > from. James asks this interface (DomainList) which domains it should > accept > > mails from, so maybe your domain is missing there. I guess, the > > <serverNames> section should read `megafash.com` instead of ` > > smtp.megafash.com` -- if that is the place that configures the > > `DomainList` > > service. > > > > Regards, > > Eike > > > > > > > > 2013/8/26 Thotheolh Tay <[email protected]> > > > > > Hi, > > > > > > I tried to setup James and I can connect to (Telnet) James (POP3, > admin, > > > SMTP). Everything went fine except I can't send messages from external > > > email addresses (gmail, yahoo mail, hotmail...etc..) to James but I can > > use > > > James to send email to external addresses and internal addresses. > > > > > > Whenever I try to use an email client or Telnet (SMTP) to send an email > > to > > > James, it gives something like the below: > > > > > > Delivery to the following recipient failed permanently: > > > > > > <username>@megafash.com > > > > > > Technical details of permanent failure: > > > Google tried to deliver your message, but it was rejected by the > > > server for the recipient domain megafash.com by smtp.megafash.com. > > > [54.214.234.188]. > > > > > > The error that the other server returned was: > > > 550 5.7.1 Requested action not taken: relaying denied > > > > > > > > > The current config file can be found at: > http://megafash.com/config.xml > > > > > > Note: the mailet tag containing the class attribute > > > "RemoteAddrNotInNetwork" has already been commented out yet it shows a > > > Relaying denied error. > > > > > > Is this a bug ? > > > > > > How do I fix it ? > > > > > > Thanks & Regards, > > > Gerald. > > > > > >
