Menu

MailboxScanner problem

2003-05-21
2003-05-22
  • Dejan Krsmanovic

    Bill wrote:

    I now have most of Higgsbros working - I had a few typos in the convert and the xsl files and I inserted some new pipeline stages to FileWrite the documents in intermediate stages so that I could see what was happening, but it seems to all work (I removed the [1] from orders[1]/...)

    I'm still having problems with the mail reader, writer works fine. The mail reader worked earlier at one point when I was on the same network as the server and now doesn't again. (I 'm on a laptop and move between networks.) When I watch my mail server, the connection opens, the scanner detects the document, and then just hangs - the connection between the mail reader and the mail server stays open, then 30 seconds later, the scanner opens another connection. From that point on there never seems to be more than 3 connections open, but there is always one. Scanner just keeps reprinting the message that 1 document was detected.

    Hope this helps.

    Thanks,

    Bill

    -------------------------------------------------------

    Bill,
    if you have corrected the errors existed in the original examples, could you send your configuration as patch (in patch tracker). We could include this stuff in the 1.0.1 release so it would help other users...

    Talking about mailbox scanner, do you want to say that mailbox scanner worked in some situations (when you was on the same network?).

    Dejan

     
    • Dejan Krsmanovic

      Bill,
      check if you are sending plain text messages.

      Dejan

       
    • Bill Harrelson

      Bill Harrelson - 2003-05-21

      The second or third time I tried it the mailbox scanner worked and worked consistently, so I decided that I must have had some configuration wrong.  Then later, when I tried it again, if failed consistently in the same way that it failed originally (as I've described).  If I try to think about what was different between the two situations, in the first I was on the same network with the mail server (LAN), then later I was remote.  I will try this again when I go into the office today and see if I can find out more information.  Yes I am sending plain text messages.

      Bill

       
    • Bill Harrelson

      Bill Harrelson - 2003-05-21

      No, the mailbox scanner is still not working for me. (odd,...)
      Here's the scanner config file:
      mailbox.type=mailbox
      mailbox.host=pop dot accordare dot com (correct form)
      mailbox.username=bbldocq1
      mailbox.password=goodpassword
      mailbox.pipeline=higgsbros
      mailbox.period=30000
      mailbox.protocol=pop3

      Here's the messages:
      C:\Higgsbros>babeldoc scanner
      Scanner mailbox config = mailbox
      <2003-05-21 11:24:24,874> INFO  [main] :  Starting thread: mailbox...
      <2003-05-21 11:24:25,065> INFO  [main] :  Thread mailbox scanning
      <2003-05-21 11:24:55,428> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:25:25,632> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:25:55,665> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:26:25,688> INFO  [mailbox] :  Scanner mailbox found 1 messages

      note that they are 30 seconds apart and the pipeline never starts. - The mail message is never retrieved.

      My mail server is Mercury mail, pop3 access works just fine for all my users.

      As always, any help is appreciated.

      Bill

       
    • Bill Harrelson

      Bill Harrelson - 2003-05-21

      No, the mailbox scanner is still not working for me. (odd,...)
      Here's the scanner config file:
      mailbox.type=mailbox
      mailbox.host=pop dot accordare dot com (correct form)
      mailbox.username=bbldocq1
      mailbox.password=goodpassword
      mailbox.pipeline=higgsbros
      mailbox.period=30000
      mailbox.protocol=pop3

      Here's the messages:
      C:\Higgsbros>babeldoc scanner
      Scanner mailbox config = mailbox
      <2003-05-21 11:24:24,874> INFO  [main] :  Starting thread: mailbox...
      <2003-05-21 11:24:25,065> INFO  [main] :  Thread mailbox scanning
      <2003-05-21 11:24:55,428> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:25:25,632> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:25:55,665> INFO  [mailbox] :  Scanner mailbox found 1 messages
      <2003-05-21 11:26:25,688> INFO  [mailbox] :  Scanner mailbox found 1 messages

      note that they are 30 seconds apart and the pipeline never starts. - The mail message is never retrieved.

      My mail server is Mercury mail, pop3 access works just fine for all my users.

      As always, any help is appreciated.

      Bill

       
      • Bill Harrelson

        Bill Harrelson - 2003-05-21

        Just out of interest, I tried IMAP instead of pop3 and found almost the same result.  The only difference is that when I went and looked at my mail server I found four IMAP connections open at once.  This was the output:

        C:\Higgsbros>babeldoc scanner
        Scanner mailbox config = mailbox
        <2003-05-21 11:47:50,075> INFO  [main] :  Starting thread: mailbox...
        <2003-05-21 11:47:50,576> INFO  [main] :  Thread mailbox scanning
        <2003-05-21 11:48:20,919> INFO  [mailbox] :  Scanner mailbox found 1 messages
        <2003-05-21 11:48:51,003> INFO  [mailbox] :  Scanner mailbox found 1 messages
        <2003-05-21 11:49:21,056> INFO  [mailbox] :  Scanner mailbox found 1 messages
        <2003-05-21 11:49:51,079> INFO  [mailbox] :  Scanner mailbox found 1 messages
        Terminate batch job (Y/N)? ^C
        C:\Higgsbros>

        every scan seemed to open a new connection, but never release it.

        hope this helps,

        Bill

         
      • Bill Harrelson

        Bill Harrelson - 2003-05-22

        Well, finally making _certain_ that my email was plain text makes it work.  Sorry for the confusion.  Turns out that my mailer was set-up to send plain text, but the text that I pasted in contained formatting and the mailer changed format on me without my noticing.  After the other messages I finally went and looked at the raw view of mail and found the problem and now the mailbox scanner works very prettily indeed.  Once again, sorry for the confusion.

        I'm getting excited about Babeldoc.

        Bill

         
    • bruce mcdonald

      bruce mcdonald - 2003-05-22

      Bill,

      Thanks for all the feedback.  What do you want to do with babeldoc?   We are always looking at ways to extend babeldoc.  The 1.1 branch has some great new code and we are going to be adding new scanner code (dejank) and I am going to be working on a compiler so that pipelines execute as fast as natively written java code.  Exciting times ahead.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.