Birta Levente a écrit :
> Hi all
> 
> My postfix server is set up with amavisd-new and dkim-milter.
> 
> In the  main.cf:
> 
> content_filter = smtp-amavis:[127.0.0.1]:10024
> 
> smtpd_milters = inet:localhost:20209
> non_smtpd_milters = inet:localhost:20209
> milter_protocol = 2
> milter_default_action = accept
> 
> 
> 
> With this configuration the DKIM signature is added even to the incoming
> mails and I don't see any reason to do that.
> 
> How can I set up the server to add DKIM signature only for the outgoing
> mails?
> 

you can decide to sign mail based on the domain (and specify different
keys for different domains):

$ cat /path/to/dkim-milter.conf
...
KeyList /path/to/milter-dkim_keylist.conf

$ cat /path/to/milter-dkim_keylist.conf
*:netoyen.net:/path/to/netoyen.net/key
...




> thanks
> 
> Levi
> 
> 
> 

Reply via email to