Well I haven't used the RBL built in to qmail-ldap but if you use rblsmtpd (part of ucspi-tcp) it does this automatically but it bounces the message back to the offending mail server. I'm not sure if this is what the builting qmail-ldap rbl does. But from the look of your config file it just adds a header to the message and accepts it.
--Mike Roberto Carlos Navas wrote: > Hello: > > I have activated the RBL feature on qmail-ldap, and currently my rbllist > file looks like this: > > bl.spamcop.net addheader 127.0.0.2 Blocked, your server is > Listed as.. > sbl.spamhaus.org addheader 127.0.0.2 Blocked, your server > is listed as.. > relays.ordb.org addheader 127.0.0.2 Blocked, your server is > listed as.. > > My question is about the reject message... is it possible to let qmail-smtpd > to add the message as received from the RBL server? instead of hardcoding a > constant message as it's right now? > something like: > Blocked, see http://bl.spamcop.net?ip=X.X.X.X > where X.X.X.X is the particular IP address of the server being blocked. > I ask this, because I was using rblsmtpd, and it usually rejects the email > with a custom message from the RBL server, that usually contains an URL with > specific parameters to search for that particular email server, I don't > actually know where this message comes from, but I assume that the RBL > server returns this as part of the query result. > > Thanks in advance, > > ____________________________________ > Roberto Carlos Navas > Sub Gerente T�cnico > Internet de Telemovil > Centro Financiero Gigante > Torre "D", Piso No. 9 > San Salvador, El Salvador > Cell: +503 8832010 > Fax: +502 2809450 >
