473,672 Members | 2,603 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+f or+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 OutboundConnect ionCommand SMTPSVC1 ACME -
25 RCPT - TO:<pe****@acme 2.com> 0 0 4 0 50 - -
2005-10-05 11:12:30 10.1.208.103 OutboundConnect ionResponse SMTPSVC1 ACME -
25 - -
250+2.6.0++<00* *************** ************@ac me.com>+Queued+ mail+for+delive r
y 0 0 94 0 160 - -

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

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

Similar topics

15
3064
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 of "virtual" SMTP server on my site?. (I really can't afford to use a third party SMTP mailer). -- Regards Steven Burn
11
2335
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: We receive a large number of very simple POST requests to our vb.net web
1
1522
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 send the e-mail. MailMessage objMail = new MailMessage(); objMail.From = "nigel@***"; objMail.To = nigel@***; objMail.Subject = txtSubject.Text;
34
18227
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
0
764
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. My supervisor wants me to set up a log file that monitors the dialog between our IIS SMTP virtual server and the ISP. I have enabled logging on
7
6106
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 is <1 second) to display. Then you can click 4 times with a normal response time and the 5th the repsone time it is 30 seconds again. The page has exactly the same parameters every time but there seem to occur some "locking" that stops the action...
17
3781
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 employ mail() by simulating an smtp server and directing output to a text file or to an installed text editor. Right now I can modify the script to use something instead of mail(), then change it when I put into production, but I would really...
3
3296
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 installed. When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server... ...
0
1147
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 process with my new application. Everything seemed to be fine. But now, my IIS SMTP server will not send email at all. Messages go into the queue, but will not be sent. I get constant event logs
0
8486
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8608
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8680
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5705
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2819
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1816
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.