From owner-freebsd-questions Sun May 3 22:48:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25602 for freebsd-questions-outgoing; Sun, 3 May 1998 22:48:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from asteroid.svib.ru (root@asteroid.svib.ru [195.151.166.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25593 for ; Sun, 3 May 1998 22:48:04 -0700 (PDT) (envelope-from tarkhil@asteroid.svib.ru) Received: from minas-tirith.pol.ru (shuttle.svib.ru [195.151.166.144]) by asteroid.svib.ru (8.8.8/8.8.8) with ESMTP id JAA13804; Mon, 4 May 1998 09:47:56 +0400 (MSD) (envelope-from tarkhil@asteroid.svib.ru) Received: from minas-tirith.pol.ru (minas-tirith.pol.ru [127.0.0.1]) by minas-tirith.pol.ru (8.8.8/8.8.7) with ESMTP id JAA23010; Mon, 4 May 1998 09:48:20 +0400 (MSD) (envelope-from tarkhil@minas-tirith.pol.ru) Message-Id: <199805040548.JAA23010@minas-tirith.pol.ru> X-Mailer: exmh version 2.0.1 12/23/97 To: Doug White cc: Sebastian Romo , freebsd-questions@FreeBSD.ORG Subject: Re: Spamming Problem In-reply-to: Your message "Sat, 02 May 1998 18:24:09 PDT." Reply-To: tarkhil@asteroid.svib.ru Date: Mon, 04 May 1998 09:48:18 +0400 From: Alex Povolotsky Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White writes: >Check out the modifications in /etc/mail. Hmm... First, the following lines # called with envelope sender, "Mail From: xxx", of SMTP conversation # Scheck_mail R$* $: $>3 $1 R $* < @ $+ . > $: $2 # R $* < @ $+ > $#error $: "451 Domain does not resolve" R $* < @ $+ > $: $2 R$+.$+.$+ $2.$3 R$* $: $(spamsites $1 $: OK $) ROK $@ OK R$+.REJECT $#error $: 521 $1 seems to stip domain to last two levels, which is not enough (I've got some spam from .chel.su, and didn't want to block the entire chel.su; Second, I didn't manage to make antirelaying stuff to work. It keeps reject EVERY mail to any of properly (I hope) marked as "ours" domains.:-( Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message