hci
09-23-2002, 01:24 AM
I found the below config to add ordb.org relay protection to a Raq4 and was wandering if it would work for Spamcop as well. Does anyone know? I imagine I would need to change relays.ordb.org too bl.spamcop.net but is it that simple?
You need to edit the file /etc/mail/sendmail.cf, make a copy first. Find the block of code which says:-
code:--------------------------------------------------------------------------------
#########################################################
# check_mail -- check SMTP `MAIL FROM:' command argument
#########################################################
--------------------------------------------------------------------------------
Just above this block of code type of following:-
code:--------------------------------------------------------------------------------
# DNS based IP address spam list relays.orbd.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr}" refused by ordb.org open relay database"
--------------------------------------------------------------------------------
Make sure that you use TABS not SPACES between the first and second columns.
You need to edit the file /etc/mail/sendmail.cf, make a copy first. Find the block of code which says:-
code:--------------------------------------------------------------------------------
#########################################################
# check_mail -- check SMTP `MAIL FROM:' command argument
#########################################################
--------------------------------------------------------------------------------
Just above this block of code type of following:-
code:--------------------------------------------------------------------------------
# DNS based IP address spam list relays.orbd.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr}" refused by ordb.org open relay database"
--------------------------------------------------------------------------------
Make sure that you use TABS not SPACES between the first and second columns.
