The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send email faster

Discussion in 'E-mail Discussions' started by pguy, Apr 16, 2009.

  1. pguy

    pguy Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    We are using a cpanel/whm server and I was wondering what else I could to ensure emails are sent from the server really fast. We have fairly large newsletters which go out to over 150,000 users and the server ends up taking over 6-12 hours to finish sending.

    I was wondering if exim could be patched/configured to send out email faster. We would be able to afford some more processor power/memory usage as a tradeoff against mail going out much faster.

    Any ideas?

    Thanks!
     
  2. pguy

    pguy Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    bump. any leads? links I could follow ? or may be cpanel + exim config is not suited for the email volumes we do, in which case we can consider using the other servers with a different mta.
     
  3. copilot

    copilot Member

    Joined:
    Jun 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    same problem, please help us :-(

    we send form vbulletin mailfunction to over 40000 user.....postfix need 5-15 minutes, exim need over 60 minutes.

    and the queue is filled up with around 20000 messages but all messages are deliverable.

    what can i do to speedup exim?
     
  4. copilot

    copilot Member

    Joined:
    Jun 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    nothing an idea?
     
  5. pguy

    pguy Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Try adding this to exim.conf

    deliver_queue_load_max = 10

    This will ensure stuff gets delivered until the server hits a load of 10


    Two more options,

    smtp_accept_max = 300
    split_spool_directory = yes
     
  6. copilot

    copilot Member

    Joined:
    Jun 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    its not better :-(

    we are sending via php´s mailfunction.
     
  7. Parcye

    Parcye Well-Known Member

    Joined:
    May 19, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Eindhoven
    Well the php mail function is not the fastest.

    What that does is connect to the server, send the mail, disconnect.

    This causes an overhead of connecting and disconnection for each mail.

    We noticed that if we do it by fsock options, we can send 9 mails with one connect and then disconnect, winning loads of time. But still. sending 20.000 takes at leats 2 hours... I want to speed this up somewhat but am clueless.

    Programming wise I have everything done...
     
  8. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    This is where the mailing list server helps a lot ;)
     
Loading...

Share This Page