Here are the scripts Mike Delp sent with the change from Rodopi added at the
end.
This event script file is for configuration of IMAIL 6.0
Edited and abridged from Text produced by Jason Bogart [EMAIL PROTECTED]
[EMAIL PROTECTED] at Rodopi by Mike Delp Database Computer Group, Inc.
<[EMAIL PROTECTED]>
Customization from this text file is as follows
do a search and replace through this document to make the process easier
A. change the working directory of Imail from D:\IMAIL to your directory
B. change the password and the ftp location below
1. change the password to your choice of password for rodopiftp
2. change yourftpdomain.com to your ftp location on the Imail server
ftp://rodopiftp:[EMAIL PROTECTED] with your information
C. Change the information to your mail domain below yourdomain.com with your
information
You can then save this file, and use "copy" and "paste" to insert the event
script commands
Test Stage: This is so you know how the Event Scripts Operate
1.Save the following files to your DESKTOP on the Imail server
2. http://www.rodopi.com/eventscripts/rodopi.cmd
3. http://www.rodopi.com/eventscripts/process.cmd
4. http://www.rodopi.com/eventscripts/sleep.exe
5. Run Rodopi.cmd (Have it showing the Black screen on the desktop so you
can see what is happening)
- When this is first run, rodopi.cmd creates a directory called \logdir
6. Right-Mouse-Click | New | New Text Document
7. Simply name this file _insert_
- What happens is: the Rodopi.cmd file runs every 10 seconds
- Any file that starts with _insert_ _suspended_ _released_ _update_ or
_delete_ is actioned
- Get renamed to a .BAT file
- The file is executed
- The file is copied to the \logdir
- The file is deleted from this directory
- So if a file exists in the working directory, it is run through this
procedure
Now that you can see this works and you know how this works.
Setup the FTP connection
On the server with IMAIL installed, You should also have an FTP server
First make sure you have a user that has Read & Write access level to the
IMAIL Directory
Start the program: User Manager For Domains: START | Programs |
Administrative Tools | User Manager for Domains
Create a user called rodopiftp with password {you choose}| Add | Close
Start the program: Internet Service Manager: START | Programs | Windows NT
4.0 Option Pack | Microsoft Internet Information Server | Internet Service
Manager Click onto the 'Default FTP Site' | Right Mouse Click | New |
Virtual
Directory Alias To Be Used... | IMAIL | <NEXT> | D:\IMAIL (Browse to get
yours, if different) | <NEXT> | Add: Allow Write Access | <FINISH>
To gain access to this directory remotely use this syntax
ftp://rodopiftp:[EMAIL PROTECTED]/imail
This is what you enter as the file URL for all your IMAIL scripts
Enter your Scripts into Rodopi
Start the program: RODOPI Administration Menu: START | Programs | Rodopi |
Rodopi Administration Menu
Click on Event Scripts: we have 5 event scripts to add
In Select script filter
Script type: File Script
Event Type: Inserted
Account type: Dial-in
Then Click on NEW File | Order Enter 10
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_insert_email_ as the
File URL
--
D:\IMAIL\adduser -u @New_UserName@ -h yourdomain.com -n "@New_RealName@" -p
@New_Password@
--
Save
Script type: File Script
Event Type: Deleted
Account type: Dial-in
Then Click on NEW File | Order Enter 40
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_delete_email_ as the
File URL
--
D:\IMAIL\adduser -k -u @Old_UserName@ -h yourdomain.com
--
Save
Script type: File Script
Event Type: Updated
Account type: Dial-in
Then Click on NEW File | Order Enter 30
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_update_email_ as the
File URL
--
D:\IMAIL\adduser -m @Old_UserName@ -p @New_Password@
--
Save
Script type: File Script
Event Type: Suspended
Account type: Dial-in
Then Click on NEW File | Order Enter 30
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_suspended_email_ as the
File URL
--
D:\IMAIL\adduser -m @Old_UserName@ -active
--
Save
Script type: File Script
Event Type: Released
Account type: Dial-in
Then Click on NEW File | Order Enter 30
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_released_email_ as the
File URL
--
D:\IMAIL\adduser -m @Old_UserName@ -p @Old_Password@ +active
--
Save
Start your event scripts service
Goto Rodopi | Main Menu | Filter Search | By Criteria | Procedures | Search
Click on the Radio button next to Send Event Scripts | Run
"The Send Events Scripts task will be executed in the next 15 seconds | OK
Note the Last activity time on the Event Scripts | Click on the SEARCH
button - the time should change
Syntax for the Imail 6.0 COMMAND LINE ADDUSER IS
adduser -u userid [-h hostname] [-n "full name"] [-p password] [-q]
[options]
adduser -mod -u userid [-h hostname] [-n "full name"] [-p password]
[options]
adduser -kill -u userid [-h hostname]
options: -chgpass -info -web -active
+chgpass +info +web +active
-q = override alias check
UPDATE MESSAGE FOLLOWS:
__________________________________________________________
From: Support at Rodopi <[EMAIL PROTECTED]>
To: Tech Support <[EMAIL PROTECTED]>
Cc: Support <[EMAIL PROTECTED]>
Date: Tuesday, February 22, 2000 11:57 AM
Subject: Re: Help (the IMAIL Event script documentation)
Slight error in the docs, the original script text was wrong
Edit your Insert Script
Script type: File Script
Event Type: Inserted
Account type: E-mail
>Then Click on Edit | Order Enter 10
ftp://rodopiftp:[EMAIL PROTECTED]/imail/_insert_email_ as the File
URL
In the Area box Copy the following between the-lines BUT Replace
mail.yourhost.net for YOUR mail server name
--
C:\IMAIL\adduser -u @New_PopName@ -h mail.yourhost.net -n
"@New_RealName@" -p @New_Password@
--
Save
System Engineer
[EMAIL PROTECTED]
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.