On Tue, 2003-12-02 at 00:46, Salvatore Toribio wrote:
 The point is that qmail-smtpd waits for a return code from
 qmail-scanner-queue.pl, before closing the connection with the remote
 server, so we can send a proper error code tho reject the mail.


I think you're on the wrong track here - I've thought about this for years and have never done it.

As Qmail-Scanner has to receive the *entire* message before it can
virus/spam scan, then there's no bandwidth saving to be had by causing a
SMTP error to occur. Also, as we can't get control of the error string
qmail-smtpd produces without rewriting qmail-smtpd, then again, the poor
end-user (let's forget about them being a spammer for a moment - they
may be a false positive) simply gets a bounce saying that "an error
occurred" - not exactly helpful.

Well, you're absolutely right as always. There is no bandwith saving at all, I knew that. And the message that the "hypotheticaly" innocent user will recieve is not very helpful.


No, the current system of sending a separate e-mail is still the best
IMO - given the structure qmail-smtpd forces us to work under.

I think that your point of view is solid like a rock.


In the other hand, I want to 'stop' spam messages to my users, and I only stop messages with a high score (quarantine - 8 ; delete/reject - 10).

When I've started to quarantine spam messages notifying the sender I got a lot of messages in the mailserver queue, so I decided to not notify the sender.

Now I'm trying that the server in the other side will deal with the messages I reject, better they than me... Maybe I will change the source of qmail, is only a little change in the file qmail.c, just change the text of the message that qmail-smtpd returns when it receives and exit code 31 from qmail-scanner.

If qmail-smtpd actually piped the error code from
qmail-queue/qmail-scanner-queue.pl back out to the SMTP client, then
doing such things at the SMTP level would be best - but it doesn't....


Well, I don't understad this. Could you explain it?


Cheers

Salvatore


------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to