Next: Usage, Previous: Installation, Up: Top
This chapter describes some of dgrey's internals, including how the greylisting mechanism works and how the nodes communicate and synchronize data.
Most text here is yet to be written. However, dgrey's greylisting mechanism works mostly like that of Postgrey, so I recommend checking out the Postgrey documentation for more information on that subject.
There are two databases, the greylist database and the auto-whitelist database. (XXX Need to describe these databases here. Describe the purposes and format of keys and values.)
There are some concepts specific to dgrey:
In order to prevent this file from growing too big, it is usually rotated once a week. This can be done through a crontab script. A part of the log file–the recent additions–is usually kept, and the remainder discarded. This means that poll hosts that have been down for a week or more will actually lose some greylisting information.
The first line of this file is special–it contains the poll host offset
at which the first log entry in it starts at.