Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SMTP Protocol Errors and dropped connections when sending emails with attachments

Posted on 2010-08-18
17
Medium Priority
?
1,260 Views
Last Modified: 2013-11-30
I am having trouble finding a solution for this problem.  We are running SBS 2003 with Exchange 2003sp2.  When outlook or webmail clients send emails with attachments over a size of about 20kb they sit in active/retry until the timeout is reached. The clients then receive an NDR. Emails with no attachments are delivered successfully. Emails with small (<20kb) attachments are delivered successfully.
The interent ip is not on any blacklist, reverse dns is correct, and I can send a basic message with no attachment using telnet commands.  I have tried adjusting MTU on NIC to match router as some have suggested but this has not worled.  SMTP logging does not give any indication why the connections are being dropped. I have tried different smart hosts with and without authentication to no avail.  I have temporarily lifted the allowed attachment size but this has made no difference.  
I have tested with smtp connector and without. Any ideas welcomed.
0
Comment
Question by:dn_au
  • 8
  • 7
  • 2
17 Comments
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471175
What antivirus / email scan software are you using ?
0
 

Author Comment

by:dn_au
ID: 33471269
Trend Micro Worry-Free Business Security Advanced 6.0 sp2
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471318
Open Trendmicro

login
Go to Security Settings
Select your mail server
Click Configure
On the left tab select Attachment blocking
Uncheck - enable realtime attachment blocking.

thanks
0
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!

 

Author Comment

by:dn_au
ID: 33471354
Thnaks sunnyc7, but i have already unchecked this option.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471366
Can you restart Simple Mail Transfer Protocol service
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471370
and Trendmicro Mail security services.

thanks
0
 

Author Comment

by:dn_au
ID: 33471394
i have restarted all associated services multiple times now with no difference.  i have stopped all trend services and restarted them.  even when trend services were all stopped mail still would go back to retry queue.  I have also tried creating a new smtp virtual server and a new smtp connector with no luck. Thanks.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471412
ok. thanks for the background info.

does it happen only for 20kB and above ?

--
can you verify one more thing

Open Exchange
Admin groups
Servers
ServerName
Protocols
SMTP
Default SMTP Virtual Server > Right click properties.
Go to messages tab

See if there is a message size limit ?

Restart exchange services after editing values there and restart SMTP services.
0
 

Author Comment

by:dn_au
ID: 33471434
hi
i have done some more testing on attachment sizes.  I was able to deliver an attachment of 355kb.  I am yet unsure of how large attachments can be before they are not delivered.  I know that an attachment of 4mb cannot be delivered and one of 7mb cannot be delivered.

There is no message size limit on smtp virtual server.  I will continue trying different size attachments until i have an exact answer.

Restarted all services with no change.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471437
Open IE
tools > Windows Updates
On the left panel check Update History

See if any update got installed within last couple of days.

0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33471444
Instead of unlimited, can you set the limit to 20 MB and then restart the services.
See if that works with a 2 MB email attachment - mp3 / large JPG

0
 
LVL 2

Expert Comment

by:jaredbkk
ID: 33471463
What is the exact text of the NDR?

Also, when did this begin, and what changed just before it began?
(server, switch, firewall, isp, etc)
0
 

Author Comment

by:dn_au
ID: 33471556
Hi

The NDR the client receives is following;

Your message did not reach some or all of the intended recipients.

Subject: FW: test3
Sent: 19/08/2010 8:54 AM

The following recipient(s) could not be reached:

  shane@dncs.com.au on 19/08/2010 10:56 AM
  Could not deliver the message in the time limit specified. Please retry or contact your administrator.
  <mail.cqa.com.au #4.4.7>

==================================================
Here is the event from the application log

Event Type:      Warning
Event Source:      MSExchangeTransport
Event Category:      Connection Manager
Event ID:      4007
Date:            19/08/2010
Time:            12:31:31 PM
User:            N/A
Computer:      SERVER
Description:
Message delivery to the host '61.9.168.249' failed while delivering to the remote domain  'mail.bigpond.com' for the following reason: An SMTP protocol error occurred.
 The SMTP verb which caused the error is 'DATA'.  The response from the remote server is '421 Message rejected
@dormway.com.au> Ok
ns (SIZE=1301125) Ok
250-AUTH LOGIN PLAIN
250-PIPELINI'.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: d7 02 04 c0               ×..À    
0
 
LVL 2

Expert Comment

by:jaredbkk
ID: 33471674
Interesting line in the evet log:
"The response from the remote server is '421 Message rejected"

Few more thoughts...
Just to confirm, attachements can't be sent anywhere? (e.g. you've tested to hotmail/gmail).
Incoming is OK, attachments can be recieved?

Back to this again:
Also, when did this begin, and what changed just before it began?
(server, switch, firewall, isp, Patching/Updating of any software, etc)
0
 

Author Comment

by:dn_au
ID: 33471818
Thanks guys.

I setup an outlook client to send email directly through the provider's smtp address.  Mail will be delivered if it is under about 600kb but is rejected if over this size.  This is the same behaviour if we use a connector in exchange to route the mail through the same smtp address.  So it appears to be the provider's problem.   I have logged a call with their support and will hopefully hear back from them soon.  

I will post an update to confirm this was the cause of the problem. Thanks for your efforts!
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33473533
Did you try setting a limit of 20 MB http:#33471444

and then restarting info. stores and then sending a 2 MB attachment ?

Are you routing mails through a smarthost ? Do they have a limit
0
 

Accepted Solution

by:
dn_au earned 0 total points
ID: 33507659
We have finally resolved the issue.  It was determined that the ADSL Modem router a Netgear DG834 v3 was the problem.  
Even after using an Outlook Express client the same issue occurred.  The client experienced no drop outs or any other issues with the modem

Once we replaced the modem with a D-Link DSL-2642B, the problem disappeared.  This modem must be more compatible with the Telstra Internet Direct connection the client uses.

I appreciate input from all parties.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

885 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