[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Sendmail 8.9.3 and ORDB
- Subject: [cobalt-users] Re: Sendmail 8.9.3 and ORDB
- From: Peter Frederick <pfred@xxxxxxxxx>
- Date: Wed Mar 19 09:13:03 2003
- Organization: Indiana Packers Corporation
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 19 Mar 2003 09:35:04 -0600 (CST), you 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.
>
>Below is the instructions for sendmail 8.9
>
>http://www.ordb.org/faq/#usage_sendmail
>
>...there's a link to http://www.sendmail.org/~ca/email/chk-89f.html#MAIL
>
>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?
For a Qube3 but relatively generic information:
It goes into the m4 configuration file. /etc/mail/access.db is a hashed
version of the access file /etc/mail/access created using the command
makemap hash /etc/mail/access < /etc/mail/access
After you change the m4 config file (as per Parker Morse's excellent
notes below) then you will notice some (confusing!) text in the
/etc/mail/sendmail.cf file that gets inserted as part of the build
process. This is what is required to do DNSBL checking.
You can edit the sendmail.cf file directly but be very aware that when
you use the GUI manually edited changes that you might make may disappear.
If you do it via the m4 method (described by Parker) then those changes
get automatically rolled into the Cobalt version when GUI changes are made.
I saved the copy of our sendmail.cf (on /etc/mail) before doing the DNSBL
stuff then diff'ed the old and new ones to get the lines added. You may
want to squirrel these away for a rainy day. You can easily comment out
the checking in the sendmail.cf file if you know where to find it. We had
to do this earlier this year when osirusoft went off the air because of
power problems caused by big storms in California. Sendmail was rejecting
all inbound messages because the link to osirusoft was failing. I just
commented it out of our sendmail.cf file until I knew they were back up and
then put it back in.
>
>Furthermore, where do I put "550 rejected" --towards the end of the line
>FEATURE(`rbl', `relays.ordb.org')dnl "550 rejected"
This is what I put in our m4 file (/usr/lib/sendmail-cf/cf/cobalt.mc):
#
# Modified for DBSBL checking at IPC
# Peter Frederick - 01/27/03
#
FEATURE(`blacklist_recipients')dnl
FEATURE(`dnsbl', `relays.osirusoft.com', `Rejected - see http://relays.osirusoft.com/')dnl
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
We use the standard number that sendmail pops out (550) - it is
inserted automatically in our reject messages. From memory if you
look at the Sendmail website there is good documentation on the m4
features you need including using different reject reasons if you
want to.
>
>Thanks.
>
>
>- Mike
>
>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?
Thanks Parker - I would have used trusty 'find' (UNIX heritage showing)
but maybe I should have a look at 'locate'
find / -name \*.cf -print
>
>
>
>_____________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Peter Frederick
MIS Director, Indiana Packers Corp, Delphi IN
Phone: (765) 564-9705 Fax: (765) 564-3684
Work: pfred@xxxxxxxxx (Qube3 Professional running 6.4)
============================================================================
'Tis better to light one candle than to curse the darkness a thousand times!