It appears you assume that there is mail received
to attache headers to.
rblsmtpd uses the lists which contain IP addresses
of SMTP servers. It rejects them before *anything*
happens. This is the intended behaviour of most
of this spam prevention, to limit the amount of
resources used.
I was only thinking of allowing a recipient check
also to see if a user and/or virtual domain would
like to allow SPAM to be recieved also. If not,
drop the connection right then & there.
Thanks,
brian
>
> Why not set a header value instead, like:
>
> x-spamcheck: rbl,rss
>
> ... that the user can filter on ...
>
> Brian Kolaci wrote:
>
> > I've had the request to allow on a per-user, per-domain
> > basis to either bounce or allow spam through. This may
> > be an underlying request he had.
> >
> > I've started this, but found that I just dumped the RSS & ORBS
> > list and only went for RBL. That was simpler.
> >
> > My approach was to update rblsmtbd.c to instead of bounce
> > the mail, set an environment variable. Then in qmail-smtpd,
> > you can check the envelope and selectivly bounce it or not,
> > depending on the contents in a new control file.
>
> --
> Michael T. Babcock, C.T.O. FibreSpeed
> http://www.fibrespeed.net/~mbabcock
>
>