From 63166016865eaeda34bb15417bb353b20247331e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 12 Jun 2007 21:43:17 +0200 Subject: [PATCH] contrib/SpamAssassin/: Set default socket path to /var/run/collectd-email. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- contrib/SpamAssassin/Collectd.pm | 4 ++-- contrib/SpamAssassin/example.cf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm index c76c44da..1edcfc61 100644 --- a/contrib/SpamAssassin/Collectd.pm +++ b/contrib/SpamAssassin/Collectd.pm @@ -18,7 +18,7 @@ add a loadplugin call into your init.pre file. =over 4 -=item collectd_socket [ socket path ] (default: /tmp/.collectd-email) +=item collectd_socket [ socket path ] (default: /var/run/collectd-email) Where the collectd socket is @@ -116,7 +116,7 @@ sub set_config { push (@cmds, { setting => 'collectd_socket', - default => '/tmp/.collectd-email', + default => '/var/run/collectd-email', type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING, }); diff --git a/contrib/SpamAssassin/example.cf b/contrib/SpamAssassin/example.cf index 0abfb494..7ffd7084 100644 --- a/contrib/SpamAssassin/example.cf +++ b/contrib/SpamAssassin/example.cf @@ -1,5 +1,5 @@ collectd_buffersize 256 -collectd_socket /tmp/.collectd-email +collectd_socket /var/run/collectd-email collectd_timeout 2 collectd_retries 3 -- 2.11.0