Re: Where do i put the sendmail HACKS?
On Fri, 23 Oct 1998, dpk wrote:
> On Thu, 22 Oct 1998, trio wrote:
>
> I'm spending a lot of time reading the stuff at
> sendmail.org. I've found all kinds of explanations of the
> check_rcpt HACK, but no explanation as to where i put it. Does it
> go in sendmail.cf somewhere? Where? Does it get listed in
> sendmail.mc? But then how do i get the .m4 to relate to it?
>
> Depends on what you are trying to accomplish. I suggest building your
> sendmail.cf using M4. You mention the check_rcpt ruleset, which hints
Since i just loaded the latest debian release, i'm using sendmailconfig
which i believe calls m4.
> that you are trying to block spam. If this be the case I would look
> at this page:
> http://www.sendmail.org/m4/anti-spam.html
I believe that's http://www.sendmail.org/anti-spam.html and yes, i've
been reading it but i can't find that crucial bit about where to put the
check_* hooks.
> It describes M4 features for blocking spam. These features utilize
> the check_rcpt, check_relay, etc rulesets. When you generate your
> sendmail.cf the rulesets will be created automatically and you can
What do you mean automatically? Where do i put the check_* rulesets? In
sendmail.cf? Do i put a line in sendmail.mc with "HACK (use_ip..."? But
how does the .mc file get the check_* code?
> then control their functionality via text or database files. I can
That's exactly what i'd like to do.
> send you a copy of our M4 config for example. (Just let me know)
That would be great. Thank you.
...
universero trio... trio@tio.net... http://tio.net/~trio
Learn and use The International Language Esperanto! http://esperanto.org
Reply to: