Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've a mail server, which handle multiple domains. Due to concern of spam and mail server performance. I've configured another machine which will be in bridging and mail server would be behind that it.

How can i filter spam emails in bridging server without running any smtp services.

Scenario

Internet +------+ Spamfilter Server (in bridging mode) +---------+ MailServer

SmartHost will work for outgoing email. In this scenario i can filter all incoming emails. There is also another option of DNS which i don't want to use.

share|improve this question
    
I don't want to use untangle, I already know about it. I want to setup my own server so Can anyone please guide me for the technique being used by untangle spam blocker or spam filtering in bridging mode. –  User4283 May 11 '11 at 12:42

1 Answer 1

Not sure why you want to set things up this way -- makes more sense to have your smarthost / mail filter receive mail (ideally have your WAN firewall port-forward SMTP traffic to it in the DMZ) and then configure it to relay to your mail server.

Check out MailCleaner as a good, full-featured (+ free!) mail filter distro -- makes installation, configuration and management very easy. Current version is at 'Beta 3', but it has been stable and production-worthy for over a year.

If you're looking to filter mail transparently without setting up a relay, you could try Untangle -- the lite version is free and more advanced functionality and support can be purchased. It can be configured on a multi-homed system to filter mail transparently.

share|improve this answer
    
I don't want to use untangle, I already know about it. I want to setup my own server so Can anyone please guide me for the technique being used by untangle spam blocker or spam filtering in bridging mode –  User4283 May 11 '11 at 12:42
    
Untangle is built on debian. Looks like its spam filtering is built on SpamAssassin with some other stuff configured as well: untangle.com/Spam-Blocker/Tech-Specs –  nedm May 11 '11 at 17:00
    
Here's some guidance for configuring iptables on debian for bridging. I assume you're looking for something closer to D2 in this document, but if you're putting this thing at the network edge you'll definitely want some firewalling and possibly NAT. –  nedm May 11 '11 at 17:15
    
Yes I'm looking for thing like D2, but still i could not get any idea –  User4283 May 12 '11 at 10:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.