Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2009
    Posts
    32

    Question Speed up exim

    Hi, i run a medium size vps and i'm currently only using it to mail our clients, the website is hosted at another server, we have arround 100.000 members and every time i try to mail them thru the vps it cannot send more than 1 or 2 mails per second, it is very slow sometimes takes more than 2 days to send a newsletter.
    I also installed nginx and saw a big diference on the http performance, is it possible to make some small changes to speed up exim for mail purposes or is this strictly related to hardware ?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Speed up exim

    I believe that the hardware limitations are the likely cause for the speed for message delivery. You could always get another machine just for email delivery to see if only processing emails on the new machine would help with the performance of message delivery.

    I did find the following article on speeding up exim processing, which would require being able to configure a RAM disk for exim for the message queues:

    How to make Exim run a lot Faster - Computer Tyme Support Wiki
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Mar 2009
    Posts
    32

    Default Re: Speed up exim

    hi mate thank you for your relpy.
    in fact it would probably be a good idea to get another server and when i make my e-mail sending exim redirects some of the traffic to the other server. i dont know how to do this or if it will increase the probability of the e-mail being flagged as spam.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Speed up exim

    The email isn't more likely to be flagged as spam provided it is sending from the correct IP and not spoofing the IP. Additionally, you can always ensure to setup SPF and domainkey records for the domains with the SPF record having the IP of the server sending the emails out to authenticate that server as the right one for emails. Provided you have it setup properly, using another machine to send emails won't increase the likelihood to be flagged as spam.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Mar 2009
    Posts
    32

    Default Re: Speed up exim

    so it is possible to do this with another vps and cpanel ? do you know a good tutorial?

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Speed up exim

    It is possible to do it with another VPS, but I don't know of a tutorial. Here are the steps that come to mind:

    1. On the second VPS serving as the mail server, create the same email account(s) as email only accounts
    2. Change the MX records for the domain(s) to point to the second VPS (mail) machine as the primary MX. Set a secondary MX to go to the first VPS (web server) machine.
    3. On the first VPS serving as the web server, set the domains as "Backup Mail Exchanger" so that emails that fail going to the email server at any point (primary MX) will go into queue on the web server (secondary MX) and be held there until they can deliver to the mail server.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Mar 2009
    Posts
    32

    Default Re: Speed up exim

    thank you!

    By the way, isnt it possible to send e-mails also from the first vps, or to speed up i need at least to send from the first one that acts as a http server and more 2 or 3 vps servers that make the e-mail destribution ?
    if i understand correctly, this will probably increase the e-mail delivery to servers like hotmail.com and others that block when sending bulk campaigns without those very expensive return path certifications

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Speed up exim

    The emails won't be sending from the web server. The users will log into the email server for email not the web server for email and send from that server. As such, emails won't be sending from the web server at all unless the primary MX email machine fails and the emails then queue to the secondary MX (unless you are going to put the secondary MX onto yet another VPS and then instead it would queue there).

    You are going to speed up exim delivery if you are only running a machine running exim and have taken offline MySQL, Apache and any other services that aren't necessary to the functioning of exim.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Speed up mail sending with cpanel/exim server
    By gundamz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-07-2007, 12:26 AM
  2. propagation speed
    By ctbhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-23-2005, 06:01 AM
  3. Speed test?
    By Biotron2000 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-03-2005, 10:35 AM
  4. speed meter?
    By chadi in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 07-17-2004, 11:36 AM
  5. Getting exim up to speed with domains
    By spiritguardian in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-30-2004, 01:28 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube