On Friday 25 April 2008 13:27:46 Murray S. Kucherawy wrote:
> The INSTALL file for dkim-milter has a section called "CONFIGURING AND
> RESTARTING SENDMAIL" which you perform after getting your key(s)
> generated and the filter configured and started.
>
> Can I get a volunteer that uses postfix to write up a similar section for
> configuring postfix to talk to the filter, for inclusion in future
> releases?
>
As a starting point, here's what Mike Markley put in the Debian package and 
what I aded for Ubuntu package (Postfix is the standard MTA for Ubuntu):

Notes for Postfix users
-----------------------

Postfix users who wish to access the dkim-filter service via UNIX socket
(the default) may need to add the postfix user to the dkim-filter
group and ensure that UMask is set to 002 in /etc/dkim-filter.conf, in
order to make the socket readable by Posfix.

Users may also need to move the socket into a directory accessible by the
Postfix chroot; this can be accomplished by setting the SOCKET variable
in /etc/default/dkim-filter.

As an alternative, you may opt to connect to the filter over TCP. The
filter can be bound to localhost to prevent other hosts from accessing it.

Notes for Ubuntu specific changes
--------------------------------

Postfix is the standard MTA in Ubuntu, so the dkim-filter init is modified
to use a TCP socket on localhost port 8891 when installed.  This will work
with a chrooted Postfix (the Ubuntu default configuration).  To use the
dkim-filter, add:

# Milters for mail that arrives via the smtpd(8) server.
smtpd_milters = inet:localhost:8891

to your main.cf

By default, if the milter is not available Postfix will defer messages.  You
change this by also adding:

milter_default_action = accept

These can also be set on a per process basis in master.cf using standard
Postfix master.cf syntax:

        -o milter_default_action=accept
        -o smtpd_milters=inet:localhost:8891

See the Postfix MILTER_README for additional information.

Scott K

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to