Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-2011, 02:35 PM
Active Member
 
Posts: 26
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?
Reply With Quote
  #2 (permalink)  
Old 03-14-2011, 08:46 AM
Active Member
 
Posts: 26
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"
Reply With Quote
  #3 (permalink)  
Old 03-14-2011, 02:08 PM
Loyal Member
 
Posts: 82
Default

Add a filter rule for "POSTMASTER" | "MAILER-DAEMON" above forwarding filter, and check mark [Do not process additional filters] in its setting.
Reply With Quote
  #4 (permalink)  
Old 03-15-2011, 04:02 AM
Active Member
 
Posts: 26
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.
Reply With Quote
  #5 (permalink)  
Old 03-15-2011, 11:41 AM
Loyal Member
 
Posts: 82
Default

If the forwarding is configure at the admin gui, then I have no idea for now.
Reply With Quote
  #6 (permalink)  
Old 03-15-2011, 02:45 PM
Moderator
 
Posts: 1,432
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #7 (permalink)  
Old 03-16-2011, 01:15 AM
Active Member
 
Posts: 26
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)
Reply With Quote
  #8 (permalink)  
Old 03-16-2011, 09:04 AM
Moderator
 
Posts: 1,432
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.

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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #9 (permalink)  
Old 03-16-2011, 09:33 AM
Active Member
 
Posts: 26
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.
Reply With Quote
  #10 (permalink)  
Old 03-16-2011, 09:53 AM
Trained Alumni
 
Posts: 8
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.