Author Topic: Exim optimization (CPanel)  (Read 47586 times)

AlanT

  • Posts: 47
    • View Profile
    • http://www.PowerKeysPub.com
Exim optimization (CPanel)
« Reply #15 on: July 20, 2007, 09:46:14 am »
Just a quick update.

The two additions made by the server administrators have produced a dramatic increase in sending speed.  Exim is now sending at about 1500 per hour, which I know is still on the slow side, but much better than it was.

Having a dedicated server might be a nice thing, although the thing that makes me hold back on that is the fact that I still don't consider myself skilled enough to manage it.  And since I do sell hosting space to others, we need a decent control panel, and I haven't seen anything other than CPanel that will redirect incoming emails to the processing scripts directly from the interface.
- Alan

We all have the Power.
All we need are the Keys.
http://www.PowerKeysPub.com

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Exim optimization (CPanel)
« Reply #16 on: July 20, 2007, 09:04:02 pm »
Hi Alan,

I am thrilled to hear your speed has improved somewhat.  This is potentially very useful information, so thanks for posting it.
Quote
... I still don't consider myself skilled enough to manage it ...

It can be a bit of a learning curve but I'd say it's worth it.  It's not that difficult to manage cPanel/WHM through their GUI interface and most server providers will assist you with managing your server to keep you as a client. :)  There are also a ton of forums around the internet that can help you with the basics of setting up and managing your server.  Try forums.cpanel.net.  This decision is, of course, entirely up to you!
Quote
I haven't seen anything other than CPanel that will redirect incoming emails to the processing scripts directly from the interface.

I have found this, too, although I do recommend and work mostly with Plesk-based servers where these entries must be made via root SSH shell.  cPanel IS the only common panel that allows CGI redirection via the client hosting control panel.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Eduard

  • Guest
Re: Exim optimization (CPanel)
« Reply #17 on: February 15, 2011, 04:52:40 am »
CPanel is a very common server management system and one I highly recommend for ListMail as it supports it 100%.  It uses Exim email software.

The following has been known to increase outgoing mail speed:

Standard Exim (if your server runs cPanel, scroll down)
By default Exim will only send the first 10 messages you deliver to the server right away.  After that, again by default, it will deliver the rest of your emails an HOUR later.

By making the following change to the Exim config file your messages will be delivered practically as they are queued.

In the file:
Code: [Select]
/etc/exim.confAdd the following line:
Code: [Select]
smtp_accept_queue_per_connection = 0If your server has lots of users who are all sending lots of email, you may also want to add this, which enables faster hard drive access for very large outgoing mail queues.
Code: [Select]
split_spool_directory = trueUpdate: The following lines were suggested by a client further down in this thread.  The configuration options deal with the maximum number of running "sender" processes as well as the number of parallel deliveries per domain.
Code: [Select]
queue_run_max = 10
remote_max_parallel = 15
Don't forget to restart Exim:
Code: [Select]
/etc/rc.d/init.d/exim restart
cPanel with Exim

Login to WHM as root and browse to the Service Configuration -> Exim Configuration page.

Scroll down and click Advanced Editor

Scroll down to the text box beneath #!!# cPanel Exim 4 Config

Add the following lines:
Code: [Select]
smtp_accept_queue_per_connection = 0
split_spool_directory = true
queue_run_max = 10
remote_max_parallel = 15
Scroll way down and click Save

To improve sending performance it may also be a good idea to disable SpamAssassin and other filters on the Exim Configuration page.
------------------------------------------

Hello Dean,

There's a line before #!!# cPanel Exim 4 Config, it's shown below:
log_selector = +address_rewrite +all_parents +arguments +subject

Where should I enter the commands? After that line?

Please advise.

Thanks,
Eduard

AlanT

  • Posts: 47
    • View Profile
    • http://www.PowerKeysPub.com
Re: Exim optimization (CPanel)
« Reply #18 on: February 15, 2011, 06:33:13 am »
Personally, I don't think the order matters much.  If you're using WHM, then there will be a text box near the top of the "Advanced Editor" where you enter the statements.  If you're editing the config file directly, I believe you can enter the statements anywhere.
- Alan

We all have the Power.
All we need are the Keys.
http://www.PowerKeysPub.com

Arpit Agarwal

  • Guest
Re: Exim optimization (CPanel)
« Reply #19 on: October 17, 2011, 12:56:48 pm »
Hello,
Wonderful information and it help me allot. Now i am able to send as many emails as we want. Now i am stuck on one point. All emails other then yahoo and rediff are cleared from the server instantly after the suggested changes. But most of the emails (not all) having domain either yahoo or rediff are getting stuck in email queue manager. I checked the email id's by sending separate (Single - single emails) emails and it delievered. Can u please help me to get reed of this issue to as you help for optimizing the speed the cPanel emails. I will be great-full to you.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Re: Exim optimization (CPanel)
« Reply #20 on: May 11, 2013, 05:09:57 pm »
Hi Arpit,

Yahoo seems to employ rate-limiting on IPs that are not whitelisted.

Check out this post for more information.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting