Solved

install Qmail email gateway

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to setup xrdp on Redhat? 2 66
Where are AWS Certificate Manager SSL's Stored in Centos? 2 45
VMWare 6 crashing 14 57
linux ssh 4 36
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

746 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

13 Experts available now in Live!

Get 1:1 Help Now