pymilter 1.0.5
Milter.greylist.Greylist Class Reference
Inheritance diagram for Milter.greylist.Greylist:

Public Member Functions

 __init__ (self, dbname, grey_time=10, grey_expire=4, grey_retain=36)
 
 export_csv (self, fp, timeinc=0)
 
 clean (self, timeinc=0)
 
 check (self, ip, sender, recipient, timeinc=0)
 
 close (self)
 

Public Attributes

bool ignoreLastByte = False
 
int greylist_time = grey_time * 60
 
int greylist_expire = grey_expire * 3600
 
int greylist_retain = grey_retain * 24 * 3600
 
 dbp = shelve.open(dbname,'c',protocol=2)
 
 lock = thread.allocate_lock()
 
continue greylist_retain = key.rsplit(':',2)
 

The documentation for this class was generated from the following file: