This commit is contained in:
tonio
2009-06-19 16:24:23 +02:00
parent c7a9e07d9d
commit fc74d34c1d
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,3 @@
:q
Installation
============
@@ -163,6 +162,10 @@ Then, create new map files with the following content::
hosts = 127.0.0.1
query = SELECT full_address, autoreply_address FROM postfix_autoreply_alias WHERE full_address='%s'
Finally, edit the shell script 'autoreply' located inside the
'scripts' directory and change the value of BASEDIR. (just put absolute path
of the directory where mailng is installed)
NB: auto-reply messages are just sent one time per sender for a
pre-defined time period. By default, this period is equal to 1 day
(86400s), you can adjust this value by modifying the AUTOREPLY_TIMEOUT
+2 -1
View File
@@ -1,7 +1,8 @@
#!/bin/sh
BASEDIR=/home/tonio
BASEDIR=/var/www
export PYTHONPATH=$BASEDIR
export DJANGO_SETTINGS_MODULE=mailng.settings
#export PYTHON_EGG_CACHE=/tmp
$BASEDIR/mailng/scripts/autoreply.py $1 $2