OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix+dkim_milter+amavisd+FreeBSD

Axel.Grunersuedfactoring.de
Date: Tue Oct 16 2007 - 05:27:25 CDT


Hi,

i am using Postfix 2.4.5,1, amavisd-new 2.5.2,1, p5-mail-spamassassin
3.2.3 and clamav 0.91.1 with FreeBSD 6.2-RELEASE
So, now i want to run , dkim_milter 2.3.0 also with this configuration.

Everything works fine with the old old configuration, so i am trying to
implment dkim.
I installed dkim_milter from ports and changed main.conf:

smtpd_milters =
        inet:127.0.0.1:10029

Also changed master.cf:

127.0.0.1:10025 inet n - n - - smtpd
   -o content_filter=
   -o local_recipient_maps=
   # DKIM
   -o receive_override_options=no_milters
[...]

In /etc/rc.conf:

milterdkim_enable="YES"
#milterdkim_uid='mailnull'
milterdkim_uid='dkimuser'
milterdkim_socket="inet:10029127.0.0.1"
milterdkim_cfgfile="/usr/local/etc/mail/dkim-filter.conf"
milterdkim_domain="example.de"
milterdkim_key="/usr/local/etc/mail/dkimsuedfac0701.private.key"
milterdkim_selector="dkimsuedfac0701"
milterdkim_flags="-b sv -c simple/simple"

After that i was able to start dkim_milter with the startup script. Also
is seems to work (if you take a look at the header, you, hopefully, find
the DKIM signature in it).

Just is simple question: Is this the way to configure dkim_milter to sign
outgoing mails and verify incoming mails? Or is something missing? Well,
for me it looks like it is working, just want to be sure...

Thanks.

Axel