Browse Source

Merge pull request #118 from andryyy/dev

Dev merge
André Peters 8 years ago
parent
commit
99f631c729
2 changed files with 3 additions and 2 deletions
  1. 1 1
      data/conf/rspamd/lua/rspamd.local.lua
  2. 2 1
      docs/install.md

+ 1 - 1
data/conf/rspamd/lua/rspamd.local.lua

@@ -33,7 +33,7 @@ rspamd_config:register_post_filter(function(task)
   local rcpt = user .. '@' .. domain
   local authdomain = auth_domain_map:get_key(domain)
 
-  if tagged_rcpt[1].options[1] then
+  if tagged_rcpt then
     local tag = tagged_rcpt[1].options[1]
     rspamd_logger.infox("found tag: %s", tag)
     local action = task:get_metric_action('default')

+ 2 - 1
docs/install.md

@@ -35,8 +35,9 @@ nano mailcow.conf
 ```
 If you plan to use a reverse proxy, you can, for example, bind HTTPS to 127.0.0.1 on port 8443 and HTTP to 127.0.0.1 on port 8080.
 
-5\. Run the composer file. It will pull images and build containers.
+5\. Pull the images and run the composer file. The paramter `-d` will start mailcow: dockerized detached:
 ```
+docker-compose pull
 docker-compose up -d
 ```