* Documentation update

* Fixed wrong default value (see #296)
This commit is contained in:
Antoine Nguyen
2012-09-24 23:11:30 +02:00
parent f0795c45ee
commit c537e05f6e
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -43,6 +43,11 @@ This plugin provides a simple management frontend for `amavisd-new
* Per domain customization (using policies): specify how amavisd-new
will handle traffic
.. note::
The per-domain policies feature only works for new
installations. Currently, you can't use modoboa with an existing
database (ie. with data in *users* and *policies* tables).
.. note::
This plugin requires *amavisd-new* version **2.7.0** or higher. If
+1 -1
View File
@@ -132,7 +132,7 @@ class Policy(models.Model):
spam_admin = models.CharField(max_length=192, blank=True, null=True)
spam_subject_tag = models.CharField(max_length=192, blank=True, null=True)
spam_subject_tag2 = models.CharField(
ugettext_lazy("Spam marker"), default='',
ugettext_lazy("Spam marker"), default=None,
max_length=192, blank=True, null=True,
help_text=ugettext_lazy("Modify spam subject using the specified text. Choose 'default' to use global settings.")
)