mailscanner and opendkim

Markus Nilsson markus at
Fri Sep 23 07:11:46 IST 2011

We configure this in postfix's 

submission inet n - n - - smtpd 
-o smtpd_tls_security_level=encrypt 
-o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject 
-o content_filter=dksign:[]:10028 

On the submission instance, we add a content_filter (dksign) which signs all mail coming in on the submission port 


----- Ursprungligt meddelande -----

Från: "John Mark Niar" <johnn at> 
Till: "MailScanner discussion" <mailscanner at> 
Skickat: torsdag, 22 sep 2011 23:49:24 
Ämne: RE: mailscanner and opendkim 


Do you have any links for any tutorial on how to do this? 
I’m not yet familiar on this that much. 



From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Jason Ede 
Sent: Thursday, September 22, 2011 3:48 PM 
To: MailScanner discussion 
Subject: RE: mailscanner and opendkim 

We use DKIM on our outbound here with MS and postfix. We just have 2 instances of postfix running. The first one scans the email with MS and the second signs the email before it leaves our servers. 


From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of John Mark Niar 
Sent: 22 September 2011 07:17 
To: mailscanner at 
Subject: mailscanner and opendkim 

Hello All, 

I’ve just implemented MailScanner. Great software by the way! When I run MailScanner I run into OpenDKIM problem. My OpenDKIM was working already before I run the MailScanner. 
Now even if OpenDKIM adds a signature, it will result o dkim: permerror (bad sig). I know MailScanner inserts some information inside the header and probably overwrites the OpenDKIM header information? 
If so, does anyone can help me solve this? 

Looking forward to hearing anyone. 



This message has been scanned for viruses and 
dangerous content by MailScanner , and is 
believed to be clean. 
MailScanner mailing list 
mailscanner at 

Before posting, read 

Support MailScanner development - buy the book off the website! 

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list