<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.7">
</HEAD>
<BODY>
Randy,<BR>
<BR>
A lot easier (and better) to do this in the MTA. A sendmail example would be to use the virtusertable feature. <BR>
<BR>
Enable sendmail to use the virtusertable feature, then create the virtual user table with entries similar to:<BR>
<BR>
joe@yourdomain.com joe@yourdomain1.com
<PRE>jim@yourdomain.com jim@yourdomain.com
sally@yourdomain.com sally@yourdomain.com
@yourdomain.com error:nouser No such user here
A fuller explanation can be found at:
<A HREF="http://naughty.monkey.org/openbsd/archive/misc/0204/msg00846.html">http://naughty.monkey.org/openbsd/archive/misc/0204/msg00846.html</A>
On Tue, 2003-07-22 at 12:43, Randy Herban wrote:</PRE>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>I have a question about how versitile mailscanner/spamassassin might be
to do user verification.
I've been thinkin about it for a while and my mentality was to have
mailscanner do the verification, if the user doesn't exist, delete the
mail and proceed onto the next, bypassing the rest of the checks as we
won't be delivering this mail anyway.
This has a nasty side as legit mail to a user who was just deleted
wouldn't get bounced back.
My next thought was to use a spamassassin type scoring to it. For each
nonexistent user we add a score of 1. If there are that many to push it
over the high spam score then it will get deleted but single messages
(boucebacks) would go under the radar and get delivered fine.
I know that I would be able to write this into mailscanner itself (being
as it's a perl script) but not sure if it's possible to tie it into the
spamassassin scoring.
Does anyone with more knowledge have any input that might assist me?
Thanks
Randy</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>