[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Sendmail features
- Subject: Re: [cobalt-users] Sendmail features
- From: "Robbert Hamburg \(HaVa Web- & Procesdesign\)" <user@xxxxxxx>
- Date: Fri Apr 11 19:15:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Well, inputs.orbz.org doesn't exist anymore. http://www.orbz.org/
This is what i added in sendmail.cf
######################################################################
### check_relay -- check hostname/address on SMTP startup
######################################################################
SLocal_check_relay
Scheck_relay
R$* $: $1 $| $>"Local_check_relay" $1
R$* $| $* $| $#$* $#$3
R$* $| $* $| $* $@ $>"Basic_check_relay" $1 $| $2
SBasic_check_relay
# check for deferred delivery mode
R$* $: < ${deliveryMode} > $1
R< d > $* $@ deferred
R< $* > $* $: $2
R$+ $| $+ $: $>LookUpDomain < $1 > <?> < $2 > <+Connect>
R<?> <$+> $: $>LookUpAddress < $1 > <?> < $1 > <+Connect> no:
another lookup
R<?> < $+ > $: $1 found
nothing
R<$={Accept}> < $* > $@ $1
R<REJECT> $* $#error $@ 5.7.1 $: "550 Access denied"
R<DISCARD> $* $#discard $: discard
R<ERROR:$-.$-.$-:$+> $* $#error $@ $1.$2.$3 $: $4
R<ERROR:$+> $* $#error $: $1
R<$+> $* $#error $: $1
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"
# DNS based IP address spam list bl.spamcop.net
R$* $: $&{client_addr}
R::ffff:$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $:
OK $)
R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.bl.spamcop.net. $:
OK $)
R<?>OK $: OKSOFAR
R<?>$+ $#error $@ 5.7.1 $: "Spam blocked see:
http://spamcop.net/bl.shtml?" $&{client_addr}
the empty spaces are tabs in ssh
add it right above:
######################################################################
### check_mail -- check SMTP `MAIL FROM:' command argument
######################################################################
restart sendmail and off you go.
Robbert
--
This message has been scanned for viruses and
dangerous content by HaVa.nl MailScanner, and is
believed to be clean.