> But, what is the advantage of this? It does not reduce your bandwidth by
> avoiding transfer of unwanted emails, since your milter has to see enough of
> the content to decide not to accept it.
The advantage is sending a 5xx reject instead of a 2xx "message accepted for delivery" to the connecting mta. It is now up to the connecting mta to deal with the message.
It does reduce bandwidth if you reject before receiving the whole message. I don't know if clamav does this, but if it can, it should.
No, it won't save bandwidth.
Once the client sends DATA and you reply "go ahead", you must wait for the DOT to 550 them. If you break the connection before all the data has been sent, even if you send a response code the client will see a dropped connection and (correctly) attempt to send the whole message again.
Yes, it's useful and good to 550 the message during SMTP rather than accept and later discard it, but it won't save you bandwidth.
--
Noel Jones
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users