The feature looks cool thou i was thinking... does it make any snese to
you to implement a more pluggable and structured smtphandler... take
this example:
each smtp command received from the socket generates an SMTPEvent,
pluggable listener can register to specific smtp event and perform
checks. Like an SMTPEventHandler that register on "RCPT TO:" command and
reject unexisting users, or one the prevent spam sender to get to the
SpoolRepository, or one that checks the size of the message.
Just a thought...
Fede
|