[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV lynx-dev list status/problems
From: |
Mike Brown |
Subject: |
Re: LYNX-DEV lynx-dev list status/problems |
Date: |
Tue, 15 Jul 1997 13:15:48 -0700 (PDT) |
If you are running a current version of Sendmail, you can have your system
deny incoming mail based on domain or sender. We use Sendmail 8.8.5 and have
these lines in our /etc/sendmail.cf:
F{SpamDomains} /usr/local/etc/mail/spamdomains
F{Spammer} /usr/local/etc/mail/spammers
and then in the rewrite rules, down below the Ruleset 98 section is this:
Scheck_mail
R<$={Spammer}> $#error $@ 5.7.1 $: "571 We don't accept junk
mail"
R$* $: $>3 $1
R$*<@$*$={SpamDomains}.>$* $#error $@ 5.7.1 $: "571 We don't accept junk
mail from your domain"
R$*<@$*$={SpamDomains}>$* $#error $@ 5.7.1 $: "571 We don't accept junk
mail from your domain"
R$={Spammer} $#error $@ 5.7.1 $: "571 We don't accept junk
mail"
R$* $: <?> $>3 $1
R<?> $* < @ $+ . > $: <OK>
R<?> $* < @ $+ > $#error $@ 5.7.1 $: "571 Domain must resolve -
check your DNS"
Sorry for the long lines.
The file /usr/local/etc/mail/spamdomains is a list of domains to block, one
per line (our list is nearly 500 domains long now), and the spammers file is
a list of email addresses to block, for those situations where you don't want
to block mail from the entire domain.
WARNING: If you don't know what you're doing, don't mess with your sendmail.cf.
I'm only providing this for informational purposes.
Mike
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- Re: LYNX-DEV lynx-dev list status/problems, (continued)
Re: LYNX-DEV lynx-dev list status/problems, Jim Dennis, 1997/07/14
Re: LYNX-DEV lynx-dev list status/problems, Jim Dennis, 1997/07/14
Re: LYNX-DEV lynx-dev list status/problems, Nelson Henry Eric, 1997/07/14
Re: LYNX-DEV lynx-dev list status/problems, Nelson Henry Eric, 1997/07/14
Re: LYNX-DEV lynx-dev list status/problems, Nelson Henry Eric, 1997/07/14