Solved

install Qmail email gateway

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

20 Experts available now in Live!

Get 1:1 Help Now