?
Solved

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

Posted on 2008-10-24
2
Medium Priority
?
729 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
Daniel McAllister earned 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

800 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