| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
03-12-2011, 02:35 PM
| | | 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? | 
03-14-2011, 08:46 AM
| | | Quote:
Originally Posted by cmargena 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" | 
03-14-2011, 02:08 PM
| | | Add a filter rule for "POSTMASTER" | "MAILER-DAEMON" above forwarding filter, and check mark [Do not process additional filters] in its setting. | 
03-15-2011, 04:02 AM
| | | Quote:
Originally Posted by John Siu 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. | 
03-15-2011, 11:41 AM
| | | If the forwarding is configure at the admin gui, then I have no idea for now. | 
03-15-2011, 02:45 PM
| | | 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. | 
03-16-2011, 01:15 AM
| | | Quote:
Originally Posted by ewilen 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) | 
03-16-2011, 09:04 AM
| | | Quote:
Originally Posted by cmargena 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. Quote: |
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. | 
03-16-2011, 09:33 AM
| | | Quote:
Originally Posted by ewilen 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. | 
03-16-2011, 09:53 AM
| | | 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.  | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |