On Fri, Mar 03, 2000 at 04:42:02PM -0500, Mark Tippetts wrote:
> Would I need to modify the Vpopmail source to add the RBLSMTPD=""
> assignment? Am I imagining bogymen and there's no problem? Or is there a
> problem, but with a simple solution I've missed?
/* possibly-skip-rblsmtpd.c */
int main(int argc, char **argv)
{
int i=atoi(argv[1]);
argv++;
if (getenv("RELAYCLIENT")) while (i) { argv++; i--; }
argv++;
execv(argv[0],argv);
_exit(1);
}
insert it into the (rbl)smtpd call:
# path number-of-arguments-to-skip
/hacks/possibly-skip-rblsmtpd 3 \
/var/qmail/bin/rblsmtpd -r rbl.maps.vix.com \
/var/qmail/bin/qmail-smtpd
Regards, Uwe (not using any RBL)