Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 14:22:57 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        questions@freebsd.org
Cc:        sendmail@sendmail.org
Subject:   virtusertable blocking seems to have no effect
Message-ID:  <200603281422.57389.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hi!

I host a domain with a handful of "real" addresses. I noticed, that spammers are using a variety of random-generated names @mydomain and wish to block such addresses with "No spam" responses instead of "User unknown".

Here is (almost) what I have in the virtusertable:

	stol@example.com  foo
	hq@example.com    bar
	@example.com      error:5.7.0:550 No spam, thanks

I can see the "No spam,thanks" messages logged in the maillog (without the space after coma, for some reason), but there is no reject=550 message logged (which interferes with my other software) and some of these messages seem to pass through (although others are intercepted by other anti-spam defenses).

For example, here are the only two log entries, that a spam message generates:

Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: <xgfytxswpcpc@blackalpinist.com>... No spam,thanks
Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: from=<example@example.net>, size=3305, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=example.example.net [xx.x.xx.xxx]

Despite the "No spam,thanks" the message was accepted.

What am I doing wrong? Thanks!

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603281422.57389.mi%2Bmx>