This is strange. If the stmp says "spooled successfully", I'd say it's working. Unfortunately, I have no idea what's going on. Maybe you could rise the log-level to find out more
2013/8/27 Thotheolh Tay <[email protected]> > cat smtpserver-2013-08-27-04-16.log > 27/08/13 04:16:55 INFO smtpserver: SMTP Service uses default thread group. > 27/08/13 04:16:55 INFO smtpserver: SMTP Service is running on: > ip-10-245-56-196 > 27/08/13 04:16:55 INFO smtpserver: SMTP Service handler hello name is: > ip-10-245-56-196 > 27/08/13 04:16:55 INFO smtpserver: SMTP Service handler connection timeout > is: 360000 > 27/08/13 04:16:55 INFO smtpserver: SMTP Service connection backlog is: 5 > 27/08/13 04:16:55 INFO smtpserver: SMTP Service will allow a maximum of 30 > connections. > 27/08/13 04:16:55 INFO smtpserver: This SMTP server does not require > authentication. > 27/08/13 04:16:55 INFO smtpserver: Authorized addresses: [0.0.0.0/0.0.0.0 > ] > 27/08/13 04:16:55 INFO smtpserver: No maximum message size is enforced for > this server. > 27/08/13 04:16:55 INFO smtpserver: The idle timeout will be reset every > 20480 bytes. > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.VrfyCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.AuthCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.QuitCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.HelpCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.HeloCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.MailCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.DataCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.RcptCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.EhloCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added MessageHandler: > org.apache.james.smtpserver.SendMailHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.NoopCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.ExpnCmdHandler > 27/08/13 04:16:55 INFO smtpserver: Added Commandhandler: > org.apache.james.smtpserver.RsetCmdHandler > 27/08/13 04:16:55 INFO smtpserver: SMTP Service started plain:25 > 27/08/13 05:01:23 INFO smtpserver: Connection from 54.214.234.188 > (54.214.234.188) > 27/08/13 05:01:23 INFO smtpserver: Successfully spooled mail > Mail1377579683343-88 from [email protected] on 54.214.234.188 for [ > [email protected]] > 27/08/13 05:01:28 INFO smtpserver: Connection from 54.214.234.188 > (54.214.234.188) > 27/08/13 05:01:28 INFO smtpserver: Successfully spooled mail > Mail1377579688541-89 from [email protected] on 54.214.234.188 for [ > [email protected]] > 27/08/13 05:07:32 INFO smtpserver: Connection from 54.214.234.188 > (54.214.234.188) > 27/08/13 05:07:32 INFO smtpserver: Successfully spooled mail > Mail1377580052757-90 from [email protected] on 54.214.234.188 for [ > [email protected]] > 27/08/13 05:07:37 INFO smtpserver: Connection from 54.214.234.188 > (54.214.234.188) > 27/08/13 05:07:37 INFO smtpserver: Successfully spooled mail > Mail1377580057976-91 from [email protected] on 54.214.234.188 for [ > [email protected]] > 27/08/13 05:07:43 INFO smtpserver: Connection from 54.214.234.188 > (54.214.234.188) > 27/08/13 05:07:43 INFO smtpserver: Successfully spooled mail > Mail1377580063211-92 from [email protected] on 54.214.234.188 for [ > [email protected]] > > Here is a sample of the smtpserver log file. It seems that the server > manages to receive the mail and spool it for the user but checking the > inbox, nothing was there ? > > P.S. Please give me a heads up ([email protected]) if you want to > inspect the James installation as I am seeing unfamiliar addresses coming > into the server (via the log file). > > > On Tue, Aug 27, 2013 at 12:27 PM, Thotheolh Tay <[email protected]> > wrote: > > > I configured my MX record to direct mails to the smtp subdomain (and the > > config does specify smtp subdomain). I tried to use email testers and all > > returned positive results without any problems and yet I still cannot > > receive emails I sent via external accounts to James. > > > > MX record about megafash.com exists. > > Connection succeeded to smtp.megafash.com SMTP. > > 220 ip-10-245-56-196 SMTP Server (JAMES SMTP Server 2.3.2) ready Tue, 27 > > Aug 2013 04:19:50 +0000 (UTC) > > > > > HELO verify-email.org > > 250 ip-10-245-56-196 Hello verify-email.org (verify-email.org [ > > verify-email.org]) > > > > > MAIL FROM: <[email protected]> > > =250 2.1.0 Sender <[email protected]> OK > > > > > RCPT TO: <[email protected]> > > =250 2.1.5 Recipient <[email protected]> OK > > > > > > > > On Tue, Aug 27, 2013 at 11:47 AM, Thotheolh Tay <[email protected] > >wrote: > > > >> James work perfectly for internal addresses and I tried both smtp > >> subdomain and without the subdomin and external emails can't get in. > >> > >> > >> On Mon, Aug 26, 2013 at 8:12 PM, Eike Kettner <[email protected] > >wrote: > >> > >>> 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. > >>> > > > > >>> > > > >>> > > >>> > >> > >> > > >
