Souper Mail Utility Integration

Overview;

You want a program to

I have used Soupermail for file uploads on E-smith (SME-Server) versions 4, 5, 6 & 7 in Primary ibay only. Even if you want to run it from elsewhere please do it from here first so you know it in fact works. If you figure out how to have it work from an ibay please write it up or email me so I can post it. The Perl included with e-smith/sme works fine.

 Download and install MimeLite & its instructions

MIME::Lite is a Perl module that Soupermail uses to generate properly
formatted emails. It is available from:
 
   http://www.cpan.org/modules/by-module/MIME 
   For people wanting to install for UNIX: (works with SME server) 
   Download and extract the files onto your webserver, and follow the
   instructions in the README file.
        
I used http://www.cpan.org/modules/by-module/MIME/MIME-Lite-3.01.tar.gz  
 
The above file can be extracted with Winrar available for trial at http://www.rarlab.com/
 
I simply extracted to cgi-bin on the server and then logged on directly on the server as root.
Typed MC to use the graphical Midnight Commander and used the navigation features to change to
the Ibay where the extracted files were. Then quit Midnight Commander with a F10 
Then typed the following remembering Linux is case sensitive
Please verify the Capitalization of Makefile.pl, if different correct spelling accordingly.
 
perl Makefile.PL
make test
make install TEST_VERBOSE=1
 
Some installation and test will happen and you should get all tests successful.
You are finished with setting up MimeLite
___________________________________
 
Download and install Soupermail & its instructions which includes a lesson on creation for
of upload forms and how to prevent Java scripts being ran in your forms, compromising your server.
Soupermail is available at http://soupermail.sourceforge.net/

Download Soupermail from here http://soupermail.sourceforge.net/download.html

Run the simple method of install using souperfinder.html placed in your primary/html directory and souperinstall.pl and soupermail.pl in your primary cgi-bin directory and chmod 755 them.  Then type the souperfinder.html location into your web browser from another computer.  Use the paranoid setting, it runs correctly if in the primary/html directory and if you remember to chmod 755 it and will generate a file you then save by copying and pasting into a file with the name soupermail.pl
and place this file in your primary cgi-bin directory. 

You will notice a few problems with the text file created.

It points to a directory that doesn't exist. Create that directory.
You must chmod 755 soupermail.pl or you will get a error immediately on trying to do a upload.
Also adjust the max file size and time out to suit your needs.

Create a sample

formupload.htm

and

formupload.txt

 

 file using the tutorial or use mine provided at http://e-smith.communityprinters.com and modify to suit your tastes. Make sure the text file has the mimeon setting to prevent Java scripts being ran from within your forms. And you also need the soupermail.allow file within the same directory.

Once you have successfully installed soupermail, remove the installer files souperinstall.pl  from cgi-bin. (script and HTML file). THIS IS IMPORTANT as it will stop people from seeing your server configuration and you won't interfere with other people installing Soupermail.