(just adding my red diesel )
Doesn't RBL check the IP address that people connect with ? Now as a SMTP server you have this implicitly , later on it would have to be taken from the headers, to find the ip. Possible bit of a pain, just need to find the received header your machine on... Definitely easier todo in the MTA. -- Simon