Yahoo Groups archive

Milter-greylist

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

Message

schema attached

2009-05-19 by Piotr Wadas

Attaching simple schema I use with ldap tests.
Note, that it's related to standard sendmail.schema,
available from sendmail site, replace "sendmailMTAKey" with
standard "mail" attribute, if needed.

Regards
DT

-----------------

###################

attributetype ( 3.1.1.1.1.6.1
	NAME 'milterGreylistStatus'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 
	EQUALITY booleanMatch 
	SINGLE-VALUE 
	DESC 'boolean. The ACL will match if any of below keys are returned: milterGreylistStatus is not mandatory.' )

attributetype ( 3.1.1.1.1.6.2
	NAME 'milterGreylistDelay'
	SUP sn
	SINGLE-VALUE
	DESC 'The greylisting delay to use (time unit suffix allowed)'	)

attributetype ( 3.1.1.1.1.6.3
	NAME 'milterGreylistAutowhite'
	SUP sn
	DESC 'The autowhite delay to use (time unit suffix allowed)'
	SINGLE-VALUE )

attributetype ( 3.1.1.1.1.6.4
	NAME 'milterGreylistFlushAddr'
	SINGLE-VALUE
	DESC 'The  value  is  ignored.  If  this  key  is  present,  then the IP address for the sender machine will be flushed from greylist and autowhite databases.'
	SUP sn )

attributetype ( 3.1.1.1.1.6.5
	NAME 'milterGreylistCode'
	DESC 'The SMTP code to return (e.g.: 551).'
	SUP sn )

attributetype ( 3.1.1.1.1.6.6
	NAME 'milterGreylistECode'
	DESC 'The SMTP extended code to return (e.g.: 5.7.1)'
	SUP sn )

attributetype ( 3.1.1.1.1.6.7
	NAME 'milterGreylistMsg'
	DESC 'The string to return with SMTP codes.'
	SUP sn )

attributetype ( 3.1.1.1.1.6.8
	NAME 'milterGreylistReport'
	DESC 'The string to display in the X-Greylist header.'
	SUP sn )

attributetype ( 3.1.1.1.1.6.9
	NAME 'milterGreylistIgnore'
	DESC 'This line will be ignored, without warnings in the logs.'
	SUP sn )

attributetype ( 3.1.1.1.1.6.10
	NAME 'milterGreylistAction'
	SINGLE-VALUE
	DESC 'By specifying the  values  greylist, whitelist, or blacklist, it is possible to overload the ACL action itself.'
	SUP sn )

attributetype ( 3.1.1.1.1.6.11
	NAME 'milterGreylistDnsRbl'
	DESC 'milter greylist preference dns rbl server name'
	SUP sn )

attributetype ( 3.1.1.1.1.6.12
	NAME 'milterGreylistNoLog'
	DESC 'milter greylist preference no log property'
	SUP sn )

objectclass ( 4.1.1.1.1.1.24 
	NAME 'milterGreylistSettingsBase'
	DESC 'This object represents milter-greylist settings ( structural )'
	MUST ( sendmailMTAKey )
	MAY ( 
		milterGreylistStatus $ 
		milterGreylistDelay $ 
		milterGreylistAutoWhite $ 
		milterGreylistFlushAddr $ 
		milterGreylistCode $ 
		milterGreylistECode $ 
		milterGreylistMsg $ 
		milterGreylistReport $ 
		milterGreylistIgnore $ 
		milterGreylistAction $ 
		milterGreylistDnsRbl $
		milterGreylistNoLog
	)
	STRUCTURAL
  )

###################

objectclass ( 4.1.1.1.1.1.25
	NAME 'milterGreylistSettingsAux'
	DESC 'This object represents milter-greylist settings (auxiliary)'
	MUST ( sendmailMTAKey )
	MAY ( 
		milterGreylistStatus $ 
		milterGreylistDelay $ 
		milterGreylistAutoWhite $ 
		milterGreylistFlushAddr $ 
		milterGreylistCode $ 
		milterGreylistECode $ 
		milterGreylistMsg $ 
		milterGreylistReport $ 
		milterGreylistIgnore $ 
		milterGreylistAction $ 
		milterGreylistDnsRbl $
		milterGreylistNoLog 
	)
	AUXILIARY
 )

------------------
On Mon, 18 May 2009, Emmanuel Dreyfus wrote:

> On Sun, May 17, 2009 at 09:57:30PM +0200, Piotr Wadas wrote:
> > Tested with ldapcheck and urlcheck - both cases property returned from 
> > ldap is exactly the same as the word in racl configuration line, anyway 
> > ACL does not proceed to rbl lookup - it does only with simple, direct racl 
> > dnsrbl config. I set up rbldns response on my dns server, and the
> > answer (127.0.0.2 in this case) is returned properly, if asked.
> 
> I am almost AFK until next sunday. I will get back on this problem then.
> 
>

Attachments

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.