Linux & Windows lan question

Dr-Host

Verified User
Joined
Mar 23, 2004
Messages
107
Location
Israel
Hello,

I have two machines

1) Linux Using as firewall and port mapping

2) Windows 2000 Server with Exchange 2000 as mail server

I'm looking for a way to scan all incoming email traffic to the Windows server machine via the linux server and block virus & spam using the linux machine,

So I was thinking installing DA on the linux machine and setting the domain to the linux machine and creating forwarding for each mail account thats been created on the windows machine ( exchange )

Will Clam-Av and SpammAssain will scan those mails or just forward them without a scan?

Or do you have any other ideas to do this?


Thanks,
David
Dr-Host.co.il
 
It might be easier to dedicate the windows server entirely to email instead of trying to split up email tasks between the two.

Jeff will probably be making his rounds soon.

Don't forget that you can't run DirectAdmin behind a LAN ;)
 
Funny, Jon :) .

As Jon says, you cannot run DA behind a private IP#, nor can you run it behind an dynamic IP#, i.e., one that is assigned by DHCP.

But presumably you know that if you're going to be running Exchange as a mailserver.

If you meet those requirements you can run DA, but if all you want to use it for is port-mapping, a firewall, virus-blocking and spam-blocking, then DA is an awful lot of overkill.

Especially since of all the above, all DA manages by default is spam-blocking.

Among other things, you'd have to completely rewrite the exim.conf file.

I strongly recommend building a linux box from scratch, with almost no services, and then install exim, if you want to use it. But you're on your own with the exim.conf file which will have to be rewritten.

Jeff
 
I was planning to run DA on a static IP

I found another option using an smtp proxy server wich basicly does what I've wanted it scans mails and checks them for virus and spam and then if they clear out it relays them to the exchange machine
all I have to do is to forward port 25 or the MX record to linux machine and it does all the rest.

I'll try it out later his week and let you know if it worked and what i've used
 
Last edited:
It is done.

Finally I've done it after trying different MTA's and trying to follow 5 different how-to's the box is up and running.


I've used RoNNY Nussbaum's how-to for Fc4
found at: http://www.freespamfilter.org/FC4.html

I've also used the sa-learn script from Ray Gibson's debian how-to

Found at :http://www.raygibson.net/kb/amavis/

And after trying with Exim, Qmail i've finally choose postfix due to the option to that I have to point different domains after checking them for spam and virus to different machines.

The box is running FC 3, with all of the stuff used in RoNNY Nussbaum's how-to + APF

Next step is to make my own auto-upgrade script for all of daemons on the machine (postfix, SA, Clam-AV ,razor, pyzor,dcc ext. )

This is a great and free option to protect Windows machines and if you want to provide this service to your dedicated machines customers it can filter all mail before reaching there server and also mange data traffic if you want to forward the packets to apache after you've filtered them nice in cause of DDOS Attacks but has it issues.

David.
 
Re: It is done.

Dr-Host said:
And after trying with Exim, Qmail i've finally choose postfix due to the option to that I have to point different domains after checking them for spam and virus to different machines.
That would have been fairly simple with exim as well, but obviously you found a How-To showing you how to do it with Postfix, which made it easy for you.

I'm glad you got your problems solved.

Jeff
 
Back
Top