Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Adding standard SPF, DKIM headers

Adding standard SPF, DKIM headers

2011-08-12 by compconsultant

Instead of using multiple packages to get these headers (milter-greylist, SPF milter, opendkim), it would be nice since milter-greylist handles both spf and dkim for it to be able to add the RFC5451 Authentication-Results headers for both. 

http://tools.ietf.org/html/rfc5451

I realize, one can add a header via the racl and dacl, but, that's one. There needs to be 2 headers, and, there are no format strings for results of those checks.

A valid header for dkim might look like this:

Authentication-Results: 	mail.yourhost.com; dkim=pass (1024-bit key) header.i=@...; dkim-adsp=pass

I realize you may not check adsp, so, that portion could be left off. 

I am wanting headers for both SPF results and DKIM results. 

Wouldn't that be useful? Ranking/rating programs can then use those standard headers.

Re: [milter-greylist] Adding standard SPF, DKIM headers

2011-08-12 by manu@netbsd.org

compconsultant <Compconsultant@...> wrote:

> I realize, one can add a header via the racl and dacl, but, that's one.
> There needs to be 2 headers, and, there are no format strings for
> results of those checks.

Yes, it would be nice to add the format strings. More format strings
never hurts, actually. :-)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: Adding standard SPF, DKIM headers

2011-08-12 by compconsultant

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> compconsultant <Compconsultant@...> wrote:
> 
> > I realize, one can add a header via the racl and dacl, but, that's one.
> > There needs to be 2 headers, and, there are no format strings for
> > results of those checks.
> 
> Yes, it would be nice to add the format strings. More format strings
> never hurts, actually. :-)
> 

Ok, but, there is no way to add headers in milter-greylist, except, on a racl of dacl, right?

I want to add headers, racl or not. i.e., always add this header. The determination to white, or grey, is separate logic. Is this currently possible with the syntax? I don't see it if so. i.e., there is no:

racl noop addheader "Authentication-Results..."

or other method I see to add headers, any add of headers ends the flow which means I can't add other headers. That is the other part of this issue.

Re: [milter-greylist] Re: Adding standard SPF, DKIM headers

2011-08-13 by manu@netbsd.org

compconsultant <Compconsultant@...> wrote:

> racl noop addheader "Authentication-Results..."

Yes, you point out an important missing feature that I we need: add a
fourth action beside whitelist/blacklist/greylist. We need noop, or nop,
or continue, or whatever. I think continue is the one that makes more
sense. 

While there I think it will make sense. to rename existing actions into
accept/reject/greylist.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.