This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Webmaster forum > September 2005 > need accurate smtp logs
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
need accurate smtp logs
|
|
|
| i've got a client who wants to be able to check on the status of sent email.
he needs a report stating whether or not the email address was valid, if the
email was rejected, if it bounced back, etc. i can process the smtp logs for
some of this info, but some of the info is inaccurate. for instance, i tried
sending an email to a bad address within our domain and then checked the
logs, which read like everything was accepted fine. this made no sense
until i recalled that the server is set up to forward any unknown emails to
a default recipient..
what about bounced email? it's the remote smtp server's job to notify the
originator of the bounce, isn't it? as such, does it notify the originating
smtp server or the "from" address of the bouce? does it even have to notify
anybody of the bounce?
this is an IIS6 smtp server and i've tried playing with different log
formats to try to get accurate info, but nothing seems to work.
anybody got a good recommendation?
tks
| |
| Toby Inkster 2005-09-28, 10:32 pm |
| Dica wrote:
> i've got a client who wants to be able to check on the status of sent email.
> he needs a report stating whether or not the email address was valid, if the
> email was rejected, if it bounced back, etc.
There is simply no way you can know this. Once the mail has left your
server and been accepted by their server, your mail server can't log
anything more, can it?
> it's the remote smtp server's job to notify the originator of the
> bounce, isn't it?
Sometimes.
The remote server can reject the mail mid-transaction, in which case it's
your mail server's job to notify the sender.
Or the remote server can accept the mail and then later decide it doesn't
want the mail, in which case it would have to send the bounce message.
> as such, does it notify the originating smtp server or the "from"
> address of the bouce?
It should check the message's Errors-To RFC822 header if present and send
the bounce there (most don't though). In the absence of such a header it
should send the bounce to the envelope From address, which is not the same
as the From RFC822 header.
> does it even have to notify anybody of the bounce?
It doesn't *have* to, but it's customary.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|