RBL's

General eFa discussion
Post Reply
Gspearson
Posts: 5
Joined: 03 Feb 2014 18:11
Location: Goshen, IN
Contact:

RBL's

Post by Gspearson »

I am very new to this project and familiar with MailScanner as it is powering the Mail Filtering of the Mailing List Server (Sympa) for our organization. With the work that has been done on this project, what is the easiest way to add a RBL list to the project that would be Update Safe. I have learned working on other projects to find ways that when the core software gets updated that my changes do not get wiped out.

I would like to use only 1 BlackList which happens to be barracudacentral.org
Graham Pearson
Your Coldfusion Professional
Goshen, IN 46528

http://www.yourcfpro.com
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: RBL's

Post by shawniverson »

Create a new cf file in /etc/mail/spamassassin

Such as barracuda.cf

Add your RBL in this file.

That way, when Spamassassin gets upgraded, and files get modified or overwritten, you will have your own config file.
micha0808
Posts: 2
Joined: 16 Mar 2014 14:36

Re: RBL's

Post by micha0808 »

Hello,

How is the Syntax in the .cf file?

Can you make an example?

Thanx a Lot!
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: RBL's

Post by shawniverson »

Actually, it may be better to specify an RBL in postfix and stop the email from entering the system...

Here's the default in /etc/postfix/main.cf for zen.spamhaus.org...

Code: Select all

smtpd_client_restrictions = permit_sasl_authenticated, reject_rbl_client zen.spamhaus.org
micha0808
Posts: 2
Joined: 16 Mar 2014 14:36

Re: RBL's

Post by micha0808 »

Hello,

I do not want to delete the mail immediately. I want to work with a score.

This is my Code from barracuda.cf:

Code: Select all

header RCVD_IN_BRBL                     eval:check_rbl('brbl-lastexternal', 'b.barracudacentral.org.', '127.0.0.2')
describe RCVD_IN_BRBL                   Received via relay listed in Barracuda RBL
score RCVD_IN_BRBL                      3.0
tflags RCVD_IN_BRBL                     net 
I Dont see a Match in the Spam Report.

How can I test the rule or activate the rule? Is the code correct?

Thank you for your help!
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: RBL's

Post by shawniverson »

Actually, I see an active rule in spamassassin for Barracuda Central already:

72_active.cf:

Code: Select all

header RCVD_IN_BRBL_LASTEXT   eval:check_rbl('brbl-lastexternal','bb.barracudacentral.org')
tflags RCVD_IN_BRBL_LASTEXT   net
Post Reply