Solved

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

Posted on 2008-10-24
2
719 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 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
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…
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…

726 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