[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Multiple RBL's on Raq3 using sendmail-8.9.3-C7 and spamcop rbl problem
- Subject: [cobalt-users] Multiple RBL's on Raq3 using sendmail-8.9.3-C7 and spamcop rbl problem
- From: "EDK" <ekagan@xxxxxxxxxxx>
- Date: Sun Sep 22 20:01:00 2002
- Organization: RCS Plus, Inc.
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Everythin mentioned below was based on the article by Charlie Summers
"sendmail configuration using m4 on a Cobalt Raq3 (long)". I successfully
got the ordb.org rbl working per the post. I tried adding the spamcop rbl
and everything fell apart. Here are my quesstions and problems. I have
searched the archives, sendmail.org, ordb, spamcop but can't find anything
or anyone mentioning if multiple FEATURE lines with rbl options are okay.
If anyone has any info on this or a sample redhat.mc, tech doc, archive
link, I would appreciate it. I am just trying to get Spamcop and ORDB
working. If there have been newer developments or a better way to
accomplish this now I would appreciate the info. I see many references to
'dnsbl' but it looks like you need sendmail > 8.10 and the raq3 still have
8.9.3. If it's safe to upgrade please let me know the best proceedure for
that also.
If I have multiple FEATURE(`rbl', `xxx.rbl')dnl lines once I compile the
new_sendmail.cf using the m4 compiler I only have the last FEATURE rbl line
in the file. The section of the redhat.mc is listed below.
# features from redhat.mc
divert(0)
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(access_db, hash -o /etc/mail/access)
FEATURE(local_procmail)dnl
FEATURE(virtusertable, hash -o /etc/virtusertable)dnl
FEATURE(blacklist_recipients)dnl
FEATURE(`rbl', `relays.ordb.org', `Mail Rejected - see http://ordb.org/')dnl
FEATURE(`rbl', `bl.spamcop.net', `Spam blocked see:
http://spamcop.net/bl.shtml')dnl
divert(-1)
Once I compile only Spamcop is in the new_sendmail.cf.
[root@x sendmail-cf]# grep "ordb" new_sendmail.cf
[root@x sendmail-cf]# grep "spamcop" new_sendmail.cf
R$-.$-.$-.$- $: $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
R$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr} "
refused by blackhole site bl.spamcop.net"
Here is the continuation of my problems. Even if I leave this and try to
get the Spamcop working - once I make all my changes sendmail won't stay up.
Every few minutes it goes down and then back up. If I put my sendmail.cf
back (with just ordb.org) it runs just fine. I have included the clip of
info from the new_sendmail.cf..it *looks* the same and okay to me but maybe
someone will pick something up or see something I didn't. I do want to
mention that I modified the line from Spamcop's site as it references the
'dnsbl' vs. 'rbl' feature. Here is the sample from Spamcop:
Sendmail
1.. Add the following line to your config.m4
FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see:
http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
Or for later versions:
FEATURE(`enhdnsbl', `bl.spamcop.net', `"Spam blocked see:
http://spamcop.net/bl.shtml?"$&{client_addr}', `t')dnl
2.. Re-compile your sendmail.cf from the config.m4
3.. Re-start sendmail
I modified the line to read: FEATURE(`rbl', `bl.spamcop.net', `Spam blocked
see: http://spamcop.net/bl.shtml')dnl with the rbl. If this is my problem
and I can't do that please let me know. Is there another way to get it to
work on the Raq3 ?
Previous section of code for ordb (working fine):
# DNS based IP address spam lists
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
ROK $@ OK
R$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr} "
refused by blackhole site relays.ordb.org"
Section of code from non-working sendmail.cf config
# DNS based IP address spam lists
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(host $4.$3.$2.$1.bl.spamcop.net. $: OK $)
ROK $@ OK
R$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr} "
refused by blackhole site bl.spamcop.net"
On a side note, in Charlie's original post he made mention to the
MaxMessageSize possible not showing up in the GUI and not wanting to mess
with the GUI for fear of causing problems. I would like to report that the
new_sendmail.cf has a "#" in front the of the maxmessagesize varible and if
you remove it before copying to /etc/sendmail.cf the number does show up in
the GUI. Also, I manually changed the GUI Size number and it did not cause
any problems.
Thanks
Eric