Solved

IIS 6 SMTP service has emails building up in drop folder.

Posted on 2008-06-17
8
2,115 Views
Last Modified: 2013-11-30
Hello,

We have several web sites with forms on them that send emails.  They use the SMTP service on IIS.  We have just added a catcha and it has stopped loads of spam however I have now noticed a few genuine emails in the drop folder.  i don't believe these emails are getting through to their destination.  Here is one of the emails:

x-sender: websiteuser@somewhere.com
x-receiver: 0@myserver
Received: from myserver.mydomain.com ([127.0.0.1]) by myserver.mydomain.com with Microsoft SMTPSVC(6.0.3790.1830);
       Wed, 18 Jun 2008 12:45:21 +0100
Subject: 0
Sender: websiteuser@somewhere.com
From: websiteuser@somewhere.com
Date: Wed, 18 Jun 2008 12:45:21 +0100
To: client@theirdomain.com
CC: "0" <0>
X-Priority: 3
X-MSMail-Priority: Normal
Content-Transfer-Encoding: Quoted-Printable
MIME-Version: 1.0
X-Mailer: JMail 4.4 by Dimac
Content-Type: text/plain;
      charset="iso-8859-1"
Return-Path: websiteuser@somewhere.com
Message-ID: <WAIKAWAUIEAOeIiGXix0000001a@myserver.mydomain.com>
X-OriginalArrivalTime: 18 Jun 2008 00:45:21.0796 (UTC) FILETIME=[96979C40:01C8D0DC]

Message body...

---

The first thing I find odd is the "x-receiver: 0@myserver".  Should this be like this or is this field incorrect?
Does anyone know why these emails are ending up in the drop folder?  Are the clients email servers rejecting them because of spam filtering?  Why do emails end up in the drop folder?  All the email addresses are correct as I can take the .eml file out of the folder and send it using Outlook on my machine.

Thank you
Tom
0
Comment
Question by:TomMonkey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 23

Expert Comment

by:debuggerau
ID: 21810137
that quite normal that the servers name is inserted here, however is it an alias address?

http://www.bellaonline.com/articles/art27166.asp

You could drag drop them into the pickup folder again and they should be resent, but ensure the aliases are removed.
0
 

Author Comment

by:TomMonkey
ID: 21810195
Hi debuggerau,

Thanks for the quick response.

I don't think any of the addresses are aliases.  There certainly isn't one for 0@myserver.

I read the article and it makes sense.  The problem I have is that the websiteuser@somewhere.com is always going to be different depending on who fills out the form on the website.  Is the article implying that I need to set up and alias for every domain that they could be sending from?

Should I just change the default domain's drop directory to be the pickup folder?

Cheers
Tom
0
 

Author Comment

by:TomMonkey
ID: 21810212
Also I tried dragging the emails in the pickup folder but they instantly appear in the drop folder again.
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 23

Expert Comment

by:debuggerau
ID: 21818325
otherwise were they test emails to its own domain maybe?
http://www.windowsitlibrary.com/Content/141/09/1.html
0
 

Author Comment

by:TomMonkey
ID: 21819448
I definitely think the problem has something to do with "x-receiver: 0@myserver".  That seems to make it think it's destined for myserver rather than the actual domain.  The default rule for myserver, defined under 'Default SMTP Virtual Server > Domains > myserver' is to put it in the drop folder.  Is there a way to make it forward these on to the smarthost?  Can I stop this x-header appearing in the first place?

Cheers
Tom
0
 

Author Comment

by:TomMonkey
ID: 21819463
Another one just came in and I altered the x-receiver to match the to field and dragged it to the pickup folder.  The email seemed to disappear after that.  Is there anyway to stop this x-header from appearing or correct it?

Cheers
Tom
0
 
LVL 23

Accepted Solution

by:
debuggerau earned 500 total points
ID: 21819688
you need the header, and your the action is normal.
Since the drop folder is the delivery location for your server, if the server name was used as the destination, thats where emails will go.
so your x-receiver file will be the destination domain address and needs to be accessible from your DNS server..

0
 

Author Comment

by:TomMonkey
ID: 21862752
Thanks for the help.  In the end we changed the settings in Jmailer to use the smart host directly instead of going through IIS.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question