mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Bugfix.
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user