File opendkim-2.9.2_default_config.patch of Package opendkim

Index: opendkim-2.10.3/opendkim/opendkim.conf.sample
===================================================================
--- opendkim-2.10.3.orig/opendkim/opendkim.conf.sample
+++ opendkim-2.10.3/opendkim/opendkim.conf.sample
@@ -108,7 +108,7 @@
 ##  operation.  Thus, cores will be dumped here and configuration files
 ##  are read relative to this location.
 
-# BaseDirectory		/var/run/opendkim
+BaseDirectory		/run/opendkim
 
 ##  BodyLengthDB dataset
 ##  	default (none)
@@ -159,7 +159,7 @@
 ##  Specify for which domain(s) signing should be done.  No default; must
 ##  be specified for signing.
 
-Domain			example.com
+# Domain			example.com
 
 ##  DomainKeysCompat { yes | no }
 ##  	default "no"
@@ -244,7 +244,7 @@ Domain			example.com
 ##  SigningTable and KeyTable are used.  No default; must be specified for 
 ##  signing if SigningTable/KeyTable are not in use.
 
-KeyFile			/var/db/dkim/example.private
+# KeyFile			/var/lib/opendkim/example.private
 
 ##  KeyTable dataset
 ##  	default (none)
@@ -431,7 +431,8 @@ KeyFile			/var/db/dkim/example.private
 ##  Name of the file where the filter should write its pid before beginning
 ##  normal operations.
 
-# PidFile		filename
+# DO NOT CHANGE IT IS REFERENCED IN THE INIT SCRIPTS.
+PidFile		/var/run/opendkim/opendkim.pid
 
 ##  POPDBFile dataset
 ##  	default (none)
@@ -569,7 +570,7 @@ KeyFile			/var/db/dkim/example.private
 ##  The name of the selector to use when signing.  No default; must be
 ##  specified for signing.
 
-Selector		my-selector-name
+# Selector		my-selector-name
 
 ##  SenderHeaders 	dataset
 ##  	default (none)
@@ -657,7 +658,7 @@ Selector		my-selector-name
 ##  inet:port			to listen on all interfaces
 ##  local:/path/to/socket	to listen on a UNIX domain socket
 
-Socket			inet:port@localhost
+Socket			local:/var/run/opendkim/opendkim.socket
 
 ##  SoftwareHeader { yes | no }
 ##  	default "no"
@@ -741,7 +742,7 @@
 ## DNS queries and applying the DNSSEC protocol.  See the Unbound documentation
 ## at http://unbound.net for the expected format of this file.
 
-# TrustAnchorFile	/var/named/trustanchor
+TrustAnchorFile		/var/lib/unbound/root.key
 
 ##  UMask mask
 ##  	default (none)
@@ -760,4 +761,4 @@ Syslog			Yes
 ##  Change to user "userid" before starting normal operation?  May include
 ##  a group ID as well, separated from the userid by a colon.
 
-# UserID		userid
+UserID		opendkim:opendkim
openSUSE Build Service is sponsored by