From 849e68a858816ae26e7470d71545a339dae3df35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 9 Mar 2012 19:32:38 -0500 Subject: [PATCH] explain how to configure logs --- plugins/relayd/relayd | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index 77a2e8d2..3be9cf72 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -15,9 +15,20 @@ The following environment variables are used by this plugin: =item logfile -The file where MailScanner logs its action (Default: +The file where syslog logs relayd's action (Default: /var/log/relayd.log) +You need an entry like this in your syslog.conf for this to work: + +!relayd +*.* /var/log/relayd.log + +The directive: + +log updates + +is also necessary in relayd.conf. + =item configfile The relayd.conf configfile (Default: /usr/local/etc/relayd.conf)