Bug 215735

Summary: sysutils/munin-node: Fix default Postfix maillog location
Product: Ports & Packages Reporter: VK <vlad-fbsd>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Some People CC: mat
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (mat)
vlad-fbsd: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix default postfix plugins log file path vlad-fbsd: maintainer-approval? (mat)

Description VK freebsd_triage 2017-01-03 14:52:30 UTC
Created attachment 178480 [details]
Fix default postfix plugins log file path

The munin-node postfix_* plugins that require the location of the Postfix mail log combine LOGDIR/LOGFILE into full log path, so default env.logfile set by plugin-conf.d/plugins.conf must not be absolute path.

The patch fixes it by defaulting env.logfile to just "maillog" which then combines with default logdir into /var/log/maillog. That's the default Postfix log path on FreeBSD.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-03 15:16:58 UTC
A commit references this bug:

Author: mat
Date: Tue Jan  3 15:16:21 UTC 2017
New revision: 430477
URL: https://svnweb.freebsd.org/changeset/ports/430477

Log:
  Fix postfix's logfile, it is supposed to be the filename, not the full
  path.

  PR:		215735
  Submitted by:	Vladimir Krstulja
  Sponsored by:	Absolight

Changes:
  head/sysutils/munin-node/Makefile
  head/sysutils/munin-node/files/plugins.conf.in
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-03 15:21:03 UTC
A commit references this bug:

Author: mat
Date: Tue Jan  3 15:20:02 UTC 2017
New revision: 430478
URL: https://svnweb.freebsd.org/changeset/ports/430478

Log:
  MFH: r430477

  Fix postfix's logfile, it is supposed to be the filename, not the full
  path.

  PR:		215735
  Submitted by:	Vladimir Krstulja
  Sponsored by:	Absolight

Changes:
_U  branches/2017Q1/
  branches/2017Q1/sysutils/munin-node/Makefile
  branches/2017Q1/sysutils/munin-node/files/plugins.conf.in