[mule-user] pop3:connector issue

18 views
Skip to first unread message

asheesh bisht

unread,
Jun 8, 2011, 1:23:01 AM6/8/11
to us...@mule.codehaus.org
Hi,

I am trying to retrieve mails present on a POP3 server VERSION 6.5.7638.1 . Below is the config i used:
<?xml version="1.0" encoding="UTF-8"?>

<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:quartz="http://www.mulesoft.org/schema/mule/quartz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wmq="http://www.mulesoft.org/schema/mule/ee/wmq" xmlns:test="http://www.mulesoft.org/schema/mule/test"
xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:email="http://www.mulesoft.org/schema/mule/email"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:script="http://www.mulesoft.org/schema/mule/scripting"
xmlns:jdbc="http://www.mulesoft.org/schema/mule/ee/jdbc" xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp"
xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio" xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core"
xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns:smtp="http://www.mulesoft.org/schema/mule/smtp"
xmlns:xm="http://www.mulesoft.org/schema/mule/xml" xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey"
xmlns:mongodb="http://www.mulesoft.org/schema/mule/mongodb"
xmlns:imap="http://www.mulesoft.org/schema/mule/imap"
xmlns:pop3="http://www.mulesoft.org/schema/mule/pop3"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/ftp http://www.mulesoft.org/schema/mule/ftp/3.1/mule-ftp.xsd
http://www.mulesoft.org/schema/mule/test http://www.mulesoft.org/schema/mule/test/3.1/mule-test.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.mulesoft.org/schema/mule/smtp http://www.mulesoft.org/schema/mule/smtp/3.1/mule-smtp.xsd
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/3.1/mule-file.xsd
http://www.mulesoft.org/schema/mule/ee/jdbc http://www.mulesoft.org/schema/mule/ee/jdbc/3.1/mule-jdbc-ee.xsd
http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.1/mule-jms.xsd
http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/3.1/mule-stdio.xsd
http://www.mulesoft.org/schema/mule/ee/wmq http://www.mulesoft.org/schema/mule/ee/wmq/3.1/mule-wmq-ee.xsd
http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ee/core/3.1/mule-ee.xsd
http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.1/mule-scripting.xsd
http://www.mulesoft.org/schema/mule/email http://www.mulesoft.org/schema/mule/email/3.1/mule-email.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.1/mule-vm.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd
http://www.mulesoft.org/schema/mule/quartz http://www.mulesoft.org/schema/mule/quartz/3.1/mule-quartz.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.1/mule-xml.xsd
http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.1/mule-jersey.xsd
http://jersey.apache.org/core http://jersey.apache.org/schemas/core.xsd
http://www.mulesoft.org/schema/mule/mongodb http://www.mulesoft.org/schema/mule/mongodb/3.1/mule-mongodb.xsd
http://www.mulesoft.org/schema/mule/imap http://www.mulesoft.org/schema/mule/imap/3.1/mule-imap.xsd
http://www.mulesoft.org/schema/mule/pop3 http://www.mulesoft.org/schema/mule/pop3/3.1/mule-pop3.xsd">

<!-- <spring:bean id="xyzSource"-->
<!-- class="com.infosys.icp.inbox.InboxService">-->
<!-- </spring:bean>-->

<pop3:connector name="test1" checkFrequency="3000" />


<flow name="XYZ">
<inbound-endpoint address="http://localhost:8090/xyz"/>
<flow-ref name="cdf"></flow-ref>
</flow>

<flow name="cdf">
<pop3:inbound-endpoint connector-ref="test1" host="192.168.105.74" port="110" user="IHICPSOL_test" password="xyz123+" >
</pop3:inbound-endpoint>
<script:component>
<script:script name="inboxMessageProcessor"
engine="groovy" file="InboxMessageProcessor.groovy">
</script:script>
</script:component>
</flow>
</mule>

Although, I am able to telnet correctly to server:
telnet 192.168.105.74 110
+OK
user IHICPSOL_test
+OK
pass xyz123+
+OK User Successfully logged on.

I am getting following exception:

Root Exception stack trace:
javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:174)
at javax.mail.Service.connect(Service.java:313)
at javax.mail.Service.connect(Service.java:172)

Dont know wat is going wrong here.Exception clearly states that username/pass combination is wrong. Though sometimes server doesnt accept above mentioned user/pass, but most of the time it does. I am going crazy coz of this issue.. Kindly help .

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Guy -

unread,
Jun 8, 2011, 4:39:30 AM6/8/11
to us...@mule.codehaus.org
Hi,

I use also pop3:connector reading Groupwise without login issues.
May be your checkFrequency="3000" is to low. The checkFrequency is defined in milliseconds meaning that each 3 seconds you will connect to your mailbox. Try to increase the checkFrequency to 300000.

Guy

asheesh bisht

unread,
Jun 8, 2011, 6:17:58 AM6/8/11
to us...@mule.codehaus.org
Not working.. getting same error.
Reply all
Reply to author
Forward
0 new messages