SMTP relay to Barracuda?

fizz

Well-Known Member
Jan 25, 2002
202
0
316
We currently have a Barracuda Spam Firewall, we have it currently set to check all mail and then forward it to the local cPanel server. This works great..

Is it possible to setup a SMTP relay to send ALL mail from cpanel/exim to our Barracuda? I wasn't able to find anything solid on the forums/google.

Thanks in advance.
 

hostingmetro

Active Member
PartnerNOC
May 30, 2003
40
0
156
We make the following changes for outbound scanning.

Edit /etc/exim.conf

Look for two instances of:

driver = dnslookup

under dk_lookuphost: and lookuphost:

Comment both instances and add two instances of

driver = manualroute
route_list = * barracuda.outgoing.hostname

so it'll look something like this:

dk_lookuphost:
#driver = dnslookup
driver = manualroute
route_list = * barracuda.outgoing.hostname

lookuphost:
#driver = dnslookup
driver = manualroute
route_list = * barracuda.outgoing.hostname

then go to Barracuda management panel and go to Basic -> Authorized Senders and enter main ip address of that cpanel server

and restart cpanel exim and check the exim_mainlog

Code:
grep barracuda.outgoing.hostname /var/log/exim_mainlog