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.

I've a CentOS with CPanel server working as a SMTP server, which currently uses 20 different hostnames and IP addresses to deliver email for an email newsletter service.

However, it's extremely slow in sending emails. It's sending like 10 emails per minute, which I check by running the "exim -bpc" command. What could be affecting this?

One thing I'm supposing, is that there are frozen messages in the queue, which are slowing down the sending until they're sent out, and are putting new messages on hold.

What are the most common reasons a message can get frozen?

Also, would it be more efficient to use 20 different small VPSs to send out email rather than use one large VPS with the 20 different hostnames and IPs in it?

share|improve this question
2  
Messages are frozen if they cannot be delivered check your logs you will see exactly what the cause its. –  topdog Aug 23 '10 at 19:43
add comment

1 Answer

A frozen message is a message that cannot delivered nor bounced. You should not see many frozen messages, and besides, they should not affect performance at all. Are you running an open relay, by any chance? Otherwise it is probably a configuration issue (Do you accept mail? Do you bounce everything, even spam you (eventually) receive? )

A problem I have seen is that sometime you can get tarpitted, especially if you send "spammy" messages (I guess a newsletter could fit that description). In this case a single message will block the entire queue. How many queue runners do you use? You can try increase their number and see what happens. If you get tarpitted, do you have SPF and DKIM set up? They may help in this case.

share|improve this answer
    
Thanks for your answer. Here are my responses to your questions: 1. There's no open relay, as the server has the whitelist option activated, and is only allowing incoming SMTP connections from the newsletter application server. 2. Not sure, as I'm using the default CPanel configuration for Exim, but usually about 10 Exim processes are running at the same time. I don't have SPF and DKIM though, so maybe the problem could be the tarpits from Hotmail and Yahoo, which make most of the email addresses in our list, although we're distributing the sending among 20 different IPs and hostnames. –  user51932 Aug 26 '10 at 1:38
    
Also, could there be a problem if the application server sends all the emails to be sent to the SMTP server at maximum speed without any throttling? If so and we're using 20 IPs/hostnames, what would be the ideal throttling to set for outbound SMTP connections per each IP address and hostname? –  user51932 Aug 26 '10 at 1:40
add comment

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.