I see I can't run it in this order beacause we need the result of SPF and DKIM
and them are available after running qfilter.
qmail-smtpd runs QMAILQUEUE binary before getting DKIM and SPF checks.

I'm thinking of a kind of patch, it'd work like this:

1) To create a binary in C using opendmarclibs.

2) After SPF and DKIM checks we have to set the environment variables 
who are later used for the binary script.

3) In order to follow DMarc rules we have to remove the control in qmail to
reject an email because of SPF/DKIM, this decision will be taken within
binary c script.
The reason is we have to log everything, then getting SPF and DKIM results and
getting policies we can create a simple patch.

Besides I've created a function who read exit codes later it reads a config 
file to set our own exit messages.


This is my idea, i'm currently working on it, Please let me know if someone 
has a better idea.

Thanks!





_______________________________________________
dmarc-discuss mailing list
[email protected]
http://www.dmarc.org/mailman/listinfo/dmarc-discuss

NOTE: Participating in this list means you agree to the DMARC Note Well terms 
(http://www.dmarc.org/note_well.html)

Reply via email to