Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

install Qmail email gateway

Posted on 2004-04-23
2
Medium Priority
?
421 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 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month21 days, left to enroll

810 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