On 7/8/03 8:11 AM, "Mike Vanecek" <[EMAIL PROTECTED]> wrote:

> Running RH 9, SA 2.55 w/spamc/d, Postfix, procmail, ...
> 
> Q1.
> Does a configuration exist (mailscanner, or such utilities) that would allow
> one to do a standard reject based on the hit score? Based on my existing
> setup, by the time the message goes through SA via spamc, it is already out of
> postfix. I assume that means that a standard smtp type of reject could not be
> done? Does anyone have a setup to reject rather than dev/null and, if so, how?

if you were using Sendmail as your MTA, you could use a tool like MIMEDefang
(which I use, and recommend) or spamass-milter (which I've never used and
know virtually nothing about, however, I know it's available)

with MIMEDefang, I call anti-virus apps and SpamAssassin from within my
filter, and based on certain criteria (which I set) I can
reject/discard/quarantine/etc any piece of mail.

in my configuration, I SMTP REJECT any mail that scores over 8 via
spamassassin. everything between 4 and 8 gets the subject marked with
"****SPAM****" at the beginning so i can spot it easily and deal with it as
necessary.

I don't know if any similar options are available for postfix.
> 
> Q2.
> The downside to this is that it would add bounce messages to the flow of
> things and spammy often does not have valid return addresses. The upside is
> that if I dev/null and it was a valid message, the sender never knows the
> message was lost. If a reject is sent back, then the user could contact the
> recipient via some other means. Hence, would the reject, even if it could be
> done, be a good idea (my idea was to reject as a non-existent user).
> 
> 

SMTP REJECTs are different than "bounce messages" so, basically, if you do,
once you REJECT, it's out of your hands, and your server doesn'T have to
process it.  It's kind of like the post-person ringing your doorbell and
handing you mail for someone that's no longer living at your address. you
say "sorry, wrong address" or "sorry, that person no longer lives here" and
the post-person turns around and walks away...

as opposed to having the misaddressed parcel stuck into your mailbox when
you're not home, you having to then receive it, write "no longer at this
address" or "return to sender" on it, and stick it back into your mailbox
for the post-person to handle the following day.

if you're going to smtp reject (which i personally prefer to over discarding
blindly) then you don't want to reject with a "user unknown" if that's not
the actual case.  You should check the RFC guidlines for rejecting mail to
be sure you're doing it properly.  if memory serves, you'll want to use a
5.7.1 error code with any message you desire.  (for instance, mine is 5.7.1
SPAM not accepted here!)


as usual, your mileage may vary

hope this helps,

alan



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to