diff --git a/docs/Remote_API_docs.txt b/docs/Remote_API_docs.txt
index a11c78dd496939b3cee19c25cef68ce88bdf57b3..6f1c4fdb66717e4ce1fc7d1aadc8028f7c2026c1 100644
--- a/docs/Remote_API_docs.txt
+++ b/docs/Remote_API_docs.txt
@@ -1,3 +1,3 @@
 
 
-The remote API documentation is in the remote_client/API-docs subfolder.
\ No newline at end of file
+The remote API documentation is in the remoting_client/API-docs subfolder.
diff --git a/server/plugins-available/mail_plugin_dkim.inc.php b/server/plugins-available/mail_plugin_dkim.inc.php
index 268c9c51fa3aae74dbf1ceddf09188128eb90dda..8edd657246b8e5dc885c3efdee251620c9b2d062 100644
--- a/server/plugins-available/mail_plugin_dkim.inc.php
+++ b/server/plugins-available/mail_plugin_dkim.inc.php
@@ -123,7 +123,15 @@ class mail_plugin_dkim {
 
             if (!is_dir($mail_config['dkim_path'])) {
                 $app->log('DKIM Path '.$mail_config['dkim_path'].' not found - (re)created.', LOGLEVEL_DEBUG);
-                mkdir($mail_config['dkim_path'], 0750, true);
+				$amavis_user=exec('grep -o "^amavis:\|^vscan:" /etc/passwd');
+				if(!empty($amavis_user)) {
+					$amavis_user=rtrim($amavis_user, ":");
+					mkdir($mail_config['dkim_path'], 0750, true);
+					exec('chown '.$amavis_user.' /var/lib/amavis/dkim');
+					unset $amavis_user;
+				} else {
+					mkdir($mail_config['dkim_path'], 0755, true);
+				}
             }
 
 			if (!is_writeable($mail_config['dkim_path'])) {