Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2009
    Posts
    6

    Default "Reject mail for users over quota" and local forwards

    Hello,

    I've enabled the "Reject mail for users over quota" setting, and it works for messages directly sent to the account that's being over quota (that is, exim responds with a 550 Mailbox quota exceeded after the RCPT TO). However, if for instance info@example.com is a forwarder to john@example.com, the message is accepted, and a bounce is sent if the john@example.com mailbox is full.

    Is there a way to have exim say "550 Mailbox quota exceeded" for local forwarders to full mailboxes as well?

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: "Reject mail for users over quota" and local forwards

    Hello

    Please clarify if the following scenario is similar to what you are experiencing.

    1. "Reject mail for users over quota" is enabled.
    2. "test01@example.com" - Email account exists and is not full.
    3. "test02@example.com" - Email account exists and is full.
    4. A forwarder for "test01@example.com" to "test02@example.com" exists.

    Under this scenario, sending an email to "test01@example.com" will result in the following:

    1. The message is delivered to "test01@example.com".
    2. A bounce is sent to the sender alerting them the message to "test02@example.com" failed due to the mailbox being full.

    Am I correct in saying that you want the message to "test01@example.com" to bounce as well?

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: "Reject mail for users over quota" and local forwards

    Very similar to this:

    http://forums.cpanel.net/f145/no-aut...tml#post865742

    Probably the forwarders need to filter out the backscatter mails. But I dont know how that will work.

  4. #4
    Member
    Join Date
    May 2009
    Posts
    6

    Default Re: "Reject mail for users over quota" and local forwards

    Quote Originally Posted by cPanelMichael View Post
    Hello

    Please clarify if the following scenario is similar to what you are experiencing.

    1. "Reject mail for users over quota" is enabled.
    2. "test01@example.com" - Email account exists and is not full.
    3. "test02@example.com" - Email account exists and is full.
    4. A forwarder for "test01@example.com" to "test02@example.com" exists.

    Under this scenario, sending an email to "test01@example.com" will result in the following:

    1. The message is delivered to "test01@example.com".
    2. A bounce is sent to the sender alerting them the message to "test02@example.com" failed due to the mailbox being full.

    Am I correct in saying that you want the message to "test01@example.com" to bounce as well?

    Thank you.
    Thank you for your response.

    There is no separate account configured for test01@example.com, test01@example.com just exists as a forwarder. A message sent to test01@example.com is accepted (and then bounced, which causes unfortunate backscatter to possibly faked addresses), a message to test02@example.com is rejected immediately, so my server does not have to send a bounce.

    Small excerpt from a telnet session to the server:

    Code:
    MAIL FROM: sneakert@example.net         
    250 OK
    RCPT TO: test02@example.com
    550 Mailbox quota exceeded
    RCPT TO: test01@example.com
    250 Accepted
    At this time, the server might already know test01@example.com ultimately gets delivered to test02@example.com, which is obviously full, yet it accepts the message.

  5. #5
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: "Reject mail for users over quota" and local forwards

    Quote Originally Posted by ruzbehraja View Post
    Very similar to this:

    http://forums.cpanel.net/f145/no-aut...tml#post865742

    Probably the forwarders need to filter out the backscatter mails. But I dont know how that will work.
    I read through that feature request, however it looks to be a little different than the request made by the original poster on this thread. From what I can tell, the original poster wants an additional bounce message sent. In the feature request you posted, there is a request to prevent Exim from sending an auto-response in some forwarding scenarios.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  6. #6
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: "Reject mail for users over quota" and local forwards

    There is no separate account configured for test01@example.com, test01@example.com just exists as a forwarder. A message sent to test01@example.com is accepted (and then bounced, which causes unfortunate backscatter to possibly faked addresses), a message to test02@example.com is rejected immediately, so my server does not have to send a bounce.
    I have moved this thread into it's own feature request on the Feature Requests forum.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: "Reject mail for users over quota" and local forwards

    Quote Originally Posted by sneakert View Post
    Hello,

    I've enabled the "Reject mail for users over quota" setting, and it works for messages directly sent to the account that's being over quota (that is, exim responds with a 550 Mailbox quota exceeded after the RCPT TO). However, if for instance info@example.com is a forwarder to john@example.com, the message is accepted, and a bounce is sent if the john@example.com mailbox is full.

    Is there a way to have exim say "550 Mailbox quota exceeded" for local forwarders to full mailboxes as well?
    Right now, it seems cPanel&WHM is doing everything it can to get mail sent to john@example.com delivered, and if it has a forwarder then it forwards to (potentially) an external email address which has not reached its quota and delivers the mail. Since the actual email account at john@example.com is full, a bounce is sent saying the mailbox is full. This allows the person to still get the email at their alternate mailing address while still informing the email sender, your message may not be read because their mailbox is full.

    What is the alternative that you want implemented? The mail not be forwarded? The bounce email not go to the sender? Please clarify.

Similar Threads & Tags
Similar threads

  1. How to fix the "from email" and "return-path" for users?
    By rhm.geerts in forum E-mail Discussions
    Replies: 3
    Last Post: 09-16-2011, 08:59 AM
  2. Sticky "Reject mail if over quota" option in E_34687
    By thobarn in forum E-mail Discussions
    Replies: 0
    Last Post: 04-03-2009, 09:23 AM
  3. Server Wide "Mail Box Quota" change?
    By tpphost in forum New User Questions
    Replies: 4
    Last Post: 09-02-2008, 11:01 AM
  4. /webmail asks users for "username" not "email address"... why?
    By ryno267 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 08-07-2006, 09:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube