Hello Frex,

please test pop3 protocol using below command, if SSL enabled then change
the port to 995

How to verify POP3 connection using telnet
<-- Telnet <IP address the server> 110/995
--> +OK Microsoft Exchange 2000 POP3 server version 6.0.4408.0
(server_name.domain.com) ready.
<-- USER <NTDOMAIN/NTACCOUNT/Exchange_mailbox>
--> +OK
<-- PASS <Windows_NT_domain_password>
--> +OK User successfully logged on
<-- QUIT
--> +OK Bye.


Regards,
Sanjay.


On Mon, Jun 3, 2013 at 4:38 PM, Frex Popo <[email protected]> wrote:

> **
> Now with SSL option set to "Yes" in "Email Server Requires SSL*" I get the
> following error.
>
> Jun 3, 2013 1:05:53 PM com.sun.mail.pop3.POP3Store protocolConnect
> SEVERE: Connect failed
> javax.mail.MessagingException: Connect failed;
>   nested exception is:
>         javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
> connection?
>         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
>
>         at javax.mail.Service.connect(Service.java:275)
>         at javax.mail.Service.connect(Service.java:156)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.initializeIncommingMailbox(ReceiverModule.java:1921)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.initialization(ReceiverModule.java:533)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.doWork(ReceiverModule.java:174)
>         at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
> connection?
>         at
> com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
>         at
> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
>         at
> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
>         at java.io.DataInputStream.readLine(DataInputStream.java:496)
>         at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:347)
>         at com.sun.mail.pop3.Protocol.<init>(Protocol.java:91)
>         at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
>         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
>         ... 7 more
> Any thoughts....frex
>
>    *De :* Frex Popo <[email protected]>
> *À :* "[email protected]" <[email protected]>
> *Envoyé le :* Lundi 3 juin 2013 11h54
>
> *Objet :* Re: email engine question
>
> Thanks Rahul,
>
> yes that was something I tried earlier and got the same error.
>
> Our server is configured to user SSL so will have to modify my
> configuration to use SSL as well.. hope this is straight foward :)
>
> Here are the links just to save other people's time.
>
> http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/fa3a54e9-de9e-4e94-8b5f-eb96631f56fb
>
> http://clintboessen.blogspot.com.es/2012/04/exchange-pop-your-e-mail-server.html
> Best regards
> frex
>   *De :* "Parekar, Rahul" <[email protected]>
> *À :* [email protected]
> *Envoyé le :* Lundi 3 juin 2013 10h21
> *Objet :* Re: email engine question
>
> **
> Try accessing the POP3 account that is configured for incoming using
> telnet?
>
> telnet <pop3 server> 110
> USER <pop3 userid>
> PASS <pop3 user password>
>
> Regards,
> Rahul
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> [email protected]] *On Behalf Of *Frex Popo
> *Sent:* Monday, 3 June 2013 1:18 PM
> *To:* [email protected]
> *Subject:* Re: email engine question
>
> **
>
> Hi everyone.
>
> Nearly there! :)
>
> Outgoing email message are now sent successfully. but incoming are failing!
>
> Here is the output from the DEBUG mode.
>
> DEBUG POP3: connecting to host "pop3mail.av.com", port 110, isSSL false
> S: +OK The Microsoft Exchange POP3 service is ready.
> C: USER DEV_remedyacc
> S: -ERR Command is not valid in this state.
> C: QUIT
> S: +OK Microsoft Exchange Server 2010 POP3 server signing off.
> DEBUG: getProvider() returning
> javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy
> stems, Inc]
> DEBUG POP3: connecting to host "pop3mail.prod.oami.eu", port 110, isSSL
> false
> S: +OK The Microsoft Exchange POP3 service is ready.
> C: USER DEV_remedyacc
> S: -ERR Command is not valid in this state.
> C: QUIT
> S: +OK Microsoft Exchange Server 2010 POP3 server signing off.
> Jun 3, 2013 9:40:25 AM com.sun.mail.pop3.POP3Store protocolConnect
> SEVERE: Command is not valid in this state.
> javax.mail.AuthenticationFailedException: Command is not valid in this
> state.
>         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
>         at javax.mail.Service.connect(Service.java:275)
>         at javax.mail.Service.connect(Service.java:156)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.initializeIncommingMailbox(ReceiverModule.java:1921)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.initialization(ReceiverModule.java:533)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.doWork(ReceiverModule.java:174)
>         at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288)
>         at java.lang.Thread.run(Thread.java:619)
> Jun 3, 2013 9:40:25 AM com.sun.mail.pop3.POP3Store protocolConnect
> SEVERE: Command is not valid in this state.
> javax.mail.AuthenticationFailedException: Command is not valid in this
> state.
>         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
>         at javax.mail.Service.connect(Service.java:275)
>         at javax.mail.Service.connect(Service.java:156)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.initializeIncommingMailbox(ReceiverModule.java:1921)
>         at
> com.bmc.arsys.emaildaemon.ReceiverModule.doWork(ReceiverModule.java:219)
>         at com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:288)
>         at java.lang.Thread.run(Thread.java:619)
>
> Best Regards
> frex
>
> *De :* Frex Popo <[email protected]>
> *À :* "[email protected]" <[email protected]>
> *Envoyé le :* Lundi 3 juin 2013 9h24
> *Objet :* Re: email engine question
>
> I have another email engine installed in the test server so made it point
> to dev and managed to get it working... will investigate development later
> :)
>
>
> BMC Remedy Email Engine has started
> Checking connection to server: rmdydev ...
> Application has started Version:  7.1.00 Patch 007 200903060530
> Using JRE: 1.6.0_10
> Successfully connected.
> Thanks for you help.
> frexpopo
>
> *De :* Frex Popo <[email protected]>
> *À :* "[email protected]" <[email protected]>
> *Envoyé le :* Lundi 3 juin 2013 8h44
> *Objet :* Re: email engine question
>
> thanks for the feedback shivdatta..
>
> I copied the original script and change it for the purpose of resetting
> the password...
>
> Here is the environment part of the script
>
> JAVA_DIR=/usr/ar/common/Sun/jdk/jdk1.6.0_10
> JAVA_BIN=${JAVA_DIR}/bin
> InstallPath=/usr/ar/AREmail
> LogFile=${InstallPath}/Logs/emaild.sh_log
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${InstallPath}:/usr/ar/AREmail:/usr/ar/mid-tier/WEB-INF/lib;export
> LD_LIBRARY_PATH
> SHLIB_PATH=${SHLIB_PATH}:${InstallPath}:/usr/ar/mid-tier/WEB-INF/lib;export
> SHLIB_PATH
> LIBPATH=${LIBPATH}:${InstallPath}:/usr/ar/mid-tier/WEB-INF/lib;export
> LIBPATH
>
> CP_DIR=${InstallPath}
> CP_PATH=${CP_DIR}/emaildaemon.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/.
> CP_PATH=${CP_PATH}:${CP_DIR}/smtp.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-configuration-1.3.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-beanutils.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-collections-3.2.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-digester-1.7.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-lang-2.2.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/spring.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-logging-1.1.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/commons-codec-1.3.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/log4j-1.2.14.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/pop3.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/mail.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/imap.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/activation.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/arutil${LIBVER}.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/arapi${LIBVER}.jar
> CP_PATH =${CP_PATH}:${CP_DIR}/arcmn${LIBVER}.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/arrpc${LIBVER}.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/oncrpc.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/mbox.jar
> CP_PATH=${CP_PATH}:${CP_DIR}/EmailAdminAgent.jar
> pidfile=${InstallPath}/emaild.pid
>
> Here is what I get when I try and reset the password, the script excutes
> and then hangs!
>
>
>     echo "Changing application password"
> + echo Changing application password
> Changing application password
>
>         exec ${JAVA_BIN}/java -Dmail.debug=true -cp ${CP_PATH}
> com.bmc.arsys.emaildaemon.EmailDaemon -p mypassword
> + exec /usr/ar/common/Sun/jdk/jdk1.6.0_10/bin/java -Dmail.debug=true -cp
> /usr/ar/AREmail/emaildaemon.jar:/usr/ar/AREmail/.:/usr/ar/AREmail/smtp.jar:/usr/ar/AREmail/commons-configuration-1.3.jar:/usr/ar/AREmail/commons-beanutils.jar:/usr/ar/AREmail/commons-collections-3.2.jar:/usr/ar/AREmail/commons-digester-1.7.jar:/usr/ar/AREmail/commons-lang-2.2.jar:/usr/ar/AREmail/spring.jar:/usr/ar/AREmail/commons-logging-1.1.jar:/usr/ar/AREmail/commons-codec-1.3.jar:/usr/ar/AREmail/log4j-1.2.14.jar:/usr/ar/AREmail/pop3.jar:/usr/ar/AREmail/mail.jar:/usr/ar/AREmail/imap.jar:/usr/ar/AREmail/activation.jar:/usr/ar/AREmail/arutil71.jar:/usr/ar/AREmail/arapi71.jar:/usr/ar/AREmail/arcmn71.jar:/usr/ar/AREmail/arrpc71.jar:/usr/ar/AREmail/oncrpc.jar:/usr/ar/AREmail/mbox.jar:/usr/ar/AREmail/EmailAdminAgent.jar
> com.bmc.arsys.emaildaemon.EmailDaemon -p arsystem
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.util.ARUtilEgcp.ECPUtil(Ljava/lang/String;)Ljava/lang/String;
>         at com.bmc.arsys.util.ARUtilEgcp.ECPUtil(Native Method)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemonProperties.setPassword(EmailDaemonProperties.java:395)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.executeComandLine(EmailDaemon.java:580)
>         at com.bmc.arsys.emaildaemon.EmailDaemon.main(EmailDaemon.java:316)
> Any with this will be very much appreciated
>
> thanks
> frexpopo
>
> *De :* "Marathe, Shivdatta" <[email protected]>
> *À :* [email protected]
> *Envoyé le :* Vendredi 31 mai 2013 18h53
> *Objet :* Re: email engine question
>
> **
> Add /usr/ar/AREmail/ in the LD_LIBRARY_PATH / LIB_PATH depending on os
> you are using.
> This issue was due to the API in 7.1 are using jni layer to talk with
> server and the .so files or libraries are not in the path due to which it
> is giving UnsatisfiedLinkError.
>
> */Shivdatta*
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> [email protected]] *On Behalf Of *Hullule, Kiran
> *Sent:* 31 May 2013 07:05 PM
> *To:* [email protected]
> *Subject:* Re: email engine question
>
> **
> Is there a possibility of running installation of email engine again, it
> seems some supported files are missing.
>
> *From:* Action Request System discussion list(ARSList) [
> mailto:[email protected] <[email protected]>] *On Behalf Of *Frex Popo
> *Sent:* Friday, May 31, 2013 7:00 PM
> *To:* [email protected]
> *Subject:* email engine question
>
> **
> Hello all,
>
> I am in the process of testing the email engine in dev but getting nowhere
> .. this email engine has been off for years so few changes might have been
> made java upgrades, patches etc ... which could have affected it..
>
> I set the email engine in debugging mode but when I start the email.sh
> script i don't see any trace..no connection to the server and no connection
> to the exchange server.
>
> BMC Remedy Email Engine has started
> + exec /usr/ar/common/Sun/jdk/jdk1.6.0_10/bin/java
> -Djava.library.path=/usr/ar/AREmail -Dmail.debug=true -cp
> /usr/ar/AREmail/emaildaemon.jar:/usr/ar/AREmail/.:/usr/ar/AREmail/smtp.jar:/usr/ar/AREmail/commons-configuration-1.3.jar:/usr/ar/AREmail/commons-beanutils.jar:/usr/ar/AREmail/commons-collections-3.2.jar:/usr/ar/AREmail/commons-digester-1.7.jar:/usr/ar/AREmail/commons-lang-2.2.jar:/usr/ar/AREmail/spring.jar:/usr/ar/AREmail/commons-logging-1.1.jar:/usr/ar/AREmail/commons-codec-1.3.jar:/usr/ar/AREmail/log4j-1.2.14.jar:/usr/ar/AREmail/pop3.jar:/usr/ar/AREmail/mail.jar:/usr/ar/AREmail/imap.jar:/usr/ar/AREmail/activation.jar:/usr/ar/AREmail/arutil71.jar:/usr/ar/AREmail/arapi71.jar:/usr/ar/AREmail/arcmn71.jar:/usr/ar/AREmail/arrpc71.jar:/usr/ar/AREmail/oncrpc.jar:/usr/ar/AREmail/mbox.jar:/usr/ar/AREmail/EmailAdminAgent.jar
> com.bmc.arsys.emaildaemon.EmailDaemon -d /usr/ar/AREmail
> We are still working with version 7.1 patch009 plannig to upgrade at the
> end of the year but need this to work for a current project I am working on.
>
> I check the log file under logs and see the following:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> com.bmc.arsys.util.ARUtilEgcp.GCPUtilApp(Ljava/lang/String;)Ljava/lang/String;
>         at com.bmc.arsys.util.ARUtilEgcp.GCPUtilApp(Native Method)
>         at
> com.bmc.arsys.emaildaemon.EmailUtil.createARServerUser(EmailUtil.java:435)
>         at
> com.bmc.arsys.emaildaemon.LoggingModule.setUserInfo(LoggingModule.java:713)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.startLoggingModule(EmailDaemon.java:123)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.<init>(EmailDaemon.java:93)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.newInstance(EmailDaemon.java:159)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.startMonitor(EmailDaemon.java:876)
>         at
> com.bmc.arsys.emaildaemon.EmailDaemon.executeComandLine(EmailDaemon.java:595)
>         at com.bmc.arsys.emaildaemon.EmailDaemon.main(EmailDaemon.java:316)
> Any thoughts on this will be very much appreciated.
> Many thank in advance
> frexpopo.
> _ARSlist: "Where the Answers Are" and have been for 20 years_
> _ARSlist: "Where the Answers Are" and have been for 20 years_
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
>
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
>
>
>
>   _ARSlist: "Where the Answers Are" and have been for 20 years_
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to