]> git.pld-linux.org Git - packages/python-dkimpy-milter.git/blob - config.patch
- do not enable tables by default, empty tables will prevent daemon from
[packages/python-dkimpy-milter.git] / config.patch
1 diff -ur dkimpy-milter-1.2.2.orig/etc/dkimpy-milter.conf dkimpy-milter-1.2.2/etc/dkimpy-milter.conf
2 --- dkimpy-milter-1.2.2.orig/etc/dkimpy-milter.conf     2022-05-29 21:57:00.932051546 +0200
3 +++ dkimpy-milter-1.2.2/etc/dkimpy-milter.conf  2022-05-29 22:45:43.738141589 +0200
4 @@ -1,48 +1,45 @@
5 -# This is a basic configuration that can easily be adapted to suit a standard
6 -# installation. For more advanced options, see dkimpy-milter.conf(5).
7 +# Name of the file where the filter should write its pid before beginning
8 +# normal operations.
9 +PidFile                        /var/run/dkimpy-milter.pid
10 +
11 +# Run as user, may include a group as well, separated from the userid by
12 +# a colon.
13 +UserID                 dkimpy-milter:postfix
14  
15  # Log to syslog
16  Syslog                 yes
17  
18 +# Syslog facility
19 +SyslogFacility         mail
20 +
21 +# Log successfull signing and verification
22 +SyslogSuccess          yes
23 +
24  # Required to use local socket with MTAs that access the socket as a non-
25  # privileged user (e.g. Postfix)
26  UMask                  007
27  
28 -# Sign for example.com with key in /etc/dkimpy-milter/dkim.key using
29 -# selector '2007' (e.g. 2007._domainkey.example.com)
30 -#Domain                        example.com
31 -#KeyFile               /etc/dkimpy-milter/example.com.key
32 -#Selector              default
33 -
34 -# Commonly-used options; the commented-out versions show the defaults.
35 -#Canonicalization      relaxed/simple
36 -#Mode                  sv
37 -
38 -# ##  Socket socketspec
39 -# ##
40 -# ##  Names the socket where this filter should listen for milter connections
41 -# ##  from the MTA.  Required.  Should be in one of these forms:
42 -# ##
43 -# ##  inet:port@address           to listen on a specific interface
44 -# ##  inet:port                   to listen on all interfaces
45 -# ##  local:/path/to/socket       to listen on a UNIX domain socket
46 -#
47 -#Socket local:/var/spool/postfix/dkimpy/dkimpy-milter.sock
48 -#
49 -#Socket                        inet:8892@localhost
50 +# Operating mode
51 +Mode                   sv
52  
53 -##  PidFile filename
54 -###      default /var/run/dkimpy-milter.pid
55 -###
56 -###  Name of the file where the filter should write its pid before beginning
57 -###  normal operations.
58 -#
59 -PidFile                        /var/run/dkimpy-milter.pid
60 +# Canonicalization method(s) to be used when signing
61 +Canonicalization       relaxed/simple
62  
63 -##  Userid userid
64 -###      default dkimpy-milter
65 -###
66 -###  Change to user "userid" before starting normal operation?  May include
67 -###  a group ID as well, separated from the userid by a colon.
68 +# Names the socket where this filter should listen for milter connections
69 +# from the MTA. Required.  Should be in one of these forms:
70  #
71 -UserID                 dkimpy-milter
72 +# inet:port@address           to listen on a specific interface
73 +# inet:port                   to listen on all interfaces
74 +# local:/path/to/socket       to listen on a UNIX domain socket
75 +#
76 +#Socket local:/var/spool/postfix/dkimpy/dkimpy-milter.sock
77 +Socket                 inet:8892@localhost
78 +
79 +# Path to key tables and signing table
80 +#KeyTable              /etc/dkimpy-milter/KeyTable
81 +#KeyTableEd25519               /etc/dkimpy-milter/KeyTablEed25519
82 +#SigningTable          /etc/dkimpy-milter/SigningTable
83 +
84 +# Milter macros telling us what to do (sign or verify)
85 +MacroList              daemon_name|ORIGINATING
86 +MacroListVerify                daemon_name|VERIFYING
This page took 0.064199 seconds and 3 git commands to generate.