# # Interfacing Kerio Spam with Barracuda
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Interfacing Kerio Spam with Barracuda

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.

Some material is very old and may be incorrect today

© May 2019 Anthony Lawrence


The Barracuda Spam Appliance really does an excellent job filtering spam. When one of my Kerio customers recently implemented that, he was very pleased with the results. There was one small wrinkle, though: email that Barracuda marks as Spam was not being filtered to the users Junk Email folders.

That's simple enough: Kerio marks its spam with "**SPAM**" by default and Barracuda uses "[SPAM]". We could either make them both agree or add a Custom Kerio rule that adds spam points when it sees the Barracuda tag. Making them both use the same tag is easy, so we tried that.

It didn't work. Puzzled, he tried the second method. That didn't work either and he could see in the rules section that the rule was not being triggered even though "[SPAM]" messages were coming through.

Well, duh: of course not. He doesn't check local users for spam and the inside address of the Barracuda is a local address.

trustworthy agents aren't spam checked

We didn't want to turn that on, so instead we changed the Barracuda's address to be outside of the "local" IP range defined as able to relay.

But that caused other problems. Now the Kerio server didn't like the email arriving from an "untrusted" source. These limits had to be turned off:

Kerio SMTP IP sender limits

However, as nothing but the Barracuda is coming from outside, and it can apply its own limits, turning these off is not opening up any security issues. With those off, the spam filtering could now take place and custom rules could work.

Don't forget that your Barracuda must be in your local DNS.

If you found something useful today, please consider a small donation.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> Interfacing Kerio Spam with Barracuda

Inexpensive and informative Apple related e-books:

Sierra: A Take Control Crash Course

Take Control of Automating Your Mac

El Capitan: A Take Control Crash Course

Take Control of Numbers

Take control of Apple TV, Second Edition

More Articles by © Anthony Lawrence

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Securing a computer system has traditionally been a battle of wits: the penetrator tries to find the holes, and the designer tries to close them. (Gosser)

Linux posts

Troubleshooting posts

This post tagged:

Kerio Connect


Kerio Info

Kerio Pricing

Kerio RSS Feed



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode