cbpolicyd on Carbon...
 
Notifications
Clear all

cbpolicyd on Carbonio CE Mail

10 Posts
3 Users
2 Reactions
1,086 Views
(@anahuac)
Joined: 1 year ago
Posts: 324
Topic starter  

Guys,

I did this tutorial about how to activate and setup cbpolicyd in Carbonio, installing a webserver using Doscker to have access to it's web panel and also how to access it using HTTPS.

I hope you enjoy it.

cbpolicyd on Carbonio CE Mail

I'm looking forward for your feedback

Regards


   
Quote
(@jeffrey-fernando)
Joined: 2 years ago
Posts: 5
 

Hi,

I am try to visit the website but can't access, the site said:

Sorry, you have been blocked

You are unable to access anahuac.eu

 


   
ReplyQuote
(@anahuac)
Joined: 1 year ago
Posts: 324
Topic starter  

@jeffrey-fernando That´s odd... may you tell me from which country are you trying to access it? maybe there are some geoip block on my site.


   
ReplyQuote
(@jeffrey-fernando)
Joined: 2 years ago
Posts: 5
 

@anahuac I am from Indonesia, and currently the website can be accessed and I'll start to install it, many thanks for your article.


   
anahuac reacted
ReplyQuote
(@jeffrey-fernando)
Joined: 2 years ago
Posts: 5
 

Posted by: @anahuac

I'm looking forward for your feedback

create rules reject unlisted internal domain and rate limit send message, result 100% working 👍

thankyou @anahuac

 

220 mail.sb.cos ESMTP Postfix
ehlo mail
250-mail.sb.cos
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 CHUNKING
mail from: admin@yahoo.com
250 2.1.0 Ok
rcpt to: admin@gmail.com
554 5.7.1 <admin@yahoo.com>: Sender address rejected: Sender address rejected: Sorry, you are not authorized to sending email

 

[2023/09/22-07:10:51 - 6762] [CBPOLICYD] INFO: Got request #2 (pipelined)
[2023/09/22-07:10:51 - 6762] [CORE] INFO: module=AccessControl, action=reject, host=192.168.5.1, helo=mail, from=admin@yahoo.com, to=admin@gmail.com, reason=verdict

 

[2023/09/22-06:50:52 - 6760] [CORE] INFO: module=Quotas, mode=create, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_create, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=1.00/3 (33.3%)
[2023/09/22-06:50:52 - 6760] [CBPOLICYD] INFO: Got request #2 (pipelined)
[2023/09/22-06:50:52 - 6760] [CORE] INFO: module=Quotas, mode=update, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_update, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=2.00/3 (66.7%)
[2023/09/22-06:50:52 - 6760] [CBPOLICYD] INFO: Got request #3 (pipelined)
[2023/09/22-06:51:13 - 6761] [CBPOLICYD] INFO: Got request #4 (pipelined)
[2023/09/22-06:51:13 - 6761] [CORE] INFO: module=Quotas, mode=update, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_update, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=2.99/3 (99.6%)
[2023/09/22-06:51:13 - 6761] [CBPOLICYD] INFO: Got request #5 (pipelined)
[2023/09/22-06:51:13 - 6761] [CORE] INFO: module=Quotas, mode=update, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_update, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=3.99/3 (132.9%)
[2023/09/22-06:51:13 - 6761] [CBPOLICYD] INFO: Got request #6 (pipelined)
[2023/09/22-06:51:30 - 6760] [CBPOLICYD] INFO: Got request #4 (pipelined)
[2023/09/22-06:51:30 - 6760] [CORE] INFO: module=Quotas, action=defer, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_match, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=4.97/3 (165.6%)
[2023/09/22-06:52:13 - 6760] [CBPOLICYD] INFO: Got request #5 (pipelined)
[2023/09/22-06:52:13 - 6760] [CORE] INFO: module=Quotas, action=defer, host=127.0.0.1, helo=mail.sb.cos, from=it@sb.cos, to=zextras@sb.cos, reason=quota_match, policy=9, quota=7, limit=8, track=Sender:it@sb.cos, counter=MessageCount, quota=4.92/3 (164.1%)

 


   
anahuac reacted
ReplyQuote
Hunaid Haroon
(@hunaidharoon)
Joined: 10 months ago
Posts: 8
 

@jeffrey-fernando unable to access your site for this, from Pakistan, can you share it here or allow world

 


   
ReplyQuote
Hunaid Haroon
(@hunaidharoon)
Joined: 10 months ago
Posts: 8
 

OK, managed to view your document on said site via VPN, but as I'm running it on RHEL 8.9, your provided docker setup is not workable, please advise, anyone managed to setup CBPolicyD on RHEL 8?


   
ReplyQuote
(@jeffrey-fernando)
Joined: 2 years ago
Posts: 5
 

@hunaidharoon you can use this guidance to install and activated cbpolicyd

https://imanudin.com/2023/10/30/zextras-carbonio-ce-instalasi-dan-aktivasi-cbpolicyd/

and to protect cbpolicyd

https://imanudin.com/2023/11/06/zextras-carbonio-ce-mengamankan-akses-pada-policyd-webui/

I am using Ubuntu 20.04 LTS and 100% working

 

Thx


   
ReplyQuote
Hunaid Haroon
(@hunaidharoon)
Joined: 10 months ago
Posts: 8
 

@jeffrey-fernando Thank you to pointing to relevant document, going to try it now.


   
ReplyQuote
Hunaid Haroon
(@hunaidharoon)
Joined: 10 months ago
Posts: 8
 

Cannot follow said articles word by word as RHEL8 doesn't have apache2 nor apt commands, it has httpd package and dnf/yum package installers. Not working with RHEL8 


   
ReplyQuote