Changes between Version 4 and Version 5 of Email2tracInstallation/Windows


Ignore:
Timestamp:
03/21/08 23:58:25 (15 years ago)
Author:
nicole.swan@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Email2tracInstallation/Windows

    v4 v5  
    5151 * email2trac.conf
    5252
    53 Put these files in the directory of your choice, e.g. C:/projects/email2trac.  Rename email2trac.py.in to email2trac.py and delete_spam.py.in to delete_spam.py.in.  A couple edits are necessary for email2trac.py to work in the Windows environment.
     53Put these files in the directory of your choice, e.g. C:/projects/email2trac.  Rename email2trac.py.in to email2trac.py and delete_spam.py.in to delete_spam.py.  A couple edits are necessary for email2trac.py to work in the Windows environment.
    5454
    5555 1. Specify the email2trac configuration file path (around line 1060 in version 0.13).  The specificity of the path required depends on how you are retrieving emails -- if you are using fetchmail, you will need to specify the complete path (i.e. C:/projects/email2trac/email2trac.conf).
     
    6060
    6161 2. (For versions prior to 0.13 only) Comment out the syslog import (around line 95 in version 0.10).
    62 {{{ #import syslog }}}
     62{{{
     63#import syslog
     64}}}
    6365
    6466 === Email2trac Configuration ===
    6567
    66 There are many [https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration configuration options] for email2trac, but the following are necessary for email2trac to work properly
     68There are many [https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration configuration options] for email2trac, but the following are necessary for email2trac to work properly.
    6769{{{
    6870 project: C:\projects\trac\environmentname
     
    7375}}}
    7476
    75 The tmpdir should already exist.  The trac_version variable is important if you're running trac 0.11 so that you don't receive an error like "str object is not callable".  See [https://subtrac.sara.nl/oss/email2trac/ticket/34] for more information about the background of this one.
     77The tmpdir can be anything, but should already exist.  The trac_version variable is important if you're running trac 0.11 so that you don't receive an error like "str object is not callable".  See [https://subtrac.sara.nl/oss/email2trac/ticket/34] for more information about the background of this one.
    7678 
    7779 == Process Automation ==
     
    8082
    8183 === Built-in Windows SMTP server ===
     84
     85Create a batch file (e.g. C:/projects/email2trac/email2trac.bat) to process emails in the "drop" folder.
     86{{{
     87@echo off
     88
     89for %%f in (C:\Inetpub\mailroot\Drop\*.eml) do python email2trac.py < %%f
     90del C:\Inetpub\mailroot\Drop\*.eml
     91}}}
     92
     93Change the paths or email file extension as necessary to reflect your setup.  Then use Windows Scheduled Tasks to run this batch file on an automated basis.
    8294
    8395 === Fetchmail ===