Hi, Willem,

On 8/5/11 2:57 PM, Willem Kossen wrote:
> Hi there,
>
> I have succesfully implemented dkim signing in my mailserver, but it 
> only works when mail is delivered to it via smtp. A lot of mail 
> however comes in via sendmail executable for instance because of 
> websites, webmail or applications sending out notices. I want that 
> mail to be signed as well. Is it possible at all (like in postfix 
> non-smtpd filters) or in any other way? in fact, i would like all 
> outgoing mail to be signed.

I'm not sure about the exact Sendmail configuration options you will 
need, but in general the following is important to keep in mind. To 
minimize DKIM signature corruption, it is important to sign at the final 
step before delivery of the mail to a remote SMTP server. This is true 
for both mail that is to be signed and originates locally (via a web 
application or a command line script), as well as for mail you receive 
via SMTP which you have to sign before delivering it to its destination 
(e.g. the Internet).

Having said that, you will want to look for a Sendmail configuration 
that allows you to invoke the milter right before (or from within) the 
_outbound_ SMTP connection. You may have to define the milter in your 
ClientPortOptions setting, I'm not sure. Or switch to Postfix ;-)

BTW: I wonder whether you implemented DKIM signing using the dkim-milter 
milter software or using OpenDKIM? As you post your question on the 
dkim-milter-discuss list I suppose the former is true. I'd recommend to 
forget about dkim-milter and start using openDKIM 
(http://www.opendkim.org/) as dkim-milter is no longer maintained and 
it's author dropped dkim-milter development and continued the 
dkim-milter work as the opendkim project.

Regards,
/rolf


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to