This look very good Travis. Some observations:
Requirement/recommendation: I would recommend the current latest
stable version of Perl for Win32. It at a
minimum has to be version 5.8.x, otherwise there is known issues with
older versions (personally, I think it would be nice for ASSP to check
and not run if with any versions prior to 5.8 at this point).
Recommendation: I think a script should be provided for module
installation. If not a separate script as an executable file, at least
the scripted lines included in the documentation that they can
copy/paste at a command prompt.
Non-requirement: win32-daemon is not a
must-have for ASSP to run. win32-daemon
is only useful for creating a system service without having to pay for
a 3rd-party utility to do it for you.
Recommendation: I have an alternate set of directories that I would
recommend to create what I consider a "cleaner" install, that are a
part of my
installation-script based installations. "Cleaner" meaning that there
is less
clutter in the main ASSP directory, and items are stored in a more
organized fashion. If we are talking about a "quick-start
installation", this might also be very useful to provide in script
form. Here is a cut/past of that portion of my current script:
----------
:PREREQASSPDIRS
ECHO - creating ASSP directory structure..
CALL :DIRCHECK %ASSPLOC%\bin
CALL :DIRCHECK %ASSPLOC%\bin\source
CALL :DIRCHECK %ASSPLOC%\corpus\
CALL :DIRCHECK %ASSPLOC%\corpus\errors
CALL :DIRCHECK %ASSPLOC%\corpus\errors\notspam
CALL :DIRCHECK %ASSPLOC%\corpus\errors\spam
CALL :DIRCHECK %ASSPLOC%\corpus\normal
CALL :DIRCHECK %ASSPLOC%\corpus\normal\notspam
CALL :DIRCHECK %ASSPLOC%\corpus\normal\spam
CALL :DIRCHECK %ASSPLOC%\corpus\pollution
CALL :DIRCHECK %ASSPLOC%\corpus\viruses
CALL :DIRCHECK %ASSPLOC%\databases
CALL :DIRCHECK %ASSPLOC%\images
CALL :DIRCHECK %ASSPLOC%\lists
CALL :DIRCHECK %ASSPLOC%\maillog
CALL :DIRCHECK %ASSPLOC%\notes
CALL :DIRCHECK %ASSPLOC%\pb
CALL :DIRCHECK %ASSPLOC%\reports
GOTO :EOF
:DIRCHECK
IF NOT EXIST %1\. CALL :MDIR %1
GOTO :EOF
:MDIR
MD %1
GOTO :EOF
----------
Question: I am not aware of the creation of
c:\assp\spamdb.bak being any type of installation requirement.
Recommendation: ASSP be also be started and stopped from the command
line:
NET START ASSPSMTP
NET STOP ASSPSMTP
Travis Forghani wrote:
Micheal,
Pasted below is the instructions that are part of the Quick Start
Guide. They are a rough draft.
Installation
(Windows)
-
Download
and install Active Perl; As you move through the installaton wizard,
make sure option, “Add Perl to the Path environment variable”, is
selected
-
Click
on start/programs/activestate perl 5.x.x build ###/perl package manager.
-
At
the
PPM cmd line type query * and make a note of which of the following
modules are not installed (Note: all modules listed below must
be installed for ASSP to function correctly):
-
compress-zlib
-
digest-md5-file
-
email-valid
-
file-readbackwards
-
mail-spf-query
-
mail-srs
-
net-dns
-
net-rblclient
-
netaddr-ip
-
perl-ldap
-
time-hires
-
win32-daemon
-
At
the PPM cmd line type install and then the moudle name (as shown above)
to install the modules that are not installed. The install command by
default will install the modules and all dependencies. The win32-daemon
module must be installed using the following command: install
http://www.roth.net/perl/packages/win32-daemon.ppd.
-
At the PPM cmd line type upgrade
-install -precious to update all installed packages.
-
Download ASSP and
extract it to c:\assp
-
Now create the
following five directories:
c:\assp\spam, c:\assp\notspam, c:\assp\errors, c:\assp\errors\spam,
c:\assp\errors\notspam.
-
Now create the
following file:
c:\assp\spamdb.bak
-
Open the command
line and traverse to the c:\assp directory.
-
Execute the
following command:
perl addservice.pl -i c:\assp\assp.pl c:\assp
-
Click on Start/Settings/Control
Panel/Administrative Tools/Component Services/Services and start the
Anti-Spam Smtp Proxy service; set the ASSP service to start
automatically.
-
Open up your web browser and
point
it to 127.0.0.1:55555; at the login screen the password is nospam4me.
sincerely,
Travis Forghani
IT Administrator
Bowman Enterprises, Inc.
Cell: 919-795-9298
Office: 919-894-3662, Ext. 34
[EMAIL PROTECTED]
This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please notify me immediately.
Micheal Espinola Jr wrote:
Travis Forghani wrote:
Maybe we can include your script in the quick start guide or I can
write a tutorial on installing the modules using the Perl Install
command. If I go the route of writing the steps needs to install the
modules and force all dependencies, I'll need to become more familiar
with the Perl Install command.
Did you install your modules originally from CPAN, or did you use the
PPM like how my script works?
My script is only applicable to Win32 using the PPM - which is really
the only process I am particularly familiar with. Someone *NIX savvy
should provide the details for installing modules with dependencies in
a *NIX environment.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
|
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user