diff --git a/en_US/faq/customize.maildir.path.md b/en_US/faq/customize.maildir.path.md new file mode 100644 index 00000000..355193be --- /dev/null +++ b/en_US/faq/customize.maildir.path.md @@ -0,0 +1,23 @@ +# Customize maildir path + +iRedAdmin offers several settings to customize the maildir path, default values +are stored in file `libs/default_settings.py`, if you need to change them, +please write your own setting in iRedAdmin main config file `settings.py`, so +that your settings will be kept after upgrading iRedAdmin. + +``` +# It's RECOMMEND for better performance. Samples: +# - hashed: domain.ltd/u/s/e/username-2009.09.04.12.05.33/ +# - non-hashed: domain.ltd/username-2009.09.04.12.05.33/ +MAILDIR_HASHED = True + +# Prepend domain name in path. Samples: +# - with domain name: domain.ltd/username/ +# - without: username/ +MAILDIR_PREPEND_DOMAIN = True + +# Append timestamp in path. Samples: +# - with timestamp: domain.ltd/username-2010.12.20.13.13.33/ +# - without timestamp: domain.ltd/username/ +MAILDIR_APPEND_TIMESTAMP = True +``` diff --git a/html/customize.maildir.path.html b/html/customize.maildir.path.html new file mode 100644 index 00000000..ea6ba006 --- /dev/null +++ b/html/customize.maildir.path.html @@ -0,0 +1,41 @@ + + + + Customize maildir path + + + + +

Customize maildir path

+

iRedAdmin offers several settings to customize the maildir path, default values +are stored in file libs/default_settings.py, if you need to change them, +please write your own setting in iRedAdmin main config file settings.py, so +that your settings will be kept after upgrading iRedAdmin.

+
# It's RECOMMEND for better performance. Samples:
+# - hashed: domain.ltd/u/s/e/username-2009.09.04.12.05.33/
+# - non-hashed: domain.ltd/username-2009.09.04.12.05.33/
+MAILDIR_HASHED = True
+
+# Prepend domain name in path. Samples:
+# - with domain name: domain.ltd/username/
+# - without: username/
+MAILDIR_PREPEND_DOMAIN = True
+
+# Append timestamp in path. Samples:
+# - with timestamp: domain.ltd/username-2010.12.20.13.13.33/
+# - without timestamp: domain.ltd/username/
+MAILDIR_APPEND_TIMESTAMP = True
+

All documents are available in BitBucket repository, and published under Creative Commons license. If you found something wrong, please do contact us to fix it. + \ No newline at end of file diff --git a/html/index.html b/html/index.html index 89a2799b..7c5e31d0 100644 --- a/html/index.html +++ b/html/index.html @@ -169,6 +169,7 @@

  • iRedAdmin-Pro: Translate iRedAdmin to your local language
  • Explanation of Amavisd SQL database
  • Backup and restore
  • +
  • Customize maildir path
  • Locations of configuration and log files of mojor components
  • All documents are available in BitBucket repository, and published under Creative Commons license. If you found something wrong, please do contact us to fix it.