Whats your -Xmx and -Xms settings ? How much memory does your server have ?
Bye, Norman 2011/3/16 Larry Ruiz <[email protected]> > Thank you very much Norman, > > but know I'm facing a OutOfMemory every time I sent an email, take a look > any clue or guidanc, I will apreciate > > jvm 1 | INFO 04:36:43,517 | org.apache.james.container.spring.Main | > Apache James Server is successfully started in 33985 milliseconds. > jvm 1 | INFO 04:38:09,242 | james.smtpserver | ID=1633868662 Connection > established from localhost (127.0.0.1) > jvm 1 | DEBUG 04:38:09,256 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.JamesWelcomeMessageHandler disconnect=false > jvm 1 | DEBUG 04:38:09,287 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: EHLO leviathan > jvm 1 | DEBUG 04:38:09,287 | james.smtpserver | ID=1633868662 Lookup > command handler for command: EHLO > jvm 1 | DEBUG 04:38:09,288 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.esmtp.EhloCmdHandler: 250 [127.0.1.1 > Hello leviathan (localhost [127.0.0.1]), PIPELINING, ENHANCEDSTATUSCODES, > 8BITMIME] > jvm 1 | DEBUG 04:38:09,297 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,299 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: MAIL FROM:<jperez@localhost> > jvm 1 | DEBUG 04:38:09,299 | james.smtpserver | ID=1633868662 Lookup > command handler for command: MAIL > jvm 1 | DEBUG 04:38:09,301 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.JamesMailCmdHandler: 250 [2.1.0 Sender > <jperez@localhost> OK] > jvm 1 | DEBUG 04:38:09,302 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,303 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: RCPT TO:<acme@localhost> > jvm 1 | DEBUG 04:38:09,304 | james.smtpserver | ID=1633868662 Lookup > command handler for command: RCPT > jvm 1 | DEBUG 04:38:09,304 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.fastfail.ValidRcptHandler > jvm 1 | DEBUG 04:38:09,687 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,687 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.fastfail.ValidRcptHandler: result=8 (DECLINED) > jvm 1 | DEBUG 04:38:09,687 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.AuthRequiredToRelayRcptHook > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.AuthRequiredToRelayRcptHook: result=8 > (DECLINED) > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.SenderAuthIdentifyVerificationRcptHook > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,688 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.SenderAuthIdentifyVerificationRcptHook: > result=8 > (DECLINED) > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.PostmasterAbuseRcptHook > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.PostmasterAbuseRcptHook: result=8 > (DECLINED) > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,689 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.JamesRcptCmdHandler: 250 [2.1.5 Recipient > <acme@localhost> OK] > jvm 1 | DEBUG 04:38:09,690 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,692 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: DATA > jvm 1 | DEBUG 04:38:09,692 | james.smtpserver | ID=1633868662 Lookup > command handler for command: DATA > jvm 1 | DEBUG 04:38:09,697 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.JamesDataCmdHandler: 354 [Ok Send data ending > with <CRLF>.<CRLF>] > jvm 1 | DEBUG 04:38:09,709 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,751 | james.smtpserver | ID=1633868662 executing > james message handler > org.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension@1335ca6c > jvm 1 | DEBUG 04:38:09,752 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,752 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension: result=8 > (DECLINED) > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 executing > james message handler > org.apache.james.smtpserver.AddDefaultAttributesMessageHook@3e4ee7c0 > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.AddDefaultAttributesMessageHook: result=8 > (DECLINED) > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 executing > james message handler org.apache.james.smtpserver.SendMailHandler@2e510e35 > jvm 1 | DEBUG 04:38:09,753 | james.smtpserver | ID=1633868662 sending > mail > jvm 1 | INFO 04:38:09,790 | james.smtpserver | ID=1633868662 > Successfully spooled mail > Mail1300271889732-506b0f8a-80ac-41e2-8328-66dfcf7b3608 from > jperez@localhoston 127.0.0.1 for [acme@localhost > ] > jvm 1 | DEBUG 04:38:09,790 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.protocols.smtp.core.log.HookResultLogger@6de8aa5 > jvm 1 | DEBUG 04:38:09,790 | james.smtpserver | ID=1633868662 > org.apache.james.smtpserver.SendMailHandler: result=1 (OK) > jvm 1 | DEBUG 04:38:09,790 | james.smtpserver | ID=1633868662 executing > hook org.apache.james.smtpserver.jmx.HookResultJMXMonitor@7c605a28 > jvm 1 | DEBUG 04:38:09,803 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: NOOP > jvm 1 | DEBUG 04:38:09,803 | james.smtpserver | ID=1633868662 Lookup > command handler for command: NOOP > jvm 1 | DEBUG 04:38:09,803 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.NoopCmdHandler: 250 [2.0.0 OK] > jvm 1 | DEBUG 04:38:09,809 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,810 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > received: QUIT > jvm 1 | DEBUG 04:38:09,810 | james.smtpserver | ID=1633868662 Lookup > command handler for command: QUIT > jvm 1 | DEBUG 04:38:09,811 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.QuitCmdHandler: 221 [2.0.0 127.0.1.1 > Service closing transmission channel] > jvm 1 | INFO 04:38:09,828 | james.smtpserver | ID=1633868662 Connection > closed for localhost (127.0.0.1) > jvm 1 | DEBUG 04:38:09,828 | james.smtpserver | ID=1633868662 > org.apache.james.protocols.smtp.core.SMTPCommandDispatcherLineHandler > disconnect=false > jvm 1 | DEBUG 04:38:09,857 | james.mailspooler | ==== Begin processing > mail Mail1300271889732-506b0f8a-80ac-41e2-8328-66dfcf7b3608==== > jvm 1 | DEBUG 04:38:09,858 | james.mailprocessor | Call MailProcessor > root > jvm 1 | DEBUG 04:38:10,216 | james.mailprocessor | Call MailProcessor > transport > jvm 1 | Exception in thread "VMTransport" java.lang.OutOfMemoryError: > PermGen space > jvm 1 | Exception in thread "Spool Thread #0" > java.lang.OutOfMemoryError: > PermGen space > jvm 1 | WARN 04:38:36,861 | > org.apache.activemq.broker.jmx.ManagedRegionBroker | Failed to register > MBean: > > org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_leviathan-60551-1300271788894-4_1,consumerId=ID_leviathan-60551-1300271788894-3_1_13_11 > ^Cwrapper | INT trapped. Shutting down. > > > On Wed, Mar 16, 2011 at 12:47 AM, Norman Maurer <[email protected]> wrote: > > > 2011/3/16 Larry Ruiz <[email protected]> > > > > </SNIP> > > > > > > > here it says "DEBUG 19:42:24,106 | james.smtpserver | ID=1269579719 > AUTH > > > method LOGIN succeeded" > > > and then "org.apache.james.smtpserver.JamesRcptCmdHandler: 503 [5.7.1 > > > Incorrect Authentication for Specified Email Address]" > > > > > > > This is because the used username does not match the mail from which was > > used for the email. You can disable this check in smtpserver.xml by > adding: > > > > <verifyIdentity>false</verifyIdentity> > > > > within the smtpserver block. > > > > > > > > > > > > > > an another question, I dont know if it is related, what is the > > implication > > > of not supporting VirtualHosting. > > > > > > > If you return true for virtualhosting then you need to use the "full" > > emailaddress as user. Otherwise you only use the localpart. > > > > > > > > > > so I don't know what is wrong with my implementation > > > > > > > > > regards, > > > Larry Ruiz > > > > > > > > > Hope it helps, > > Norman > > >
