You may want to look at the "spamc -c" option which will return error codes that correspond to the number of hits, etc.. Based on what spamc -c reports you could exit with a particular status code that would cause the SMTP session to fail and not continue. I personally use qmail and an exit code of 100 causes the SMTP session to terminate immediately. Hope this points you in the right direction.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Kenneth Chen > Sent: Sunday, March 17, 2002 2:56 PM > To: [EMAIL PROTECTED] > Subject: Re: [SAtalk] Re: How to put hits in subject (Was Re: Why to > deliver SPAM even if it's identified.) > > > Hey Erik: > > What I've done in my /etc/mail/spamassassin/local.cf is to put this line: > > subject_tag *****SPAM***** _HITS_ > > I saved local.cf and killed/restarted spamd and now the spams that get > caught have this as the subject (for example): > > "*****SPAM***** 23.5 ADV: Try SpamAssassin for free for a limited time!" > > However, I've still not figured out how to get it to bounce at the SMTP > level. > > Regards, > Kenneth > > > > ----------------------------------- > Kenneth Chen > Unit Supervisor, Clark Kerr and UVA > Residential Computing > University of California, Berkeley > [EMAIL PROTECTED] > > On Sun, 17 Mar 2002, Erik van der Meulen wrote: > > > On Sat, Mar 16, 2002 at 01:18:32AM -0800, Kenneth Chen wrote: > > > > > Thanks for the tip! It works fine. Now to figure out how to get the > > > emails bounced right away (or simply rejected at the SMTP level) > > > > Hi - I have tried to do the same, only without success. Could you please > > elaborate a little about the exact location and syntax of this > > modification? > > > > Thanks a lot. > > > > -- > > Erik van der Meulen <[EMAIL PROTECTED]> > > > > _______________________________________________ > > Spamassassin-talk mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk