Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    2

    Default Mail quota is full and new incoming mails are queued

    Hi,
    One of my clients receive lots of mails for invalid users. He insists to keep catchall working and pointing to an mail account (invalid@hesdomain) that is limited to 20MBs. So this is what happening:

    hundred of trashmail comes to invalid@hesdomain and his quota becomes full in no time. Once the quota is full the new trashmail is queued, making exim queue reach about 25,000 emails waiting for delivery.

    Theres someway to just do not accept new mail ou drop it to /dev/null when mail quota is full?

    He is a VIP Client and just dont wants to make any changes on his domain/account configs.

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    2

    Default

    Ops, another problem:

    When he receives a trashmail and his mail quota is full exim bounces the "mail quota is full" back to the trashmail sender, that does not exist, and the bounces are queued for somedays.

    How do I solve my queue problem?

  3. #3
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    you have an option to discard mails for over quota users at Exim configuration editor.
    check the box which says "Reject mail for users over quota at SMTP time. (CPU Expensive)"
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  4. #4
    Member
    Join Date
    Nov 2004
    Posts
    55

    Default

    What you also can do is tweak exim ,

    open exim advanced editor then go to begin retry box and add this :

    * quota

    what it will do is check the quota and send the sender a msg that the mail can't be delivered and discard the message.

    Best regards,

    pirrup

  5. #5
    Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    To be more accurate, it is rejection, not discard or bounce. This means that it is up to the sending mail server to provide a bounce to the user. If it's a legitimate sender, they will receive a bounce. If it is not, then the "sending mail server" is probably a zombie that won't generate a bounce. And if it is spam from a real mail server, then that server is the one generating bounces and getting blacklisted, not yours.

    "Reject mail for users over quota at SMTP time" is by far the friendliest option.

    This ignores the fact that catch-alls are generally a bad idea, for exactly the reasons seen here. If he's worried about messages not getting through because someone mis-typed an email address, any legitimate sender will receive a notification about that.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2006
    Posts
    9

    Default

    pertaining to CPU expensive... how expensive is expensive... my server currently hovers around .60 to 1.19.. Should I consider enabling this.. I am defiantly sick and tired of having 8k messages destine for users on my box where their mailbox is over quota.

  7. #7
    Member
    Join Date
    May 2009
    Posts
    6

    Default setting not working?

    I enabled this option in the control panel, but mails still seem to be queued.
    Created an account, sent 15 MB worth of mail to it, and then lowered the quota to 10 to make sure it's over quota.

    However, mail is still accepted at the smtp time, and then bounced, which of course fills up the queue quite rapidly.

    Is there another setting that needs to be enabled for this option to actually work, or is there a way to check if the setting is propagated to the exim configuration?

  8. #8
    Registered User
    Join Date
    Mar 2006
    Posts
    3

    Default Reject mail for users over quota at SMTP time. (CPU Expensive)

    We have used this option and did not notice a load increase. I was concerned about doing it, but it seems to work well.

    Then, the next thing is to delete frozen messages or ones with no return address. These are spam messages and can be deleted. Google "crontab exim frozen" for some suggestions on how to set this up.

  9. #9
    Member
    Join Date
    May 2009
    Posts
    6

    Default

    Quote Originally Posted by sneakert View Post
    I enabled this option in the control panel, but mails still seem to be queued.
    Created an account, sent 15 MB worth of mail to it, and then lowered the quota to 10 to make sure it's over quota.

    However, mail is still accepted at the smtp time, and then bounced, which of course fills up the queue quite rapidly.

    Is there another setting that needs to be enabled for this option to actually work, or is there a way to check if the setting is propagated to the exim configuration?
    Anyone?

Similar Threads & Tags
Similar threads

  1. Queued mail not retrying
    By nxds in forum E-mail Discussions
    Replies: 1
    Last Post: 05-21-2007, 08:56 AM
  2. mail queued for delivery?
    By Zion Ahead in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-09-2007, 11:31 AM
  3. Capture all incoming and outgoing mails
    By Inetwork in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-23-2006, 11:39 PM
  4. Capture incoming and outgoing e-mails...
    By vat19 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-04-2005, 04:08 PM
  5. Exim Filter only forwarding incoming mails
    By navmonkey in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-11-2003, 04:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube