Browse Source

version 1.1

Clomode 13 years ago
parent
commit
7281b02bb3
2 changed files with 6 additions and 10 deletions
  1. 4 9
      README.md
  2. 2 1
      goguerrilla.conf.sample

+ 4 - 9
README.md

@@ -100,8 +100,6 @@ Rename goguerrilla.conf.sample to goguerrilla.conf
 
 Setup the following database:
 
-
-
 Configuration
 ============================================
 The configuration is in strict JSON format. Here is an anotated configuration
@@ -122,9 +120,10 @@ The configuration is in strict JSON format. Here is an anotated configuration
 	    "MYSQL_HOST":"127.0.0.1:3306", // database connect
 	    "MYSQL_PASS":"$ecure1t", // database connection pass
 	    "MYSQL_USER":"gmail_mail", // database username
-	    "GM_CONN_BACKLOG":"100", // connection backlog queue
 	    "GM_MAX_CLIENTS":"500", // max clients that can be handled
-	    "SGID":"508", // group id of the user from /etc/passwd
+		"NGINX_AUTH_ENABLED":"N",// Y or N
+		"NGINX_AUTH":"127.0.0.1:8025", // If using Nginx proxy, choose an ip and port to serve Auth requsts for Nginx
+	    "SGID":"508",// group id of the user from /etc/passwd
 		"GUID":"504" // uid from /etc/passwd
 	}
 
@@ -145,9 +144,7 @@ The following Nginx proxy configuration:
 
 
 	mail {
-	
-	        auth_http 127.0.0.1:8025/; # This is the URL to GoGuerrilla's http service which tells Nginx where to proxy the traffic to 
-									
+	        auth_http 127.0.0.1:8025/; # This is the URL to GoGuerrilla's http service which tells Nginx where to proxy the traffic to 								
 	        server {
 	                listen  5.9.7.183:25;
 	                protocol smtp;
@@ -168,9 +165,7 @@ The following Nginx proxy configuration:
 					# TLS off unless client issues STARTTLS command
 	                starttls on;
 	                proxy on;
-	
 	        }
-	
 	}
 	
 Assuming that Guerrilla SMTPd has the following configuration settings:

+ 2 - 1
goguerrilla.conf.sample

@@ -15,8 +15,9 @@
     "MYSQL_HOST":"127.0.0.1:3306",
     "MYSQL_PASS":"$ecure1t",
     "MYSQL_USER":"gmail_mail",
-    "GM_CONN_BACKLOG":"100",
     "GM_MAX_CLIENTS":"500",
+	"NGINX_AUTH_ENABLED":"N",
+	"NGINX_AUTH":"127.0.0.1:8025",
     "SGID":"508",
 	"GUID":"504"
 }