[Mimedefang] SMTP 'rejects' following DATA

Jeremy Mates jmates at sial.org
Tue Feb 10 19:45:58 EST 2004


* Matthew.van.Eerde at hbinc.com <Matthew.van.Eerde at hbinc.com>
> > ... 5.0 is the threshold I'm using site-wide to move mail into a
> > "Junk Mail" folder (I reject during the SMTP conversation if the
> > score is 15 or up)...
> 
> Huh? How do you do that? I don't get a SpamAssassin score until after
> the DATA phase, at which time it's too late to reject.

SMTP allows 5.x.x and 4.x.x responses following DATA, instead of the
usual 2.x.x acceptance. SpamAssassin is run from MIMEDefang before this
response is made. See the mimedefang-filter(5) man page for more
information on the following functions:

5.x.x - action_bounce()
4.x.x - action_tempfail()



More information about the MIMEDefang mailing list