aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSina Ghaderi <32870524+Sina-Ghaderi@users.noreply.github.com>2021-03-19 09:14:21 +0330
committerGitHub <noreply@github.com>2021-03-19 09:14:21 +0330
commitbbc1b8e57ce558e3eb1ba81e0a2aa6842b42c443 (patch)
treeec817157e38fad2b1f0616725f97f4bf62a6b60e
parentb55fa553d7afe163c55ae8848281aa382ab0d9ba (diff)
Update fixrate.conf
-rw-r--r--fixrate.conf8
1 files changed, 2 insertions, 6 deletions
diff --git a/fixrate.conf b/fixrate.conf
index ee4959d..85ad08a 100644
--- a/fixrate.conf
+++ b/fixrate.conf
@@ -16,14 +16,12 @@ sql_password = Pass1234
## sql server address 127.0.0.1 ....
sql_address = 127.0.0.1
-
## Default rate limit plan for users that not exists in database yet.
## first parameter is number of emails and the next one is time interval (Seconds) between user counter reset
## following parameters determine that users only can send 10 e-mails per 120 seconds
## note that if you change specific user by fixrate users command, this not effect that user anymore.
default_ratelimit = 10 120
-
## fixrate listening mode can be only unix or inet, if you want to connect this service over TCP protocol
## should use inet, for using unix socket files should unix be used.
listener_type = unix
@@ -33,13 +31,11 @@ listener_type = unix
## if you specify check_policy_service unix:/fixrate/fixrate.sock in main.cf file, postfix only looking
## for socket file /ratelimit/fixrate.sock under /var/spool/postfix/ directory.
## so socket file should be under /var/spool/postfix/
-## REMEMBER to mkdir directory /var/spool/postfix/ratelimit/ first
+## REMEMBER to mkdir directory /var/spool/postfix/fix/ first
-socket_path = /var/spool/postfix/ratelimit/fixrate.sock
+socket_path = /var/spool/postfix/fix/fixrate.sock
## socket file should be read and writable by both fixrate and postfix services.
socket_perm = 666
-
-
## config for inet listener type ignored if use unix
listen_addr = 127.0.0.1:9984

Snix LLC Git Repository Holder Copyright(C) 2022 All Rights Reserved Email To Snix.IR