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
RBL's
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: RBL's
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.
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.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: RBL's
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...
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
Re: RBL's
Hello,
I do not want to delete the mail immediately. I want to work with a score.
This is my Code from barracuda.cf:
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!
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
How can I test the rule or activate the rule? Is the code correct?
Thank you for your help!
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: RBL's
Actually, I see an active rule in spamassassin for Barracuda Central already:
72_active.cf:
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