[EMAIL PROTECTED] skrev, on 16-10-2007 14:37:

> 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 

I'm a Red Hat Linux person, been using Postfix in production for years, 
Sendmail DKIM milter for a few months. For the rest, my MTA software is 
more or less like yours.

> 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 
> [...] 

Avoid putting milter stuff in main.cf, put it all in master.cf. Stick to 
what Mark Martinec tells you, he's the one who *knows' about all kinds 
of DKIM and Postfix. Do *not* try to reinvent the wheel.

> In /etc/rc.conf: 
> 
> milterdkim_enable="YES" 
> #milterdkim_uid='mailnull' 
> milterdkim_uid='dkimuser' 
> milterdkim_socket="inet:[EMAIL PROTECTED]" 
> 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). 
> 
> So the configuration is not that complicated like on 
> http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim

See the above. "Oh, but that's far too complicated", you say, "I want an 
easy life". God did not make you a mail admin so that you could have an 
easy life.

> Ok, but how can i use DKIM with multiple domains? 

Stop putting *any* milter stuff for *any* milter in main.cf ...

> Imho i have to set milterdkim_domain="example.org,example.net,..."
> Or in dkim-filter.conf 
> And, is there a problem to use the same private/public key for all the 
> domains? 

No.

--Tonni

-- 
Tony Earnshaw
Email: tonni at hetnet dot nl

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to