Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 8 of 8

This is a discussion on Email Queue in the VPS & Dedicated forum
Is is acceptable to have 250+ emails in the queue at all times? I am worried that it might be affecting my VPS. Any help ...

  1. #1
    JPC Senior Member
    Join Date
    Nov 2007
    Posts
    55

    Email Queue

    Is is acceptable to have 250+ emails in the queue at all times? I am worried that it might be affecting my VPS. Any help would be appciated.

  2. #2
    all about nothing! Frank Broughton's Avatar
    Join Date
    Jan 2006
    Posts
    2,158
    No it is not in my opinion. Force a Queue run in WHM...

  3. #3
    JPC Senior Member
    Join Date
    Nov 2007
    Posts
    55
    Forcing these emails has no effect. 95% of the emails are bounce backs from spam.

    i.e.

    Spammer sends spam to unknown_recipient@domain.com, the server rejects the message and tries to send a NDR to the spammer, their address either doesn't exist or the server won't accept the mail, hence the reason it is stuck in my queue until it expires!

  4. #4
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    If you are using exim, here is the solution:

    edit exim.conf and set these settings:
    Code:
    deliver_queue_load_max = 2
    auto_thaw = 2d
    ignore_bounce_errors_after = 12h
    timeout_frozen_after = 1d
    then run "crontab -e" as root and add this:
    Code:
    0 0 * * * /usr/sbin/exiqgrep -i -o 259200 | xargs /usr/sbin/exim -Mrm >/dev/null 2>/dev/null

  5. #5
    all about nothing! Frank Broughton's Avatar
    Join Date
    Jan 2006
    Posts
    2,158
    ya - what he said or just delete them manually with this addin to WHM: http://www.configserver.com/cp/cmq.html

  6. #6
    JPC Senior Member
    Join Date
    Nov 2007
    Posts
    55
    Quote Originally Posted by thisisit3 View Post
    If you are using exim, here is the solution:

    edit exim.conf and set these settings:
    Code:
    deliver_queue_load_max = 2
    auto_thaw = 2d
    ignore_bounce_errors_after = 12h
    timeout_frozen_after = 1d
    then run "crontab -e" as root and add this:
    Code:
    0 0 * * * /usr/sbin/exiqgrep -i -o 259200 | xargs /usr/sbin/exim -Mrm >/dev/null 2>/dev/null
    Will give that a try mate, I had already set the bounce errors to 3d from 7d but will try your method. What exactly does the deliver_queue_load_max line do?

    Thanks for the info!

  7. #7
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    it won't process the queue if the cpu load average is over "2".

    basically, it won't add extra load on an overloaded server, very useful if you are being hammered with HTTP requests or spam and SpamAssassin is overloaded.

  8. #8
    JPC Support Smithjp's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    166

    Why not set default address to fail???

    Quote Originally Posted by Matt Smith View Post
    Spammer sends spam to unknown_recipient@domain.com, the server rejects the message and tries to send a NDR to the spammer, their address either doesn't exist or the server won't accept the mail, hence the reason it is stuck in my queue until it expires!
    The better approach is to set the default address for the domain to :fail:. You can do this from the cPanel > Mail section. For more information regarding default address, please check the below mentioned KB:

    http://www.jaguarpc.com/support/kbas...n=list&faq=789

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •