Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Forwarding mail to an out of quota account produces a loop

  1. #1
    cmargena is offline Active Member
    Join Date
    Mar 2009
    Location
    Arfgentina
    Posts
    26
    Rep Power
    6

    Default Forwarding mail to an out of quota account produces a loop

    Hi Everybody,
    I have the following problem:
    Suppose there is a mail system (based on Zimbra) with a user that set up a filter to forward all mails to an external account. When mail arrives to Zimbra it is correctly forwarded to the external mail system, but suppose that the external mail account is out of quota.
    What happens is that the external mail system produces a reply warning Zimbra that the receiving account is out of quota to Zimbra but (as I could see) it removes X-Zimbra-Forwarded header as it produces a new mail, so when that mail is received by Zimbra it is forwarded again to the external account starting in this way an infinite loop.
    My question is: Is there any way to avoid forwarding out-of-quota emails or it is a user responsibility to filter them?

  2. #2
    cmargena is offline Active Member
    Join Date
    Mar 2009
    Location
    Arfgentina
    Posts
    26
    Rep Power
    6

    Default

    Quote Originally Posted by cmargena View Post
    Hi Everybody,
    I have the following problem:
    Suppose there is a mail system (based on Zimbra) with a user that set up a filter to forward all mails to an external account. When mail arrives to Zimbra it is correctly forwarded to the external mail system, but suppose that the external mail account is out of quota.
    What happens is that the external mail system produces a reply warning Zimbra that the receiving account is out of quota to Zimbra but (as I could see) it removes X-Zimbra-Forwarded header as it produces a new mail, so when that mail is received by Zimbra it is forwarded again to the external account starting in this way an infinite loop.
    My question is: Is there any way to avoid forwarding out-of-quota emails or it is a user responsibility to filter them?
    More on this: The problem is that Zimbra does not have any "standard" rule to avoid forwarding mails from for example: "POSTMASTER" or "MAILER-DAEMON"

  3. #3
    John Siu is offline Loyal Member
    Join Date
    Feb 2011
    Posts
    82
    Rep Power
    4

    Default

    Add a filter rule for "POSTMASTER" | "MAILER-DAEMON" above forwarding filter, and check mark [Do not process additional filters] in its setting.

  4. #4
    cmargena is offline Active Member
    Join Date
    Mar 2009
    Location
    Arfgentina
    Posts
    26
    Rep Power
    6

    Default

    Quote Originally Posted by John Siu View Post
    Add a filter rule for "POSTMASTER" | "MAILER-DAEMON" above forwarding filter, and check mark [Do not process additional filters] in its setting.
    This has to be done user by user or can be done automatically?, Like having a master rule.

  5. #5
    John Siu is offline Loyal Member
    Join Date
    Feb 2011
    Posts
    82
    Rep Power
    4

    Default

    If the forwarding is configure at the admin gui, then I have no idea for now.

  6. #6
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    You may be able to create a script which will step through all your accounts and add the necessary filter rule, but AFAIK there's no built-in method of creating a master rule.

    This might be a good suggestion for an RFE--either the ability to create master rules, or an option to suppress certain types of filter actions on mail that matches certain profiles.

  7. #7
    cmargena is offline Active Member
    Join Date
    Mar 2009
    Location
    Arfgentina
    Posts
    26
    Rep Power
    6

    Default

    Quote Originally Posted by ewilen View Post
    You may be able to create a script which will step through all your accounts and add the necessary filter rule, but AFAIK there's no built-in method of creating a master rule.

    This might be a good suggestion for an RFE--either the ability to create master rules, or an option to suppress certain types of filter actions on mail that matches certain profiles.
    Ewilen,
    1. What is the way to create an RFE?

    2. Is there anyway to tweak sieve in order to have this rule attach to every user that has a filter? (I do not know in detail this tool but I think this is the way to have this working)

  8. #8
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Quote Originally Posted by cmargena View Post
    Ewilen,
    1. What is the way to create an RFE?
    Visit Bugzilla Main Page - Zimbra, create an account if necessary, open a bug and mark it as "enhancement" for severity. I also generally prepend "RFE:" in the subject to help identify the purpose of the report.

    2. Is there anyway to tweak sieve in order to have this rule attach to every user that has a filter? (I do not know in detail this tool but I think this is the way to have this working)
    I don't know the details of sieve or how it's used by Zimbra to give an answer. I assume it's possible, although the implementation might not be in sieve per se, but in the Zimbra subsystem that creates the sieve filters.

  9. #9
    cmargena is offline Active Member
    Join Date
    Mar 2009
    Location
    Arfgentina
    Posts
    26
    Rep Power
    6

    Default

    Quote Originally Posted by ewilen View Post
    Visit Bugzilla Main Page - Zimbra, create an account if necessary, open a bug and mark it as "enhancement" for severity. I also generally prepend "RFE:" in the subject to help identify the purpose of the report.

    I don't know the details of sieve or how it's used by Zimbra to give an answer. I assume it's possible, although the implementation might not be in sieve per se, but in the Zimbra subsystem that creates the sieve filters.
    Anyone from development that could add on this last one?, I can write what it takes and give it to you.

  10. #10
    brumdo is offline Trained Alumni
    Join Date
    Nov 2009
    Location
    Columbus, Ohio
    Posts
    9
    Rep Power
    5

    Default

    I don't think that you would want to do block all messages from POSTMASTER or MAILER-DAEMON. People need to know that their mail is bouncing, but I agree that this is particular example is a problem.

    We have a similar issue happening and what we've done so far is tell the user to stop forwarding their mail to the external address and then block that external account on our spam filter appliances.

    Sorry I don't have any solution to add.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

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