Solved

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

Posted on 2008-10-24
2
710 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
Comment Utility
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
Comment Utility
I could have sworn i tried that... anyway, it did the trick. thanks!
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

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…
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
To show how to generate a certificate request 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 Servers >> Certificates…

771 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

14 Experts available now in Live!

Get 1:1 Help Now