Re: OpenDKIM now available in Fedora & EPEL testing repos

From: Todd Lyons <tlyons_at_ivenue.com>
Date: Fri, 26 Aug 2011 07:07:54 -0700

On Fri, Aug 26, 2011 at 12:27 AM, Daniel Black
<daniel.subs_at_internode.on.net> wrote:
> Question - where do you set AUTOCREATE_DKIM_KEYS=NO or DKIM_SELECTOR for the init script?

Very good point, I never noticed that. Steve, it's typical for a
package with an init script that requires some user customization of
startup parameters to:
1. Create a %{sysconfdir}/sysconfig/%{name} file which will contain simply:
# Uncomment the following line to disable automatic DKIM key creation
# AUTOCREATE_DKIM_KEYS=NO
#
# Set the default selector
# DKIM_SELECTOR=default

2. And then in the init script, after you set any default options,
this will allow the sysadmin to override any of them (s)he needs:
[ -f %{sysconfdir}/sysconfig/%{name} ] && \
  . %{sysconfdir}/sysconfig/%{name}

3. We set the DKIM_SELECTOR in the init script, but not the other one.

> Might also watch this for selinux ideas.
> https://bugzilla.redhat.com/show_bug.cgi?id=718219

Ah, yeah, we need to handle selinux scenarios too. I hate SELinux. :-(

...Todd
-- 
If Americans could eliminate sugary beverages, potatoes, white bread,
pasta, white rice and sugary snacks, we would wipe out almost all the
problems we have with weight and diabetes and other metabolic
diseases. -- Dr. Walter Willett, Harvard School of Public Health
Received on Fri Aug 26 2011 - 14:08:06 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:11 PST