james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: SMTP server authentication
Date Tue, 12 Jun 2012 07:41:57 GMT
Thx for reporting Serkant.

I quickly tested, and it seems there is a bug.
Please open a JIRA for this, I will take time to better review it.

Thx, Eric

On 06/11/2012 05:32 PM, Serkant Uluderya wrote:
> Hello all,
>
> 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
> <http://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
> <receiver@mail.test.com <mailto:receiver@mail.test.com>> 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
> sender@mail.test.com <mailto:sender@mail.test.com> on
> 192.168.200.90/192.168.200.90 <http://192.168.200.90/192.168.200.90> for
> [receiver@mail.test.com <mailto:receiver@mail.test.com>]
>
>
> Could you please check the situation? Is this a bug or a configuration
> problem? The situation was the same as the previous james version (beta3)
>
> Thanks in advance,
> Serkant
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org

-- 
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message