APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Interfacing Kerio Spam with Barracuda

Some material is very old and may be incorrect today

© December 2015 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:

Are Your Bits Flipped?

Take Control of OS X Server

Sierra: A Take Control Crash Course

Take Control of Automating Your Mac

Take Control of Numbers

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

Standards are always out of date. That’s what makes them standards. (Alan Bennett)

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