|
Home > Archive > IIS and SMTP > December 2004 > IIS Sending same email multiple times
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 |
IIS Sending same email multiple times
|
|
|
| I've been having intermittent problems with IIS 5.0 SMTP. Clients are
complaining that hey receive same emails multiple times, the amount of emails
is determined by IIS’s Delivery tab for outbound retry intervals. My spam
software logs only one email being sent, the original but IIS logs all the
emails sent. This is clearly something with IIS but I don’t know how to
troubleshoot this besides looking at the logs, which don’t tell me much.
Anyone have any ideas?
Configuration Exchange server forwards outgoing emails my spam server, which
is running GFI and IIS 5.0 which in turn forwards mail to a sendmail server
for delivery.
Thanks in advance for your time
| |
| Jeff Cochran 2004-12-02, 6:03 pm |
| On Thu, 2 Dec 2004 11:39:02 -0800, "SG320"
<SG320@discussions.microsoft.com> wrote:
>I've been having intermittent problems with IIS 5.0 SMTP. Clients are
>complaining that hey receive same emails multiple times, the amount of emails
>is determined by IIS’s Delivery tab for outbound retry intervals. My spam
>software logs only one email being sent, the original but IIS logs all the
>emails sent. This is clearly something with IIS but I don’t know how to
>troubleshoot this besides looking at the logs, which don’t tell me much.
>Anyone have any ideas?
>
>Configuration Exchange server forwards outgoing emails my spam server, which
>is running GFI and IIS 5.0 which in turn forwards mail to a sendmail server
>for delivery.
So which is actually sending the extra mail? And have you tried to
simply increased the retry interval?
Jeff
| |
|
| Thanks Jeff for your reply.
My sendmail server is actually sending the emails it receives from IIS, so
it's IIS that's ignitiating the sending. Yes, I tried increasing the
intervals but it still happens but it's very hard or almost impossible to
replicate the problem on demand.
I guess IIS gets a failure from sendmail that the original email was not
sent and that in turn make IIS go crazy but looking through my sendmail logs
it shows the 1st email as being sent without delays. Is there a default
timeout period that IIS waits for a response from my sendmail server before
it detects a failure or email deferred?
Thanks again.
"Jeff Cochran" wrote:
> On Thu, 2 Dec 2004 11:39:02 -0800, "SG320"
> <SG320@discussions.microsoft.com> wrote:
>
>
> So which is actually sending the extra mail? And have you tried to
> simply increased the retry interval?
>
> Jeff
>
| |
| Jeff Cochran 2004-12-02, 8:50 pm |
| On Thu, 2 Dec 2004 13:45:14 -0800, "sg320"
<sg320@discussions.microsoft.com> wrote:
>Thanks Jeff for your reply.
>My sendmail server is actually sending the emails it receives from IIS, so
>it's IIS that's ignitiating the sending. Yes, I tried increasing the
>intervals but it still happens but it's very hard or almost impossible to
>replicate the problem on demand.
>
>I guess IIS gets a failure from sendmail that the original email was not
>sent and that in turn make IIS go crazy but looking through my sendmail logs
>it shows the 1st email as being sent without delays. Is there a default
>timeout period that IIS waits for a response from my sendmail server before
>it detects a failure or email deferred?
Not that I know of, but check the IIS logs and see exactly what is
happening. You may need to increase the logging levels to ge
everything.
Jeff
[vbcol=seagreen]
| |
|
| Hi Jeff, thanks again for your help and time. How can I increase the logging
level on IIS/SMTP is it a registry tweak? Since my Sendmail server takes care
of completing the email trasaction when a failure or delay occurs, can't I
just disable my IIS/SMTP to retry at the different intervals?
Thanks
"Jeff Cochran" wrote:
> On Thu, 2 Dec 2004 13:45:14 -0800, "sg320"
> <sg320@discussions.microsoft.com> wrote:
>
>
> Not that I know of, but check the IIS logs and see exactly what is
> happening. You may need to increase the logging levels to ge
> everything.
>
> Jeff
>
>
>
>
| |
| Jeff Cochran 2004-12-03, 6:10 pm |
| X-Newsreader: Forte Agent 1.5/32.451
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Newsgroups: microsoft.public.inetserver.iis.smtp_nntp
NNTP-Posting-Host: 63.144.204.201
Path: TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
Lines: 1
Xref: TK2MSFTNGP08.phx.gbl microsoft.public.inetserver.iis.smtp_nntp:10898
On Fri, 3 Dec 2004 08:35:04 -0800, "sg320"
<sg320@discussions.microsoft.com> wrote:
>Hi Jeff, thanks again for your help and time. How can I increase the logging
>level on IIS/SMTP is it a registry tweak?
Select the logfile type of W3C Extended for the SMTP site to get more
information logged (and custom control over a number of items). Check
everything.
>Since my Sendmail server takes care
>of completing the email trasaction when a failure or delay occurs, can't I
>just disable my IIS/SMTP to retry at the different intervals?
The default retry intervals are fairly long, you should only get a
retry every six hours after the first three. I'm not sure this is
your real problem, and you need to look at the SMTP logs on both sides
to see what may be happening between servers.
Is it possible your GFI / Spam operations are actually triggering the
multiple messages? How about testing the server by bypassing the spam
program?
Jeff
[vbcol=seagreen]
>Thanks
>
>
>"Jeff Cochran" wrote:
>
| |
|
| Hi Jeff,
>Select the logfile type of W3C Extended for the SMTP site to get more
>information logged (and custom control over a number of items). Check
>everything.
The logging I have is NCSA logging because GFI tech support said it was
easier to troubleshoot with. My intervals are actually set to 15 min, 30, 60,
120 for a max of 2 days. Maybe I can put all my intervals retry to 0 min
except for my first one. Will that disable my retries?
> Is it possible your GFI / Spam operations are actually triggering the
> multiple messages? How about testing the server by bypassing the spam
> program?
This started happening since installaling this application with IIS 5.0
because I was originally using Webshield, which had it's own smtp engine and
was not relying on IIS.
I don't think it's GFI directly because the logs only show 1 email was sent
while the IIS logs show multiple hits. GFI tech support also said that it's
an IIS problem and not GFI because of my explanation I just mentioned.
"Jeff Cochran" wrote:
> On Fri, 3 Dec 2004 08:35:04 -0800, "sg320"
> <sg320@discussions.microsoft.com> wrote:
>
>
> Select the logfile type of W3C Extended for the SMTP site to get more
> information logged (and custom control over a number of items). Check
> everything.
>
>
> The default retry intervals are fairly long, you should only get a
> retry every six hours after the first three. I'm not sure this is
> your real problem, and you need to look at the SMTP logs on both sides
> to see what may be happening between servers.
>
> Is it possible your GFI / Spam operations are actually triggering the
> multiple messages? How about testing the server by bypassing the spam
> program?
>
> Jeff
>
>
>
| |
| Jeff Cochran 2004-12-03, 6:10 pm |
| On Fri, 3 Dec 2004 09:43:04 -0800, "sg320"
<sg320@discussions.microsoft.com> wrote:
>The logging I have is NCSA logging because GFI tech support said it was
>easier to troubleshoot with. My intervals are actually set to 15 min, 30, 60,
>120 for a max of 2 days. Maybe I can put all my intervals retry to 0 min
>except for my first one. Will that disable my retries?
Never tried. But think about it. You get one mesaage per retry, so
if you sent the message three hours ago you'd have four messages,
tops. Do you have only that many?
> This started happening since installaling this application with IIS 5.0
>because I was originally using Webshield, which had it's own smtp engine and
>was not relying on IIS.
>
>I don't think it's GFI directly because the logs only show 1 email was sent
>while the IIS logs show multiple hits. GFI tech support also said that it's
>an IIS problem and not GFI because of my explanation I just mentioned.
Nice tech support. Never did like GFI's support (the products are
decent, just had trouble getting answers that worked). Have you tried
setting IIS to send directly instead of through SendMail?
And again, you need to match the SMTP logs from each system to see why
the message is being resent. If it's not exceeding a timeout
interval, then there may be another reason.
Jeff
[vbcol=seagreen]
| |
| Jeff Cochran 2004-12-03, 6:10 pm |
| Another thought, you are using the Sendmail server as the smarthost in
SMTP, correct?
Jeff
On Fri, 03 Dec 2004 17:21:06 GMT, jeff.nospam@zina.com (Jeff Cochran)
wrote:
[vbcol=seagreen]
>On Fri, 3 Dec 2004 08:35:04 -0800, "sg320"
><sg320@discussions.microsoft.com> wrote:
>
>
>Select the logfile type of W3C Extended for the SMTP site to get more
>information logged (and custom control over a number of items). Check
>everything.
>
>
>The default retry intervals are fairly long, you should only get a
>retry every six hours after the first three. I'm not sure this is
>your real problem, and you need to look at the SMTP logs on both sides
>to see what may be happening between servers.
>
>Is it possible your GFI / Spam operations are actually triggering the
>multiple messages? How about testing the server by bypassing the spam
>program?
>
>Jeff
>
| |
|
| I guess I'll have to try with W3C full options and forget about GFI's tech
support. My IIS logs show something like 30-40 emails sent to this person,
which again I don't understand why since it recognises that the email was
successfully sent.
Looking through my sendmail logs, it shows as successfully sent every single
time it gets the request from my GFI/IIS server. But I'll have to try to
dissect the logs even more.
I tried sending straight through without sendmail and I never had this
problem but I did have others like many more NDR, which work when sent
through sendmail. Finally the sendmail IP address is in my smarthost.
I will attempt setting the retry values to 0 and to put logging to W3C.
Jeff thanks again for your help.
"Jeff Cochran" wrote:
> On Fri, 3 Dec 2004 09:43:04 -0800, "sg320"
> <sg320@discussions.microsoft.com> wrote:
>
>
> Never tried. But think about it. You get one mesaage per retry, so
> if you sent the message three hours ago you'd have four messages,
> tops. Do you have only that many?
>
>
> Nice tech support. Never did like GFI's support (the products are
> decent, just had trouble getting answers that worked). Have you tried
> setting IIS to send directly instead of through SendMail?
>
> And again, you need to match the SMTP logs from each system to see why
> the message is being resent. If it's not exceeding a timeout
> interval, then there may be another reason.
>
> Jeff
>
>
>
>
>
| |
| Jeff Cochran 2004-12-03, 6:10 pm |
| On Fri, 3 Dec 2004 11:55:08 -0800, "sg320"
<sg320@discussions.microsoft.com> wrote:
>I guess I'll have to try with W3C full options and forget about GFI's tech
>support. My IIS logs show something like 30-40 emails sent to this person,
>which again I don't understand why since it recognises that the email was
>successfully sent.
That's why I'm not sure it has anything to do with retries, or even
timeouts.
>Looking through my sendmail logs, it shows as successfully sent every single
>time it gets the request from my GFI/IIS server. But I'll have to try to
>dissect the logs even more.
>
>I tried sending straight through without sendmail and I never had this
>problem but I did have others like many more NDR, which work when sent
>through sendmail. Finally the sendmail IP address is in my smarthost.
The NDR's could be DNS related, routing issues, or any number of other
things. As long as you're using the Sendmail box as the smarthost,
there shouldn't be any rejections anywhere that would cause this.
Especially if the SMTP logs show successful connects and transfers
(250 response codes).
>I will attempt setting the retry values to 0 and to put logging to W3C.
You may not see much with extended logging that helps, you do get more
things logged to help trace though. Try a manual test of the SMTP
service:
HOW TO: Test Windows 2000 IIS SMTP Services Manually
http://support.microsoft.com/defaul...kb;en-us;286421
Jeff
[vbcol=seagreen]
>
>"Jeff Cochran" wrote:
>
|
|
|
|
|