Operating System - HP-UX
1824063 Members
3683 Online
109668 Solutions
New Discussion юеВ

sendmail 8.12.6 and RBL option ..

 
SOLVED
Go to solution
someone_4
Honored Contributor

sendmail 8.12.6 and RBL option ..

Hello everyone
I want to enable the RBL option on sendmail 8.12.6.
It was built from an .mc file like so witht he following features defined:

FEATURE(`access_db', `DATABASE_MAP_TYPE -T MAIL_SETTINGS_DIR`'access')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`limited_masquerade')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`redirect')dnl
FEATURE(`use_cw_file')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl


What is the santax to add the real time black hole feature?



Thanks,
Richard.
5 REPLIES 5
Christopher Caldwell
Honored Contributor
Solution

Re: sendmail 8.12.6 and RBL option ..

Here's some examples:

FEATURE(`dnsbl', `relays.ordb.org', `"Email blocked using ORDB.ORG - see <>/ORDB.ORG/lookup/?host="$&{client_addr}">"')dnl
FEATURE(`dnsbl', `dnsbl.njabl.org', `"Email blocked using NJABL.ORG - see <>//NJABL.ORG/cgi-bin/lookup.cgi?query="$&{client_addr}">"')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `"Email blocked using SPAMHAUS.ORG - see ttp://WWW.SPAMHAUS.ORG/sbl/index.lasso>"')dnl
FEATURE(`dnsbl', `relays.osirusoft.com', `"Email blocked using OSIRUSOFT.COM - s
ee <>"')dnl
Steven E. Protter
Exalted Contributor

Re: sendmail 8.12.6 and RBL option ..

You can reject mail with /etc/mail/access


allanlieberman.com RELAY
napervilleapartments.com RELAY
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
192.168.0.30 RELAY
192.168.0.2 RELAY
localhost RELAY
pslade@ozemail.com.au 550 Spam with virus will be rejected and
forwarded to the FBI. We charge $500/message
for spam and collect damages from virus senders
philipslade@optushome.com.au 550 Unsolicted junk mail with virus content
will be forwarded to authorities. We will
store the message for a fee of $500/message


You see the examples of nasty auto reject messages. A bit over the top, but I've logged it and they've boucned thousands of messages.

I operate a web hosting isp.

You may need to make some changes to accomodate HP-UX, this is a linux setup.

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
someone_4
Honored Contributor

Re: sendmail 8.12.6 and RBL option ..

Hello Christopher ..
I hope you are still reading this. What you said worked. But it worked toooo well !!
It started to block domains that dont resolv to an ipaddress.

for example user@
courts.state.tx.us

courts.state.tx.us does not resolv but mail.
courts.state.tx.us does. But the rbl does an nslookup on
courts.state.tx.us so it would block it ..

We had too many complains about this .. so now I am asking if there is a workaround for this issue..

Thanks
~richard
Shannon Petry
Honored Contributor

Re: sendmail 8.12.6 and RBL option ..

The problem you have is not in configuration, but in the problem with the RBL. If I try to hide my identity from Spammers, then the RBL can denied me. There are several other reasons that using the RBL fails, but this is the most basic. There used to be a different option for RBL, and that company went from a free service to a pay service. I believe the company was the time and dont know what they changed too.

The pay for service, does more extensive checking than ordb, and tends to be more reliable. Of course they make money in doing so where ordb is free. Makes a big difference.

I no longer use this, as I had complaints similar to you. Trust me, I wanted yahoo, msn, *.tw, and *.ko denieded, but customers sometimes use these sites too.

Only choice is to look at the other options, or make your own rules.

There a very good product which is now called PureMessage, formerly perlMX which is a sendmail plug in. It uses rule based control to detect spam and takes actions based on configuration. A friend of mine works at a huge military installation, and they just bought their 3rd copy.
http://www.activestate.com/Products/PureMessage/?_x=1


Anyway, have fun with it!
Regards,
Shannon

Microsoft. When do you want a virus today?
Christopher Caldwell
Honored Contributor

Re: sendmail 8.12.6 and RBL option ..