Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49570

Poll mail box plugin is not able to read the mail box of MS exchange but able to connect

      Plugin version :: 1.026

      Jenkins version :: 2.32.3

      I have installed Poll-mailbox-trigger-plugin on my jenkins server. we also have a mail server ( MS-Exchange).

      ISSUE :: some time i have noticed that the plugin not able to read the mail even though there are unread mail present in the mail box but it's able to connect to the server at same time. 

       

      i found similar issue when i searched https://issues.jenkins-ci.org/browse/JENKINS-32966 and taken care the configuration of poll-mailbox plugin.

       

      Note - mostly i noticed this happens in the morning. it never fails once it start working. i tried 3 PM to 11:50 PM and it worked fine but next morning again it started failing to read.

       

      Doubt - does the polling-plugin compare the time stamp of jenkins server where the plugin install and the mail-server ?

       

      Configuration and the log are attached. Polling time is 2 min.

       

      [Poll Mailbox Trigger] - Connected!
      Found properties:

      • [attachments:IGNORE]
      • [folder:INBOX]
      • [host:mail.xyz.com]
      • [mail.debug:true]
      • [mail.debug.auth:true]
      • [mail.imap.ssl.enable:true]
      • [mail.imap.starttls.enable:true]
      • [mail.imaps.host:mail.xyz.com]
      • [mail.imaps.port:993]
      • [password:***]
      • [receivedXMinutesAgo:120]
      • [storeName:imaps]
      • [subjectContains:Trigger TESTMAIL]
      • [username:runplv@xyz.com]
        Connected to mailbox. Searching for messages where:
      • [flag is unread]
      • [subject contains 'Trigger TESTMAIL']

          [JENKINS-49570] Poll mail box plugin is not able to read the mail box of MS exchange but able to connect

          hemant sharma added a comment -

          i changed the receivedXMinutesAgo:120 to 48 hours and it started picking older mails. 

          better we put this in the document so ppl take care of timestamp as well.

          hemant sharma added a comment - i changed the receivedXMinutesAgo:120 to 48 hours and it started picking older mails.  better we put this in the document so ppl take care of timestamp as well.

          hemant sharma I am not able to establish connection with MS exchange, I will highly appreciate if you could share details for the same 

          Sumit Bhardwaj added a comment - hemant sharma I am not able to establish connection with MS exchange, I will highly appreciate if you could share details for the same 

          Joel Kingston added a comment -

          I am also facing same issue .. is there any update on this issue !!!

          Joel Kingston added a comment - I am also facing same issue .. is there any update on this issue !!!

            nickg Nick Grealy
            hemant_hemant hemant sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: