?
Solved

install Qmail email gateway

Posted on 2004-04-23
2
Medium Priority
?
413 Views
Last Modified: 2011-04-14
I have a qmail server (mail1) now, it is quite busy, so I would like to setup an email gateway server (gw1) which has anti-virus and anti-spam only, after emails are filtered by the gateway server (gw1), it will forward to the Qmail server (mail1).
How to setup the gateway server? (using Qmail)
0
Comment
Question by:stanleyhuen
[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
 

Expert Comment

by:arcascomp
ID: 10926823
Hi,

I'm looking for info for a similar situation. I'm using Exchange (all M$ haters spit now:-) and I need to give it serious protection. My thoughts on what I want to achieve is listed in a question under mail servers (http://www.experts-exchange.com/Networking/Email_Groupware/Q_20964739.html) so anyone finding an answer to this question can get an extra bunch of points by answering mine!

I've read a number of pages and as far as I can make out I need something like fetchmail to collect email from my many pop3 mailboxes and then feed this output through something like spamassain and some form of virual scanning software before passing it onto my mailserver. Sorry this isn't an answer to your question, but hopefully combined we can get some direction!
0
 
LVL 2

Accepted Solution

by:
fluffdune earned 2000 total points
ID: 11055134
Hi,

Don't really know if this is a solution to recommend but here's my quick tought:

Make sure that your DNS has mail1 at a lower MX-priority then gw1.

At mail1, change your tcp.smtp-rules to only accept mails from gw1. Then at gw1, allow mails to be accepted for your domain by adding it to 'rcpthosts' but not any other config. At last tell your tcp.smtp-rules at gw1 to accept and scan mails from any host.

The order should be this:
1) A sending e-mailserver first tries to contact mail1 and fails so it
2) tries to contact gw1 and delivers the mail. When delivered it gets scanned and then
3) gw1 tries to send it to mail1 since the mail is in the queue and mail1 has a lower MX-priority.

---

I guess that this solution generates some extra traffic, can't decide if the good or bad parts are the most.
0

Featured Post

Quick Cloud Training

Looking for some quick training on the cloud in 2 hours or less? Check out these how-to guides in AWS, Linux, OpenStack, Azure, and more!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 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