Solved

Forward all (or selective domains) outgoing email to a Barracuda anti-spam appliance

Posted on 2008-10-24
2
711 Views
Last Modified: 2013-12-06
I have a mailserver with around 1000 domains and 8000 popboxes, it's running Qmail and ClamAV, however occasionally a blacklist detects a virus from our IP and blocks the mailserver temporarily. This, despite the fact we have ClamAV and qmail-scanner installed.

We have a Barracuda Anti-spam appliance for incoming mail, but now want to route outgoing email through the Barracuda as well. My question is, how do i configure Qmail for this?

/var/qmail/control/smtproutes is used to forward incoming email to another address, but how can i tell qmail to forward outgoing email to the Barracuda?
0
Comment
Question by:Xyptilon2
2 Comments
 
LVL 20

Accepted Solution

by:
Daniel McAllister earned 500 total points
ID: 22797329
You already have your answer... make a wild-card entry in the /var/qmail/control/smtproutes file that says that EVERYTHING goes to your Barracuda device.

Here is a sample file for /var/qmail/control/smtproutes:

domain-a.tld:mail.domain-a.tld
domain-b.tld:mail.domain-b.tld
:192.168.0.200

The only thing to be careful of is that you don't make a loop -- local domains need to be delivered locally. You can force this by making an entry in either the /var/qmail/control/locals file or the /var/qmail/control/virtualdomains file (depending on how you're setup).

The key here is that the entry in smtproutes with NO front-end (before the colon) applies as a "default" -- and can easily be used to send your outbound e-mails to your SPAM/AV filter.

I hope this helps... someone!

Dan
IT4SOHO
0
 
LVL 13

Author Closing Comment

by:Xyptilon2
ID: 31509562
I could have sworn i tried that... anyway, it did the trick. thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now