Author Topic: qmail optimization  (Read 13462 times)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
qmail optimization
« on: May 04, 2004, 09:47:47 am »
qmail is used on the Linux platform by Plesk and other server administration systems.

To allow qmail to send up to 400 concurrent emails, as opposed to the default 10 or 20, set up a file in your qmail control directory:
Code: [Select]
/var/qmail/control/concurrencyremote
In this file, have a single line containing the following number:
Code: [Select]
400
This change will considerably increase your outgoing email speed!

You can also increase delivery to local email, though, this isn't nearly as important.

In the file:
Code: [Select]
/var/qmail/control/concurrencylocal
Enter this:
Code: [Select]
100
Don't forget to restart qmail
Code: [Select]
/etc/rc.d/init.d/qmail restart
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

gwill23

  • Posts: 50
    • View Profile
    • http://www.residualenterprises.com
qmail optimization
« Reply #1 on: October 04, 2004, 10:47:07 pm »
I have my remote sessions set at 50.  Is 400 too many?  Will yahoo and others stop you from sending if you open too many connections?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
qmail optimization
« Reply #2 on: October 05, 2004, 09:17:39 am »
I don't think 400 is too many.  Yahoo may indeed block you if you send too fast to it, ie. if you send to a very large list with lots of yahoo addresses.    I think the problem will occur either way, with 50 or 400 connections.  The best way to avoid this, and other blocks, is to send email from a list of cycling IP addresses.  This is possible with a modification to the mail server software.  Currently, the only person I know who offers this is Mihai Secasiu from Simscripts.com, linked below:

http://www.simscripts.com/qmail_multiple_interfaces_patch.html

http://www.simscripts.com/exim_multiple_interfaces_patch.html
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

mike2

  • Posts: 193
    • View Profile
qmail optimization
« Reply #3 on: December 02, 2004, 08:00:28 am »
Anyone with info on how to do this in sendmail, please let me know, thanks!

ken1

  • Posts: 3
    • View Profile
Help Listmail Pro extremely slow on my server
« Reply #4 on: January 23, 2005, 09:27:27 pm »
I have qmail on a Red Hat Linux machine
/control/concurrencyremote is set to 200

and it takes 3 hours to send to a mailing list of 3000

am currently sending and qmHandle reports:
Messages in local queue: 2
Messages in remote queue: 17

which means that Listmail is not injecting the messages into the queue at a fast rate.

How can I make Listmail increase the speed at which it injects the messages into the qmail queue?

Thanks

Michael

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
qmail optimization
« Reply #5 on: January 25, 2005, 12:53:39 pm »
Michael,

I am in the process of checking out your server through your support request.  It appears that the problem is that you are using internal PHP mail as opposed to SMTP.  When we get SMTP working your messages should go out much faster.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
qmail optimization
« Reply #6 on: July 30, 2007, 04:11:42 pm »
I have posted instructions for applying some much-needed qmail patches on high-volume Plesk systems in the following post:

http://listmailpro.com/forum/index.php?topic=1962.0
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Josh J

  • Guest
Re: qmail optimization
« Reply #7 on: December 09, 2010, 03:57:25 pm »
qmail is used on the Linux platform by Plesk and other server administration systems.

To allow qmail to send up to 400 concurrent emails, as opposed to the default 10 or 20, set up a file in your qmail control directory:
Code: [Select]
/var/qmail/control/concurrencyremoteIn this file, have a single line containing the following number:
Code: [Select]
400This change will considerably increase your outgoing email speed!

You can also increase delivery to local email, though, this isn't nearly as important.

In the file:
Code: [Select]
/var/qmail/control/concurrencylocalEnter this:
Code: [Select]
100Don't forget to restart qmail
Code: [Select]
/etc/rc.d/init.d/qmail restart

I am new to Qmail, can you please help on how to apply these commands?

Thanks,
Josh