[
https://issues.apache.org/jira/browse/JAMES-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296167#comment-13296167
]
Chet Wang edited comment on JAMES-1418 at 6/16/12 3:34 PM:
-----------------------------------------------------------
Hi Eric,
Could you post/upload your test code here?
I also have issue on this, I've attached my test case MailSender.java (only
need java mail 1.4 api).
was (Author: chetwang):
Hi Eric,
Could you post/upload your test code here?
I also have issue on this, I've attached my test case MailSender.java.
> SMTP authentication verifyIdentity is passed off
> ------------------------------------------------
>
> Key: JAMES-1418
> URL: https://issues.apache.org/jira/browse/JAMES-1418
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: 3.0-beta3, 3.0-beta4
> Reporter: Serkant Uluderya
> Priority: Critical
> Labels: smtp
> Attachments: MailSender.java, james.out, smtpserver.conf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I've been trying to enable SMTP authentication on apache-james-3.0-beta4 but
> I can't manage it. I made the log level as DEBUG for SMTP service. It seems
> that although the identity verification fails, the user is enable to post a
> mail.
> In smtpserver.conf file I made the following changes, it is attached also.
> <authRequired>announce</authRequired>
> <!--<authorizedAddresses>127.0.0.0/8</authorizedAddresses>-->
> <verifyIdentity>true</verifyIdentity>
> Here is the log parts that I suspected.
> INFO 17:53:08,746 | james.smtpserver | This SMTP server requires
> authentication.
> ......
> DEBUG 18:03:33,798 | james.smtpserver | Id='9403936' User=''
> org.apache.james.smtpserver.SenderAuthIdentifyVerificationRcptHook: result=8
> (DECLINED)
> DEBUG 18:03:33,799 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.smtpserver.jmx.HookResultJMXMonitor@1eee3fb
> DEBUG 18:03:33,799 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.protocols.smtp.core.PostmasterAbuseRcptHook
> DEBUG 18:03:33,799 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.protocols.smtp.core.log.HookResultLogger@10a3ffc
> DEBUG 18:03:33,799 | james.smtpserver | Id='9403936' User=''
> org.apache.james.protocols.smtp.core.PostmasterAbuseRcptHook: result=8
> (DECLINED)
> DEBUG 18:03:33,799 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.smtpserver.jmx.HookResultJMXMonitor@1eee3fb
> DEBUG 18:03:33,800 | james.smtpserver | Id='9403936' User=''
> org.apache.james.smtpserver.JamesRcptCmdHandler: [250 2.1.5 Recipient
> <[email protected]> OK]
> DEBUG 18:03:33,815 | james.smtpserver | Id='9403936' User=''
> org.apache.james.protocols.api.handler.CommandDispatcher received: DATA
> DEBUG 18:03:33,815 | james.smtpserver | Id='9403936' User='' Lookup command
> handler for command: DATA
> DEBUG 18:03:33,826 | james.smtpserver | Id='9403936' User=''
> org.apache.james.smtpserver.JamesDataCmdHandler: [354 Ok Send data ending
> with <CRLF>.<CRLF>]
> DEBUG 18:03:33,870 | james.smtpserver | Id='9403936' User='' executing james
> message handler
> org.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension@4a1908
> DEBUG 18:03:33,872 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.protocols.smtp.core.log.HookResultLogger@10a3ffc
> DEBUG 18:03:33,872 | james.smtpserver | Id='9403936' User=''
> org.apache.james.protocols.smtp.core.esmtp.MailSizeEsmtpExtension: result=8
> (DECLINED)
> DEBUG 18:03:33,874 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.smtpserver.jmx.HookResultJMXMonitor@1eee3fb
> DEBUG 18:03:33,874 | james.smtpserver | Id='9403936' User='' executing james
> message handler
> org.apache.james.smtpserver.AddDefaultAttributesMessageHook@1cfb84c
> DEBUG 18:03:33,875 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.protocols.smtp.core.log.HookResultLogger@10a3ffc
> DEBUG 18:03:33,875 | james.smtpserver | Id='9403936' User=''
> org.apache.james.smtpserver.AddDefaultAttributesMessageHook: result=8
> (DECLINED)
> DEBUG 18:03:33,875 | james.smtpserver | Id='9403936' User='' executing hook
> org.apache.james.smtpserver.jmx.HookResultJMXMonitor@1eee3fb
> DEBUG 18:03:33,875 | james.smtpserver | Id='9403936' User='' executing james
> message handler org.apache.james.smtpserver.SendMailHandler@4cb3a4
> DEBUG 18:03:33,876 | james.smtpserver | Id='9403936' User='' sending mail
> INFO 18:03:33,906 | james.smtpserver | Id='9403936' User='' Successfully
> spooled mail Mail1339427013851-53bd7bc6-0c36-417f-acee-8af76691b35e from
> [email protected] on 192.168.200.90/192.168.200.90 for
> [[email protected]]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]