473,513 Members | 2,665 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to read IIS6's smtp logs

i need to parse smtp logs to check the delivery status. from previous
experience with smtp logs, i was under the impression that the log file
followed a very specific format:
EHLO
MAIL
RCPT
BDAT
QUIT

in this case, however, i've got a log indicating commands being issued like
this:
EHLO
EHLO
MAIL
MAIL
RCPT
RCPT
BDAT
BDAT
QUIT
QUIT

i have a separate list from a database of people i attempted to send emails
to and need to try to look at each line in the smtp logs until i find a
matching email address, then continue to read until i find a line that
includes the string "+Queued+mail+for+delivery" or any of the other strings
indicating the delivery status. however, given the odd sequence in which the
mail commands are being issued, i don't seem to have any way of knowing if
the delivery status notification line i'm reading really reflects delivery
status info about the email address in question or if it's referring to one
of the other delivery requests issued with another one of the EHLO commands.
i've tried looking to see if there's something unique about the delivery
status line to see if it's in some way associated with the RCPT line, but
don't see any patterns:

2005-10-05 11:12:30 10.1.208.103 OutboundConnectionCommand SMTPSVC1 ACME -
25 RCPT - TO:<pe****@acme2.com> 0 0 4 0 50 - -
2005-10-05 11:12:30 10.1.208.103 OutboundConnectionResponse SMTPSVC1 ACME -
25 - -
250+2.6.0++<00****************************@acme.co m>+Queued+mail+for+deliver
y 0 0 94 0 160 - -

am i missing something? how are these statements associated?
Oct 5 '05 #1
0 3984

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
3037
by: Steven Burn | last post by:
My server has POP but only has SMTP if sending to my domain, and not other domains (such as hotmail). I'm therefore wondering, if anyone knows of any scripts etc, that will allow me to have a sort...
11
2322
by: Ed Dearlove | last post by:
**Also posted in inetserver.iis newsgroup as I am unsure of where the problem lies** Hi, I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one: ...
1
1517
by: Nigel | last post by:
I know there are lots of threads covering my question but i am still unable to send e-mails from an asp.net page. Messages are not even going into the logs. Here is the code that i am using to...
34
18144
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
0
757
by: Al G | last post by:
Hi Folks, I'll start with the basics, I'm using WinXP SP2, VS2005 SP1, VB, and system.net.mail Thanks to some pointers from people in this group, I have my email application up and running. ...
7
6099
by: =?Utf-8?B?QWtlcmx1bmQ=?= | last post by:
User clicks a link that displays a customer card and financial stats (has a lot of database calls). Every 5 times the user clicks the same page/link it takes about 30 seconds (normal response time...
17
3766
by: William Gill | last post by:
My development machine (WinXP, Apache 2.2.4) does not have an smtp server, and I don't really want to install one if I can help it. Does anyone know of a simple method of testing php scripts that...
3
3290
by: tamaker | last post by:
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS...
0
1133
by: jbrooksga | last post by:
Hello, First of all I know nothing about programming. Recently had to install .Net1.1 on my W2K server to support an application I had purchased. The .Net1.1 was installed as part of the...
0
7257
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5682
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.