On Sun, 1 Feb 2004, Harald Schneider wrote: > Hi Davide, > > is there a chance to see SMTP dialog filter hooks in the next release? > This would make the filtering engine more flexible: > > You could check the RCPT_TO and act before the message is accepted. > E.g. checking a forwarding target server, if the user exists there, > before accepting and forwarding the whole mail. > > Hooks after each SMTP command and after each data line would be a nice > thing, e.g.: > > HOOK_HELO > HOOK_MAIL_FROM > HOOK_RCPT_TO > HOOK_DATALINE > > So a script could also do anti spam and anti virus checking on the fly, > aborting conversation without accepting the whole message. > > What do you think?
I do not believe in online SPAM filtering. Because of a huge load on the server and because SPAM messages are typically very small. It's not that we are talking of 1-2MB messages, where cutting them at SMTP might be bandwidth saving. SPAM messages are typically < 10Kb, and from the time you cut them, network layers have already ack the data == the bandwidth damage has already been done. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
