[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Sendmail 8.9.3 and ORDB



On Wednesday, March 19, 2003, at 10:35  AM, Mike's List wrote:
I'm running sendmail 8.9.3 (not my preference) and am attempting to install
ORDB onto sendmail to prevent accepting mails from open relay mail server.

What kind of RaQ is this? I'd bet RaQ2 or RaQ3?

I'm a bit confuse, am I to edit my access_db file? ("access" in my case)
and put FEATURE(`rbl', `relays.ordb.org')dnl towards the very bottom of
the file? or does FEATURE(`rbl', `relays.ordb.org')dnl goes to some other
file in sendmail?

The "FEATURE(`rbl', `relays.ordb.org')dnl" syntax is for m4. This should go in your sendmail.mc file (see below).

Furthermore, where do I put "550 rejected" --towards the end of the line
FEATURE(`rbl', `relays.ordb.org')dnl "550 rejected"

I don't think you put it on the line, but since "dnl" means "delete until newline" IIRC, putting it there will do you no good at all. I don't think that particular FEATURE syntax allows an optional error message, but if it does (like the DNSBL feature in 8.10.x) it will be a third argument:

FEATURE(`rbl', `relays.ordb.org', `"550 rejected"')dnl

but I think without a third argument, a default reject message will be sent anyway, so you can just leave it out.

PS - I've been to http://bluebird.sinauer.com/~morse/cobalt/dnsbl.html
     I don't have an .mc file --I think the .mc is for sendmail 8.10?

No, you must have an .mc file somewhere. Look in /usr/lib/sendmail-cf; it'
s not named "sendmail.mc", but "redhat.mc" or "cobalt.mc" (it's "cobalt.mc"
on our Qube - I really should include a note about that on the page). If you don't see it in /usr/lib/sendmail-cf/, look in /usr/lib/sendmail-cf/cf/
. Or do this:

[root sendmail-cf]# locate sendmail.mc
[root sendmail-cf]# locate redhat.mc
[root sendmail-cf]# locate cobalt.mc
/home/users/morse/.AppleDouble/cobalt.mc
/usr/lib/sendmail-cf/cf/cobalt.mc
[root sendmail-cf]#

Someone please correct me if I've got any of this wrong, I've done it a few times on my system but only know what people have told me about others.

pjm