Giter Site home page Giter Site logo

stevejenkins / opendkim-fedora Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 3.0 113 KB

SPEC files and Patches for OpenDKIM Fedora / EPEL RPMs

Home Page: https://admin.fedoraproject.org/pkgdb/package/opendkim/

Shell 100.00%
opendkim opendkim-fedora epel fedora milter postfix sendmail dkim dkim-signature dkim-verifier

opendkim-fedora's Introduction

OpenDKIM-Fedora

This git repo contains:

NOTE: As of 2.10.1-5, the systemd and SystemV versions of this spec file have been combined in the OpenDKIM-Fedora repo, and the OpenDKIM-SysV repo at http://github.com/stevejenkins/OpenDKIM-SysV/ has been abandonded.

CONTRIBUTORS: Please do pull requests in the "develop" branch only. The "master" branch is just for release versions. Thanks!

For official source code and documentation, please visit http://opendkim.org/

For documentation on installing and configuring the Fedora/RHEL packages built using the files in this repo, please visit http://www.stevejenkins.com/blog/2011/08/installing-opendkim-rpm-via-yum-with-postfix-or-sendmail-for-rhel-centos-fedora/

Find/follow/friend me at:

opendkim-fedora's People

Contributors

stevejenkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

opendkim-fedora's Issues

Enable --with-lua

Would it be possible to enable lua support, so we can use SetupPolicyScript, ScreenPolicyScript and FinalPolicyScript ?

I'll do a rebuild now for myself, but including this in EPEL might be fantastic for more people.

Need custom init script setup parameters

  • 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
  • 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}
  • We set the DKIM_SELECTOR in the init script, but not the other one.

Include a sample SigningTable

Per Todd Lyons:

I suggest you consider including a sample signing_table file with some
verbose comments, maybe something like this:

# The following wildcard type works if
# refile:/path/to/signing_table is specified in
# the opendkim.conf
# *@example.com ...blahblah
#
# If refile: is not specified in opendkim.conf, then the matching
# occurs in the order:
# [email protected], [email protected], user@name
# full.host.name, and finally just user
# example.com ...blahblah

Keygen on start

Fix linebreaks for message echo on service start and restart relating to default keygen.

opendkim.pid is placed in legacy directory on Fedora 34

Dear maintener,
Thank you for your nice works.

I installed opendkim-2.11.0-0.18.fc34.x86_64, and then I get a warning as follows:

Jul 23 22:22:33 fedora systemd[1]: /usr/lib/systemd/system/opendkim.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/opendkim/opendkim.pid โ†’ /run/opendkim/opendkim.pid; please update the unit file accordingly.

Fix stats directory issues

We have stats capability enabled by default in the
binary, but not in the config file:

  1. In opendkim.conf, the statistics directive is commented out. This
    is good because the defined stats directory is /var/opendkim/stats,
    which does not exist because /var/opendkim is not owned by the
    opendkim package. This is what /var/spool/opendkim was created for,
    so the path in the config file (even though it's commented out) should
    be changed to /var/spool/opendkim.
  2. In the same vein, the filename "stats" could be very confusing to
    someone looking at this for the first time. I ask that you consider
    naming it stats.txt to clearly indicate to people that it's just a
    plain text file.
  3. Since we enable stats by default, we should include the script and
    readme for stats:
%doc contrib/stats/README.opendkim-reportstats
install contrib/stats/opendkim-reportstats

to

%{prefix}/bin/opendkim-reportstats

modify the opendkim-reportstats to use the defaults you specify in 1
and 2 above. Use either or sed or awk or whatever you can to make
that work.

Remove Library from Package Description

The description for the main package includes "library" which appears in the Add/Remove software interface in Fedora, but the library is technically a separate package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.