Hi, > Ok I understand what you are saying and I agree. But that would mean a > total rewrite of SMTP itself and then have everyone use that SMTP engine.
As I see it - unrealistic. People have been talking about a re-write of SMTP for quite some time now, but nothing has happend - og yeah, one thing has happend; the amount of spam sent has increased dramatically... Next thing is to get everyone to use that new engine... But somewhere you still need to have backwards compatible systems. You won't be able to have all mail-servers changed to a new standard within a couple of weeks or months. What should happen if a mail-server isn't capable of handling the new standard ? Should mails from it be rejected ? > Because you are wanting the scannign done on the sending end. > Which can be done, but to get everyone to comply with that will be an > interesting task. Scanning in my case is not done on the sending server - but the message is scanned before being injectted/queued into qmail. If SA calculates a score higher than X the smtp-dialouge should be ended with 5xx - permannent error. Returning 5xx will cause the sending server to fail to deliver the message (the same way as if the recepient didn't exist) - and it won't try to re-send the message. Of course, if such a feature should be implemented, it should be possible to configure the score, that triggers the rejection - and whether this type of spam-handling should be done (or qmail-scanner-queue just should act as it normally does - simply inject the spam into qmail-queue). The sooner spam can be rejected, the better. Regards, /Brian > > Hmm... yeah, but that is after the SMTP dialogue has finished.... I'd > > like the sending SMTP-server to choke in it own cr*p - not being able to > > deliver the message (by returning "5xx - permanent error", instead of > > sending a bounce-message - which doesn't do anything but increasing the > > amount of email traffic).... > > > > > -----Original Message----- > > > > > This is already part of the SpamAssassin code, it will reject or > > > tag emails > > > depending on how you configure it. > > > > > > > ----- Original Message ----- > > > From: "Brian Ipsen" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Saturday, November 29, 2003 6:57 PM > > > Subject: [Qmail-scanner-general]Reject mail if spam score > x ?? > > > > > > > > > > Hi! > > > > > > > > I was wondering - if it is possible to have qmail-scanner drop the > > > > mail if the score calculated by SpamAssassin is higher than x ?? > > > > > > > > I probably need to explain.. As far as I understand, > > > > qmail-scanner calls qmail-queue to add the message to the system. If > > > > something is wrong in the setup, qmail-queue wil return an error-code, > > > > e.g. "53 Write error; e.g., disk full." ... If qmail-smtpd was patched > > > > with a new errorcode, it might be possible to reject spam-mails with > > > > high score after the ending '.' in the smtp dialogue.... > > > > > > > > This might not be the best solution for all setups, but if SpamAssassin > > > > tag's a message wit a score above e.g. 15, the message is > > > > most likely spam - and that's why I'd like to reject it with a 5xx > > > > error-code to the sending server - instead of bothering the receiver > > > > with it.... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general