#20 mails lost

closed
nobody
None
5
2005-05-18
2005-04-18
Raspe
No

Hi,

I've a done a test with sending a large amount of mails
with blat 2.4.0 to my own emailaddress. This is done by
four cmd windows on one windows server 2003 machine,
so it is possible that two mails are send at the same
time on one machine and when this happens one mail is
lost! In my test 78 of the 1000 send mails are lost!
If I perform this test with blat 1.9.4 this is not happening
(it also looks like the older version is a lot quicker too).
Is it possible to massmail on one Windows machine
without losing mails? The blat clients had to connect to
a windows exchange server.

Simon Raspe

Discussion

  • Chip
    Chip
    2005-05-13

    Logged In: YES
    user_id=800692

    Did you use the -debug and -log options to track what each
    copy of Blat is doing? What did the log show for those
    missed messages?

    The older version has less work to do to format messages,
    which helps explain why it runs faster.

    Chip

     
  • Raspe
    Raspe
    2005-05-13

    Logged In: YES
    user_id=1260059

    Here are the two logs who interfered with each other. I didn't
    receive the mail with subject "85". You can see the are send
    at at same time on the same machine (on two cmd-windows
    on winpost2), and that the queue-id's are the same (??)

    2005.05.13 12:50:33 (Fri)------------Start of Session-----------------
    Blat v2.4 w/GSS encryption (build : Jan 15 2005 08:32:11)
    <<<getline<<< 220 int-mx.meteocon.nl Microsoft ESMTP
    MAIL Service, Version: 5.0.2195.6713 ready at Fri, 13 May
    2005 12:50:48 +0000
    >>>putline>>> EHLO WINPOST2
    <<<getline<<< 250-int-mx.meteocon.nl Hello [x.y.z.38]
    <<<getline<<< 250-TURN
    <<<getline<<< 250-ATRN
    <<<getline<<< 250-SIZE
    <<<getline<<< 250-ETRN
    <<<getline<<< 250-PIPELINING
    <<<getline<<< 250-DSN
    <<<getline<<< 250-ENHANCEDSTATUSCODES
    <<<getline<<< 250-8bitmime
    <<<getline<<< 250-BINARYMIME
    <<<getline<<< 250-CHUNKING
    <<<getline<<< 250-VRFY
    <<<getline<<< 250-X-EXPS GSSAPI NTLM LOGIN
    <<<getline<<< 250-X-EXPS=LOGIN
    <<<getline<<< 250-AUTH GSSAPI NTLM LOGIN
    <<<getline<<< 250-AUTH=LOGIN
    <<<getline<<< 250-X-LINK2STATE
    <<<getline<<< 250-XEXCH50
    <<<getline<<< 250 OK
    Sending c:\Post\POSTH2_0\tmp\send.txt to
    myaccount@myserver.nl
    Subject: 85
    Login name is winpost2@meteocon.nl
    >>>putline>>> MAIL FROM: <winpost2@meteocon.nl>
    <<<getline<<< 250 2.1.0 winpost2@meteocon.nl....Sender
    OK
    >>>putline>>> RCPT TO: <myaccount@myserver.nl>
    <<<getline<<< 250 2.1.5 myaccount@myserver.nl
    >>>putline>>> DATA
    <<<getline<<< 354 Start mail input; end with
    <CRLF>.<CRLF>
    <<<getline<<< 250 2.6.0 <01c557ba$Blat.v2.4
    $5e16441e@intern.meteocon.nl> Queued mail for delivery
    >>>putline>>> QUIT
    <<<getline<<< 221 2.0.0 int-mx.meteocon.nl Service closing
    transmission channel
    2005.05.13 12:50:40 (Fri)-------------End of Session------------------

    2005.05.13 12:50:33 (Fri)------------Start of Session-----------------
    Blat v2.4 w/GSS encryption (build : Jan 15 2005 08:32:11)
    <<<getline<<< 220 int-mx.meteocon.nl Microsoft ESMTP
    MAIL Service, Version: 5.0.2195.6713 ready at Fri, 13 May
    2005 12:50:48 +0000
    >>>putline>>> EHLO WINPOST2
    <<<getline<<< 250-int-mx.meteocon.nl Hello [x.y.z.38]
    <<<getline<<< 250-TURN
    <<<getline<<< 250-ATRN
    <<<getline<<< 250-SIZE
    <<<getline<<< 250-ETRN
    <<<getline<<< 250-PIPELINING
    <<<getline<<< 250-DSN
    <<<getline<<< 250-ENHANCEDSTATUSCODES
    <<<getline<<< 250-8bitmime
    <<<getline<<< 250-BINARYMIME
    <<<getline<<< 250-CHUNKING
    <<<getline<<< 250-VRFY
    <<<getline<<< 250-X-EXPS GSSAPI NTLM LOGIN
    <<<getline<<< 250-X-EXPS=LOGIN
    <<<getline<<< 250-AUTH GSSAPI NTLM LOGIN
    <<<getline<<< 250-AUTH=LOGIN
    <<<getline<<< 250-X-LINK2STATE
    <<<getline<<< 250-XEXCH50
    <<<getline<<< 250 OK
    Sending c:\Post\POSTH2_1\tmp\send.txt to
    myaccount@server.nl
    Subject: 86
    Login name is winpost2@meteocon.nl
    >>>putline>>> MAIL FROM: <winpost2@meteocon.nl>
    <<<getline<<< 250 2.1.0 winpost2@meteocon.nl....Sender
    OK
    >>>putline>>> RCPT TO: <myaccount@server.nl>
    <<<getline<<< 250 2.1.5 myaccount@server.nl
    >>>putline>>> DATA
    <<<getline<<< 354 Start mail input; end with
    <CRLF>.<CRLF>
    <<<getline<<< 250 2.6.0 <01c557ba$Blat.v2.4
    $5e16441e@intern.meteocon.nl> Queued mail for delivery
    >>>putline>>> QUIT
    <<<getline<<< 221 2.0.0 int-mx.meteocon.nl Service closing
    transmission channel
    2005.05.13 12:50:40 (Fri)-------------End of Session------------------

    Simon

     
  • Chip
    Chip
    2005-05-13

    Logged In: YES
    user_id=800692

    Curious about the same Message ID values. Perhaps that is
    why one message was lost while the other came through? I
    don't know what can be done about it while keeping
    portability, but I will investigate it this evening.

    Chip

     
  • Chip
    Chip
    2005-05-14

    Logged In: YES
    user_id=800692

    I can add the process ID value to the Message-ID header to
    make it unique, which should allow you to run multiple
    instances of Blat at the same time and get your emails through.

    If you want to test this change, write to me at chip dot
    programmer at att dot net. Its usually quicker to get
    responses if you write to the blat mailing list at blat at
    yahoogroups dot com.

    Chip

     
  • Raspe
    Raspe
    2005-05-18

    • status: open --> closed
     
  • Raspe
    Raspe
    2005-05-18

    Logged In: YES
    user_id=1260059

    I've tested the new version and it works perfect now, 1000
    mails received from the 1000 sent! Great!!

    Thanks,
    Simon