Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-24961

POP Message Listener fails to receive email with message board reply

    Details

      Description

      change portal-ext.properties to use pop subdomain:
      pop.server.subdomain=events

      1 Go to Control Panel
      2 In Portal setings set email domain to eg. mail.something.com and save
      3 In Server > Server Administration select Email tab and set incoming and outgoing pop email server
      4 create user User1 and set his email to an existing email you are able to read
      5 give User1 permissions to post messages to message board
      6 subscribe User1 to an thread or message board category
      7 login as Test and post message to thread or category that User1 subscribed
      8 User1 should receive email
      9 reply to that email

      You will find error message in portal log:

      14:52:31,113 ERROR [MessageListenerImpl:95] Unable to process message: com.sun.mail.pop3.POP3Message@772bba71
      com.liferay.portal.NoSuchCompanyException: No Company exists with the key

      {mx=mail.something.co}

      at com.liferay.portal.service.persistence.CompanyPersistenceImpl.findByMx(CompanyPersistenceImpl.java:724)
      at com.liferay.portal.service.impl.CompanyLocalServiceImpl.getCompanyByMx(CompanyLocalServiceImpl.java:631)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      at $Proxy16.getCompanyByMx(Unknown Source)
      at com.liferay.portal.service.CompanyLocalServiceUtil.getCompanyByMx(CompanyLocalServiceUtil.java:465)
      at com.liferay.portlet.messageboards.pop.MessageListenerImpl.getCompany(MessageListenerImpl.java:264)
      at com.liferay.portlet.messageboards.pop.MessageListenerImpl.accept(MessageListenerImpl.java:74)
      at com.liferay.portal.pop.MessageListenerWrapper.accept(MessageListenerWrapper.java:40)
      at com.liferay.portal.pop.messaging.POPNotificationsMessageListener.nostifyListeners(POPNotificationsMessageListener.java:141)
      at com.liferay.portal.pop.messaging.POPNotificationsMessageListener.nostifyListeners(POPNotificationsMessageListener.java:165)
      at com.liferay.portal.pop.messaging.POPNotificationsMessageListener.pollPopServer(POPNotificationsMessageListener.java:175)
      at com.liferay.portal.pop.messaging.POPNotificationsMessageListener.doReceive(POPNotificationsMessageListener.java:52)
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
      at $Proxy277.receive(Unknown Source)
      at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:75)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
      at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:106)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
      at java.lang.Thread.run(Thread.java:717)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 21 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2