Hi Ben,

> In my setup, I see the tcp.smtp.cdb file getting updated regularly, seeming
> to indicate perhaps that the pop-before-smtp may actually be working.  Is
> there anyway to verify the contents of the cdb file to see if it actually
> matches with the current relay table contents?

To check if a IP address is listed:

TCPREMOTEIP=<ip> tcprulescheck tcp.smtp.cdb

Example for an IP that's allowed to relay:

$ TCPREMOTEIP= tcprulescheck /etc/tcp.smtp.cdb 
set environment variable RELAYCLIENT=
set environment variable RBLSMTPD=
allow connection

Or use cdbdump from the cdb package to dump the whole .cdb file:



Reply via email to