On 06-Sep-2001 CLEMENT Francis wrote:
> Humm...
> 
> After some problems with xmail 'special' @@TMPFILE format i had to modify
> some batchs/scripts and add one to enable ecartis/listar last snapshots to
> run ok with xmail.
> 
> Files given here are for WIN2K platform. I will give Linux/FreeBsd scripts
> as soon as i write and test them.
> WinNT 4.0 users : modify all the batchs by replacing "%~3.tmp" (cotes
> included) with %3.tmp (no cotes and no tilde) since WinNT 4.0 cmd.exe don't
> know about these new Win2k parametric vars.
> 
> Refers to my precedent mail in this list tilted 'Mailinglist manangers.
> Ecartis/Listar BASIC setup'  for general setup.
> 
> FIRST we need a 'conversion utility' written here in jscript that convert
> ;-) xmail @@TMPFILE/@@FILE 'special' format to 'standard' msg files :
> xmailcvt.js
> (attached file) 
> 
> SECOND some new batchs files :
> You need to replace any occurence of <xmailcvtdir> by full path of directory
> where xmailcvt.js reside
> and any occurence of <ecartisdir> by full path of directory where
> ecartis.exe/listar.exe reside
> 
> Win32 batch listserver.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -admins %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch send.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -send %2 -file "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch request.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -request %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch repost.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -approved %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch admins.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -admins %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch moderators.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -moderators %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> Win32 batch bounce.cmd :
> 
> @echo off
> if exist %3 <xmailcvtdir>\xmailcvt.js %3
> if exist %3 del %3
> if exist "%~3.tmp" <ecartisdir>\ecartis -config %1 -bounce %2 -file
> "%~3.tmp"
> if exist "%~3.tmp" del "%~3.tmp"
> exit
> 
> THIRD on WIN2K/WINNT systems :
> VERIFY that a 'queue' directory exist in the directory specified by the
> ecartis/listar var listserver-data in ecartis.cfg/listar.cfg

Thank You Francis.
Could someone setup an HTML page with this content ?



PS: Do not use the .js script on Unix coz it won't work ( CRLF ==> LF )


- Davide

Reply via email to