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