Mark,

Is the first message really from 'imailsrv@domain' or is it a message from
your program, using 'imailsrv' as the return address? I cannot see how it
could be the first as imailsrv does not respond with a 'was it you' message.

I've reordered the log data to put all of each transaction together and that
shows some 'missing' elements. I've also placed some comments below each
transaction group.

Looking at the contents of the 'subscribe' message, I would remove the line
with all the '-' in it, so it only contains commands (or empty lines) in the
first 6 lines. Or your script needs to remove this before sending the email
to imailsrv to subscribe that user. It is possible that line is being
responded to by imailsrv as if it were a command. Imailsrv processes each
line individually, so if one sends a single email with 4 command lines, you
will get 4 replies.

I'd have to say the script is causing the trouble or you are just sending
too many lines. Sorry, I'm not a programmer, so cannot help with your
script.

We use a similar process to subscribe users to the forums, but the message
is not sent from 'imailsrv' but from  'subscribe'. Only when the user
responds to 'subscribe' does the process generate the email with the real
subscribe message from the user and that lets them join the list.

Daniel Donnelly
________________________________________________________

----- Original Message -----
From: "Mark Kahn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:37 PM
Subject: Re: [IMail Forum] Mailing Lists


> imail is only reveiving one e-mail.  here's the logs surrounding the
event.  The first e-mail sent FROM imail is the message to the user saying
"someone subscribed.  was it you?  click here if it was":
>
> SMTPD (034400CE) [209.61.132.133] connect 209.61.132.133 port 4663
> SMTPD (034400CE) [209.61.132.133] EHLO server95
> SMTPD (034400CE) [209.61.132.133] MAIL
FROM:<imailsrv@[domain_with_list].com>
> SMTPD (034400CE) [209.61.132.133] RCPT TO:<[EMAIL PROTECTED]>
> SMTPD (034400CE) [209.61.132.133] d:\imail\spool\D22f10ce.SMD 1803

DD- The message to cwolves (from your script?), accepted and placed into the
Queue.

> SMTP (2436) processing d:\imail\spool\Q22f10ce.SMD
> SMTP (2436) ldeliver cwolves.com cwolves-main (1)
<imailsrv@[domain_with_list].com 1803
> SMTP (2436) finished d:\imail\spool\Q22f10ce.SMD status=1

DD- The message above, delivered to the cwolves user account.

> SMTPD (034500CE) [xxx.xxx.xxx.xxx] connect xxx.xxx.xxx.xxx port 4675
> SMTPD (034500CE) [xxx.xxx.xxx.xxx] EHLO server95
> SMTPD (034500CE) [xxx.xxx.xxx.xxx] MAIL FROM:<[EMAIL PROTECTED]>
> SMTPD (034500CE) [xxx.xxx.xxx.xxx] RCPT
TO:<imailsrv@[domain_with_list].com
> SMTPD (034500CE) [xxx.xxx.xxx.xxx] d:\imail\spool\D23290ce.SMD 1110

DD- Response from cwolves, for imailsrv, accepted and placed into the Queue

> SMTP (2036) processing d:\imail\spool\Q23290ce.SMD

DD- IMail starts processing message from cwolves, but log does not show this
transaction completing. Probably you just did not include the other (2036)
lines.

> SMTP (3400) processing d:\imail\spool\QH717E.tmp
> SMTP (3400) ldeliver cwolves.com cwolves-main (1)
[LIST_NAME]-owner@[domain_with_list].com 265
> SMTP (3400) finished d:\imail\spool\QH717E.tmp status=1

DD- A message delivered to cwolves user account, but unknown message source
(the Qh717e.tmp file)! What is this file and what created it, and what did
it contain???

> SMTP (3804) processing d:\imail\spool\QH7180.tmp
> SMTP (3804) ldeliver [domain_with_list].com ketan-main (1)
root@[domain_with_list].com 258
> SMTP (3804) finished d:\imail\spool\QH7180.tmp status=1

DD- A message delivered to user 'ketan' from user 'root'. Again, no info
about the .tmp file, its contents or what created it! Don't know if this is
part of the script process or something different.

> SMTP (2420) processing d:\imail\spool\QH7182.tmp
> SMTP (2420) ldeliver cwolves.com cwolves-main (1)
[LIST_NAME]-owner@[domain_with_list].com 234
> SMTP (2420) finished d:\imail\spool\QH7182.tmp status=1

DD- A second message delivered to cwolves user, again from a tmp file with
same questions as above 2 items!

> SMTPD (034600CE) [17.254.0.52] d:\imail\spool\D23260ce.SMD 5219

DD- Unknown message. Probably an earlier transaction, and this looks like
the last line of a normal message acceptance and placing file into Queue.

>
>
> As for the e-mail that the script sends:
>
> Received: from server95 [209.61.132.133] by cwolves.com with ESMTP
>   (SMTPD32-6.05) id A65F35B00CE; Fri, 06 Apr 2001 15:26:07 -0500
> Received: from mail pickup service by server95 with Microsoft SMTPSVC;
> Fri, 6 Apr 2001 15:26:07 -0500
> To: <[EMAIL PROTECTED]>
> Subject: [LIST_NAME] Subscription
> Date: Fri, 6 Apr 2001 15:26:07 -0500
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0030_01C0BEAD.E6904C90"
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
> Message-ID: <SERVER95MCSK0jYisef0000004b@server95>
> X-OriginalArrivalTime: 06 Apr 2001 20:26:07.0521 (UTC)
FILETIME=[CF84D910:01C0BED7]
> X-RCPT-TO: <[EMAIL PROTECTED]>
> X-UIDL: 5
> Status: U
> --------------------------------------------------------------------------
------
> subscribe [LIST_NAME] Mark_Kahn
>
>
>
> Well, that's it...as far as I can tell, the server recieves ONE e-mail and
sends back two.  And in those logs, the user has an e-mail account on the
same server, so i-mail is sending e-mail locally.  but it does the same
thing with external accounts.
>
> ARGH
> -Mark
>
> ---------- Original Message ----------------------------------
> From: "Daniel Donnelly" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 6 Apr 2001 15:01:48 -0400
>
> >Mark,
> >
> >So you are saying the message is one of the List Servers responses,
'already
> >subscribed'? I thought you were saying it was a bounce message, saying
> >'Message already here' or something to that effect. So my answer was not
> >pertinent to the situation! Guess I missed the meaning of your words
"list
> >account" in your original.
> >
> >What does the IMail Log show about receiving the email from the script,
both
> >when sending to your account and sending to imailsrv?
> >
> >As for the timing, I'm not so sure what you are seeing is 'wrong' in that
> >the first to arrive will cause the subscribe process to start, which has
> >more 'work' to do than processing the second email and sending only the
> >'already subscribed message'. This could mean that the second response
could
> >arrive before the first. I don't think this is a meaningful 'clue'. Just
a
> >delay caused by more intensive processing for the first response.
> >
> >Without seeing the complete message prior to sending to IMail, I don't
know
> >what else I can do. Maybe if you modify your script to output to a text
> >file, the same contents that go in the email (header and all!), you will
> >learn a lot more. Also might help to look at the output of MS SMTP
(logs?)
> >to see if it is truly sending just one email. I suppose IMail logs could
> >tell you this, too.
> >
> >Daniel Donnelly
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to