Mandriva 2005 Postfix Anti-Spam, Anti-Virus Relay Server for Exchange Server 2000/2003
Submitted by deeztech (Contact Author) (Forums) on Tue, 2006-06-27 12:32. :: Anti-Spam/Virus | Postfix
THE DEFINITIVE GUIDE TO SETTING UP A LINUX RELAY SERVER FOR MICROSOFT EXCHANGE SERVER 2000/2003
There are a couple of linux how-tos floating on the Internet that deal with this very subject. As a matter of fact, those guides are what inspired to write this one. In the spirit of keeping it simple, let me recommend the Mandrake or as itâ€™s currently known Mandriva Linux distro. This guide has been written with this distro in mind.
What you will need:
STEP 1: Install Mandriva LE 2005 Install Mandriva LE 2005 with the following minimum packages:
STEP 2: Remove Installation Media/Update Mandriva Sources:
Itâ€™s important to remove the installation DVD or CD-ROM as the media of choice for your Linux installation and instead use on-line media anytime we want to install or update anything on this installation. The procedures below will help you accomplish this:
a) Create a script file under /root called update.sh or whatever you want. I usually name them by distro. For example, for 2005 LE, I name it "update.2005.sh". Open up a ssh (putty) windows to your server. It's a lot easier doing it though putty than trying to type the sources in a console window manually. In a putty window it's just a matter of copy and paste. In the putty windows type the following:
vi update.2005.shEnter the following lines:
urpmi --auto-select --autob) Goto http://easyurpmi.zarb.org and select your distro and then click on the "Proceed to STEP 2 button. Then, under "2) Select a mirror for each source" section under Core Distribution, check off the following: "Source contrib", "Source main", "Source updates" as a bare minimum. Then click on the Proceed to STEP 3 button. This will generate a list of mirrors. Select them and copy the entire list. Go back to your putty window, click the "i" key to put the editor in insert mode and paste what you just copied from your browser in your putty window between the lines you type earlier. So, your screen should look similar to this:
urpmi.addmedia --update updates ftp://ftp.clinet.fi/pub/mirrors/Mandrake-linux/official/updates/LE2005/main_updates/ with media_info/hdlist.cz
urpmi.addmedia main ftp://ftp.clinet.fi/pub/mirrors/Mandrake-linux/official/2005/i586/media/main with media_info/hdlist.cz
urpmi.addmedia contrib ftp://ftp.clinet.fi/pub/mirrors/Mandrake-linux/official/2005/i586/media/contrib with media_info/hdlist.cz
urpmi --auto-select --autoOf course, don't copy my sources which are most likely outdated. c) Save your script and make it executable. Type the following in your putty window: Presss the "ESC" key to take the editor out of insert mode. Then press "SHIFT ZZ" to save your file.
chmod 755 update.2005.shc) You are ready to go. Type the following in your putty window and watch it go. Once completed, your sources are updated and your installation media has been removed.