Yahoo Groups archive

Milter-greylist

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

Thread

milter-greylist mglfind script

milter-greylist mglfind script

2005-01-31 by Christian Pelissier

Here is a little contrib to search records in the greylist.db database.

Try for example :

$ ./mglfind
-rw-------   1 smmsp    other       1,7M janv 31 18:04 
/var/milter-greylist/greylist.db
#
# Summary: 19000 records, 12408 greylisted, 6592 whitelisted
#

0 - Quit
1 - Find RCPT address
2 - Find FROM address
3 - Find IP address

Enter (0,1,2,3) [1] > 2

Enter FROM address or Return : aol.com

....


Enter Return to go to main Menu

Program tested under Solaris 9 with /bin/ksh /usr/dt/bin/dtksh and 
/usr/local/bin/zsh (4.0.2).



--
Christian Pélissier
Office National d'Études et de Recherches Aérospatiales BP 72 92322 Chatillon
Tel: 33 1 46 73 44 19, Fax: 33 1 46 73 41 50

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.