Link to home
Start Free TrialLog in
Avatar of amoos
amoos

asked on

how to get barracuda spam firewall 300 to talk to LDAP on exchange 2007 server???

we just installed a new barracuda spam firewall 300 and everything is working fine except when i go to configure the LDAP settings on the barracuda the test LDAP keeps failing.  i know when i telnet to the mail server on port 389 i get nothing so that tells me that barracuda cannot talk to LDAP on my mail server.  how do i fix this??
Avatar of ziggyk
ziggyk

Did you set up an account in Active Directory for the barracuda to use?

Is your barracuda internal to your domain or external?

Is your Exchange server also a domain controller?  If not, you need to tell the barracuda to use the DC not the Exchange server.

Could you post the message that the barracuda returns when you click the Test LDAP button?  It should pop up with a "LDAP Test Unsuccessful (details below)" box.

FYI, when you telnet into port 389 it should return nothing.  So, your barracuda could be talking to the LDAP.
Avatar of amoos

ASKER

the barracuda is internal to our network.  it is behind a firewall.  my exchange server is not a domain controller just a mail server.

below is the message that i get from the test LDAP in the barracuda

could not set open file limit to 8192: Operation not permitted
lookup order: fb
listening on localhost/56656
answering client connection request from 127.0.0.1/56657
received from 127.0.0.1/56657: GET administrator@op%2dtn.org
email address: administrator@op-tn.org
administrator@op-tn.org not found in cache
LDAP test succeeded
requesting LDAP connection to 192.168.10.4/389 for 127.0.0.1/56657
binding with '(null)' / '(null)'
failed to bind to LDAP directory 192.168.10.4/389: Can't contact LDAP server
resetting LDAP connection to 192.168.10.4/389
reaping LDAP connection to 192.168.10.4/389
delisting LDAP connection to 192.168.10.4/389
LDAP connect failed on user administrator@op-tn.org: Connection failed
telling 127.0.0.1/56657: FAILED
received from 127.0.0.1/56657: QUIT
hanging up on client 127.0.0.1/56657
exiting on SIGTERM

if i point the Barracuda towards my DC for the LDAP settings will that hurt anything with the mail??
ASKER CERTIFIED SOLUTION
Avatar of ziggyk
ziggyk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amoos

ASKER

ok i did those changes and it works, but we are also using anti-spam on he exchange 2007 server for extra filtering and when i send an email to an account it gets caught as spam.

why is this??

it was not like that before
That's a whole different question to be honest with you.

I would think that it has to do with the barracuda possibly changing the e-mail slightly and the Exchange server picks it up as SPAM.

I personally would turn off Exchange's SPAM and just use the barracuda.  I get about one SPAM a month just using my barracuda.

I have my settings set at:
Tag Score: 10
Quar. Score: 4
Block Score: 7
Avatar of amoos

ASKER

great thank you
Hi,
We have a Barracuda 400 and are looking at setting this up.   My question is, WHY?
Can someone tell me the advantages and disadvantages of setting up the LDAP config?
Does it speed things up?  or What?
There has to be some disadvantages too.

Thanks
Advantages:
- Ensures that a user/group exists before even processing the e-mail for SPAM
- Saves processing time on Barracuda because it doesn't have to process every message

Disadvantages
- If your Barracuda and LDAP server are in the same location, you won't have any disadvantages.  Even if they aren't in the same location the LDAP queries do not take up much bandwidth.
Thanks for the response !!
Sounds like we should move ahead with this.  Your advantages match what I have read.
One more question on this.........

Is it built into the Barracuda somehow that if the LDAP query is broken for whatever reason, the server is down or network connection is down between the barracuda and the LDAP server, what happens?
Does all mail get rejected with NDR's ?  Or is all mail passed on and scrutinized the current way without LDAP ?
I hope I am making sense.
Thanks
It will just process the messages regularly if it cannot query the LDAP server
Actually I think it depends on your Unify settings.  I checked with Barracuda.
Thanks
ldap account to use must be in Users OU
Miro, not necessarily.  However, it is very important that you use the users email address (user@yourdomain.com) for the username as demonstrated by ziggyk in his post.