Am Freitag, 8. Juni 2007 22:04 schrieb Murray S. Kucherawy:
> It will add an Authentication-Results: header and a log entry about failed
> signature verification, but an unsigned message doesn't necessarily
> generate any information in the log or add such a header (otherwise
> dkim-filter would fill your log file and your mail spool with largely
> useless data).
>
> > Any idead how to tell dkim-filter to log at least something?
>
> It should be logging something when signatures fail to verify, as well as
> startup and any error or other unusual conditions. It's otherwise pretty
> silent.
>
> -MSK
I see. Nothing in the log files when a message is not signed at all. That is
what I tried all time time. So dkim-milter does not tell me anything if a
mail is not signed and my MTA has to filter mails, that do not include a
header "Authentications-Results".
When I try wrong signatures I get the expected results.
When I do a little bit more debugging whith additional syslog in the
dkim-filter I find out that the result of
dfc->mctx_dkim = dkim_verify(libdkim, dfc->mctx_jobid, NULL,
&status);
is always DKIM_STAT_OK, regardless, if the signature exists or not, if it is
valid or not.
Which leads me to a more basic question:
Why do I not get the result DKIM_STAT_NOSIG if no signature is present? What
are the conditions for getting non DKIM_STAT_OK as a result?
Thanks.
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: [EMAIL PROTECTED]
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss