Blog Links

Quick dirty fix to speed up qmail for bulk mailings


Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 33 is not allowed to access /var/www/vhosts/earthinfo.org/httpdocs owned by uid 10011 in /var/www/vhosts/earthinfo.org/httpdocs/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 237

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png) is not within the allowed path(s): (/var/www/vhosts/earthinfo.org/httpdocs:/tmp) in /var/www/vhosts/earthinfo.org/httpdocs/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 237

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 33 is not allowed to access /var/www/vhosts/earthinfo.org/httpdocs owned by uid 10011 in /var/www/vhosts/earthinfo.org/httpdocs/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 261

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png) is not within the allowed path(s): (/var/www/vhosts/earthinfo.org/httpdocs:/tmp) in /var/www/vhosts/earthinfo.org/httpdocs/wp-content/plugins/thumbnail-for-excerpts/thumbnailforexcerpts.php on line 261

We were getting around 2 mails per second with qmail for a bulk emailing, which was not fast enough and rather than try and patch qmail to fix a bunch of problems,  we chose to put the qmail queue on a temporary file system.
It appears that one of qmails bottlenecks is disk access (so perhaps [...]