[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem with Mdaemon content filter

Posted on 2009-02-19
12
Medium Priority
?
1,877 Views
Last Modified: 2013-11-22
Hello,

Recently i created a rule on mdaemon that
1) if message sizes is greater than 3 MB
2)send a note to the sender and
3)delete the meesage
the above rules is for everyone but for VIP users i created a seperate rule for unlimited size mail sending.

1)if from headers contains user1@domain.com or user2@domain.com
2)skip next and rules 1 that is the first rule.

Both above rules are basically for restricting the users to send mail size not more than 3 MB except for V.I.P users.

Now the problem is the rule is working sometime and sometimes its not (the rule for VIP users)

sometimes even their mails get bouncd back even though they are in the exclusion list.I have to delete the user and put it back again.
i don't know why is this happening can someone please help me.??
0
Comment
Question by:vedant0500
  • 7
  • 5
12 Comments
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23689674
Looks ok to me what you have done.

Are the VIP senders in fact sending using the account specified?  If they have two accounts on their email client e.g., user1@domain.com and anotherusername@domain.com, then obviously if they sent using anotherusername@domain.com it would be bounced and deleted.

The Content Filter tab will tell you the progress of each message through the rules chain - presumably you have had a look at this and found no indication of reason for failure?
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23689691
>I have to delete the user and put it back again.

This puzzles me somewhat.  Tell you what, what would be better would be to split out Rule #1 into two rules:-

rule #1 if user1@ then skip 2 rules
rule #2 if user2@ then skip 1 rule
rule #3 if message>3Mb then send note and delete
0
 

Author Comment

by:vedant0500
ID: 23691012
actually the rules somewhat works like this
1)if from headers contains user1@domain.com or user2@domain.com
2)skip next and rules 1 that is the first rule.
            Skip Rule this
1) if message sizes is greater than 3 MB
2)send a note to the sender and
3)delete the meesage.
And if the rule does not work than for any of the VIP users than i have to delete the user from the list and put him back again.
i hope the above things makes you unnderstand the situation.  
0
New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

 

Author Comment

by:vedant0500
ID: 23691054
the users are only having 1 user account in ther mail client still they are facing this issues sometimes, i dont know why this rules works sometimes and sometimes not.
if you want to see this rule please check the below link it is the same.
http://hianoto.net/mdaemon_limit_smtp_size_properly.html  
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23693995
>i have to delete the user from the list

Not quite sure what list you are referring to here?

Try splitting the rules as I suggested - it could be that the OR is somehow getting interpreted as an AND by the Content Filter.  By splitting the rule into two it is easier to see what is happening in the Content Filter logging screen.
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23694075
Had a look at the link you provided

Make sure that the Miscellaneous Options, Data Transfer Limits, Max acceptable SMTP message size is reset to 0.
0
 

Author Comment

by:vedant0500
ID: 23698798
in Miscellaneous Options, Data Transfer Limits, Max acceptable SMTP message size is already reset to 0.
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23698815
Have you tried my other suggestions?

The only other thing I can suggest you do is that you lodge a support ticket with Altn, the software publishers.
0
 

Author Comment

by:vedant0500
ID: 23699016
i also tried doing (and) between all the mail ids instead of (or) but that does not seem to be working in the exclusion list.

i have raised support to mdaemon today lets see what they have to say.
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 23699189
No, what I meant was to create two separate rules, rather than just having one rule for the VIPuser test.  Another thing you could do: just do it for one VIP user to start with: does that work?
0
 

Author Comment

by:vedant0500
ID: 23699411
i have around 25 VIP users which are there in the exclusion list but my concern was that why the rule works sometimes flowless and sometimes not.
0
 
LVL 31

Accepted Solution

by:
moorhouselondon earned 1000 total points
ID: 23700610
There has to be an upper limit to the size of text in the rule.  OK Mdaemon should do "boundary checking" on the size of the Rule text, and reject any rules that spill over the limit.  But if the text is handled by some kind of operating system library routine then, well, anything could happen.

Split the rule up into individual rules with a relevant "skip x rules" after.  However, a much more robust way to handle what you are tring to achieve is as follows:-

Rule #1 If vip1@ then Add a Header X-VIP
Rule #2 If vip2@ then Add a Header X-VIP
etc.

Rule #25 If vip25@ then Add a Header X-VIP
Rule #26 If Header X-VIP exists then Skip 1 Rule
Rule #27 If message>3Mb then Send Note to sender and delete message.
0

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft goes to great lengths to ensure that the users don’t encounter issues while working with MS Outlook. But errors are inevitable and can occur when you least expect them. One of such errors which are encountered in Outlook is Error 0x800ccc1…
Zimbra is famous for its platform independency, ability to manage multiple user accounts, easy assimilation with 3rd party applications, social network certification etc. Here, we discuss about how users can move multiple Zimbra user accounts to Exc…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question