Hello! I try to setup PolicyD v2 on my server based on Ubuntu 12.04 and ISPCOnfig 3 final. I can not find any tutorial how to setup it correctly. First I install it from apt. Configured DB and config file, deamon starts without errors, postfix also. I also setup quota limits, but it is not working, and I can not understand why? When I sending a test mails in policyd DB i see that session_tracking is working, but quota_tracking table is empty. Some one configured PolicyD deamon and policies? Can you help me in this question? If you know some links to HOWTO, it will be great. Thank you.
HEllo Srijan! Thank you for your fast answer. I read this thread. But I am use apt-get install postfix-cluebringer, apt-get install postfix-cluebringer-mysql from repository cluebringer is working and listen 10031 in netstat. webui also working, I can manage and configure. but quota-tracking do not track anything. Only session tracking working when I send email I see new row in DB of policyD. One thing that I do not do it is config for AmavisD, as I understand it is optional. May be there is a problem?
Hi I will recommend to gofor AmavisD installation also.Please refer the above link again for Amavisd patches. Br// Srijan
Amavisd is already integrated in the ispconfig setup, so I wont include it in cluebringer with the patches as this will cause emails to get scanned twice. by amavisd.
This tutorial do not fit to installation from repository. This tutorial use different path, file name and so on, for example ( I have not amavisd.conf file in my system, have not also /usr/lib/policyd-2.0) May be you now another way to setup cluebringer (PolicyD) or may be you now other solution to limit email size for sending for different users. For example, [email protected] can send files 10MB, but [email protected] can send 5MB only. Thank you for your time. Waiting for answer.
Thank you Till For your answer. What you can to advise me in this question? To use another policy? May be you know another one? Big thnks for your time.
Problem solved. I forgot to proper configure main policies (ip, domain) Sorry for troubles. But I can understand how to create quota limit to block sending email more than 1MB. In PolicyD I can only configure this limit for some period for example 60 sec. I can send email 1MB one time after I have block for 60 sec. and can not send email less than 1 MB. How it works? Thank you.
Why not use it without amavis? It can do greylisting, spf checks, rate limiting(quota), helo checks...
Thats what I suggested. It does not make sense to integrate amavis and cluebringer, they run fine side by side.
Cool. I'm gonna try to integrate it now in postfix and I'll post a results and maybe a how to if its gonna work.
I have installed it and configured it with help from this tutorial http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Install.and.configure.Cluebringer/RHEL But I don't understand the greylisting section example at end http://wiki.policyd.org/greylisting Greylist Inbound Email Policy: Default Inbound policy Use Greylisting: No etc... --the term authenticated triplets is reffered here, what are they? Disable Greylisting on authenticated inbound policy Policy: Default Inbound Policy (SASL) Use Greylisting: No etc... -- the term authenticated triplets is reffered here and also an "authenticated inbound policy" In first, problably a typo, there should be "yes" at Use Greylisting. But what are authenticated triplets term that both of the examples are using? And what do they mean in the second example reffering to SASL?
I think I'll skip it, http://wiki.policyd.org/policies#examples you have to put all internal domains in a databse, that's ok for non changing environment but for hosting is too much manual work...