Solved

install Qmail email gateway

Posted on 2004-04-23
2
397 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
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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

829 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