Add config file parsing module and initial option set

This commit is contained in:
Scott Kitterman
2018-02-11 20:52:30 -05:00
parent f804f7fbea
commit 9246387434
2 changed files with 166 additions and 12 deletions
+3 -12
View File
@@ -18,9 +18,8 @@ Selector default
# Commonly-used options; the commented-out versions show the defaults.
#Canonicalization simple
#Mode sv
#SubDomains no
# Socket smtp://localhost
# Socket local:/var/run/dkimpy-milter/dkimpy-milter.sock
#
# ## Socket socketspec
# ##
@@ -34,23 +33,15 @@ Selector default
Socket inet:8892@localhost
## PidFile filename
### default (none)
### default /var/run/dkimpy-milter/dkimpy-milter.pid
###
### Name of the file where the filter should write its pid before beginning
### normal operations.
#
PidFile /var/run/dkimpy-milter/dkimpy-milter.pid
# Always oversign From (sign using actual From and a null From to prevent
# malicious signatures header fields (From and/or others) between the signer
# and the verifier. From is oversigned by default in the Debian pacakge
# because it is often the identity key used by reputation systems and thus
# somewhat security sensitive.
OversignHeaders From
## Userid userid
### default (none)
### default dkimpy-milter
###
### Change to user "userid" before starting normal operation? May include
### a group ID as well, separated from the userid by a colon.