diff --git a/modoboa/core/management/commands/generate_postfix_maps.py b/modoboa/core/management/commands/generate_postfix_maps.py index 474a2f6a8..b76fb289b 100644 --- a/modoboa/core/management/commands/generate_postfix_maps.py +++ b/modoboa/core/management/commands/generate_postfix_maps.py @@ -79,7 +79,7 @@ class Command(BaseCommand): """Return map file template.""" tplcontent = MAP_FILE_TEMPLATE if dbtype == "sqlite": - tplcontent += """dbpath = {{ dbname }} + tplcontent += """dbpath = {{ dbname|safe }} query = {{ query|safe }} """ else: