Friday, September 5, 2014

Installing ASSP (Anti-Spam SMTP Proxy Server) on Mac OS X 10.6 Snow Leopard with EIMS - Eudora Internet Mail Server

Thanks to Tom Shaw for wring ASSP information up, which is how I found out about ASSP: http://www.oitc.com/ctw/assp/


I wanted to run ASSP and EIMS on the same Mac.


1) Downloaded and installed: XCode 3.2.6 and iOS SDK 4.3 from https://developer.apple.com/downloads/

P.S. When I first tried to install the Xcode software it gave an error since I had not run Apple's "Software Update" to install "AppleSoftwareInstallerUpdate"


2) Downloaded ActivePerl-5.18.2.1802-darwin-10.8.0-298023.dmg from http://www.activestate.com/

3) Installed ActivePerl


4) I typed in Terminal.app:

nano .profile

and saved the line

PATH=/usr/local/ActivePerl-5.18/bin:$PATH export PATH

in the .profile file and closed/saved the .profile file.

(I closed the terminal window and re-opened a new Terminal for the effects to take place).

Now, when in Terminal I type perl -v it shows now this below:


This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)





5) Probably doesn't hurt to update the "cpan" software by doing these three things, I typed:

a) sudo perl -MCPAN -e shell

b) install CPAN

c) reload cpan

To both upgrade CPAN.pm and run the new version without leaving the current session.




6) I uncompressed the ASSP_2.4.1_14200_install folder and put the "assp" folder in my Mac's "Applications" folder.

7) I downloaded assp.mod.zip from:

http://sourceforge.net/projects/assp/files

From the Files -> ASSP V2 multithreading -> ASSP V2 module installation -> ASSP V2 module installation


And uncompressed it and put it in the Mac's Applications/assp folder

8) I also downloaded mod_inst.pl.1.80.zip and uncompressed it and put it in the 'install' folder replacing the version currently there.

9) With Terminal I navigated to: /Applications/assp/assp.mod/install

and typed: perl mod_inst.pl

But it gave the error:

Perl 5.018002 ASSP2 module installation helper version 1.80
../../assp.cfg not found!
ASSP has to be installed and configured (proxyserver) before running this script!
This script has to run in the [ASSP_install_DIR]/assp.mod/install directory!
For example /opt/assp/assp.mod/install
Or call >perl modinst.pl [Full_Path_To_ASSP_Install_DIR]
Please correct this!



So I gave up on the perl mod_inst.pl command... Not knowing what to do.


10) I navigated in Terminal to: /Applications/assp

and typed: perl assp.pl




And assp started up.  I used a browser to go to my Mac's ip address:
192.168.1.22:55555

Username: root
Password: nospam4me

And I could see ASSP in my browser.


11) I clicked on "Info and Stats" at the top of the web page, then clicked on "Perl Modules"


And saw a bunch of perl modules not installed. Since I had not been able to run the command "perl mod_inst.pl" before since I got an error.


So I shut down ASSP, in the web interface, at the top, I clicked on "Shutdown/Restart" and clicked on the button "Proceed"



12) I went back to the terminal and navigated to:

/Applications/assp/assp.mod/install


And typed again the: perl mod_inst.pl


And the necessary modules started installing - and I typed "yes" whenever it asked me.




Guess I needed to start ASSP one time before running the command: perl mod_inst.pl so I would not get the error:

Perl 5.018002 ASSP2 module installation helper version 1.80
../../assp.cfg not found!
ASSP has to be installed and configured (proxyserver) before running this script!
This script has to run in the [ASSP_install_DIR]/assp.mod/install directory!
For example /opt/assp/assp.mod/install
Or call >perl modinst.pl [Full_Path_To_ASSP_Install_DIR]
Please correct this!




---------------------------------- Also ---------------------------------

In EIMS I changed SMTP port 25 to 125 and SMTP submit server from 587 to 1587.






In ASSP under "Network Setup" I have:

SMTP Listen Port (listenPort)
25

SMTP Destination (smtpDestination)
192.168.1.50:125

Second SMTP Listen Port (listenPort2)
587


No comments:

Post a Comment