Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Im currently working on a system that sends out a large number of monthly newsletters to subscribed users and customers (please note, this is not spam). We send these emails using IIS 6 virtual SMTP server and for the most part, it works well.

However sometimes we must send out 200K+ newsletters- in this case, the IIS6 queue quickly fills up and we are unable to shift them quickly enough. Sending 200K emails may take many many hours, during which time the server is using roughly 2.7mb of the 3mb upload bandwidth we have access to.

I was hoping someone could offer some tips on optimizing IIS 6 for a situation like this, esspecially on some of the server properties such as "limit number of messages per connection" (currently set at 200), "limit number of connections to" (currently at 1000), and "limit number of connections per domain to" (currently set at 100).

share|improve this question

2 Answers 2

My advice. Don't.

Sending newsletters from your primary mailserver can be a VERY bad idea. Here's a few reasons why.

  1. You tie up your mailserver when it could be sending other mail
  2. You tie up your network connection to the server, you're already using 90% of your committed data rate.
  3. If someone reports it as spam, or mail providers get wind that your IP address is responsible for a lot of sending of stuff that people mark as spam, you get Blacklisted. This is a very bad thing.
  4. You're not getting great performance because your servers are virtualized. Virtualization seriously limits the IO performance of a server. It'll never match bare-metal hardware speeds.

Recommendations:

Use a SMTP relay service for sending bulk email. Port25.com is good. Mailchimp offers mailing-list management software, and is even better. There's a developer API, so you can tie it into your existing services and user databases.

Mailchimp also give you some idea of what will be well received by various email clients.

share|improve this answer
    
we currently are not sending email from our primary mail server but our secondary mail server (dns starts with 'mail2.'), but thankyou for the useful pointers on the smtp relay services, will check them out. –  Luckyboy Jul 15 '10 at 10:30
    
@Luckyboy The thought remains... Basically it's easier for a supplier to change IP addresses of a mailserver than for you to do it to your secondary. –  Tom O'Connor Jul 15 '10 at 13:19

Sending 200K emails may take many many hours, during which time the server is using roughly 2.7mb of the 3mb upload bandwidth we have access to.

Ok, here we go. That is quite ok. Seriously - what do you expect? You have 90% bandwidth utilization which I would say is already very good - there is always going to be some waiting going on. You could try sending more parllel messages (limit number of connections) but at the end I think you already are on a sturation point.

  • Check whether your discs are overloaded.
  • Get more bandwidth

That is pretty much all you can do. Remember, you arleady ARE on 90% bandwidth utilization.

share|improve this answer
    
thanks for the reassurance there isnt much elese i can do :) I might see if RAID 0 disks makes a difference –  Luckyboy Jul 15 '10 at 10:15
    
Don't use RAID0 on production servers. It's too risky. –  Tom O'Connor Jul 15 '10 at 10:21
    
even though its just a generated newsletter? theres no chance of critical data being lost. –  Luckyboy Jul 15 '10 at 10:31
    
Yes, you never know what you already did send. Fist check (Seconds / Request, should be low - like 0.02). Given your network load, I think the server is ok.... more bandwidth is the answer. –  TomTom Jul 15 '10 at 11:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.