From: Dan F. <da...@ha...> - 2010-11-18 07:17:48
|
Its possible to test sqlgrey by talking to it like posfix does, using telnet or netcat Example: $ nc localhost 2501 request=smtpd_access_policy protocol_state=RCPT protocol_name=SMTP client_address=66.102.13.104 client_name=unknown reverse_client_name=ez-in-f104.1e100.net helo_name=ez-in-f104.1e100.net sender=te...@ez... recipient=te...@ez... < hit return to add a blank line > And the server will respond with its verdict: action=451 Greylisted for 1 minutes (10) It should be fairly easy to use this to validate a whitelist entry. Simply modify the appropriate fields in the above and paste it to the sqlgrey port. Hit return once more to make a blank line at the end and read the output. Additional information may also be in the log, depending on your loglevel. - Dan Faerch -- http://www.phpappwall.com On 2010-11-17 22:32, Douglas Mortensen wrote: > Besides making a connection attempt from a whitelisted IP/FQDN & watching the sqlgrey logging, is there any way that I can simply query the locally loaded whitelist for the IP/FQDN in question, or have it output the entire currently loaded whitelist to the console or logging? > > Thanks, > - > Doug Mortensen > Network Consultant > Impala Networks Inc > CCNA, MCSA, Security+, A+ > Linux+, Network+, Server+ > . > www.impalanetworks.com > P: (505) 327-7300 > F: (505) 327-7545 > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > Sqlgrey-users mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlgrey-users |