Re: Sendmail and RELAYING
> > Problem is, that I haven't enough time to upgrade and second I think of
> > upgrading whole system to Slink. So, for now I want only to patch the hole
> > in my Sendmail 8.8.8. And I need it urgently, because I don't want annoy
> > other people with spam mail from our server.
Just put the anti-spam hacks in your sendmail.mc and run sendmailconfig
to generate a new .cf
Like this (note, untested):
OSTYPE(debian)dnl
FEATURE(this)dnl
FEATURE(that)dnl
FEATURE(blahblahblah)dnl
LOCAL_RULESETS
Scheck_rcpt
R< $+ @ $=w > $@ ok
$* $: $(dequote "" $&{client_name} $)
R$=w $@ ok
R$@ $@ ok
R$* $#error $: "550 Go abuse someone else"
Reply to: