I'm looking at doing some custom validation of the HELO parameter (ie. 
modifying SMTPSvr.cpp code), and I need a bit of advice. I can see quite 
plainly how to cause an error message to be sent back to the session, but I 
can't see how to force the session to drop/disconnect. Is there a way to 
force the connection to drop at this point?

(The modification I'm doing is to validate the HELO name against 
spam-address.tab to reject mail from anyone who HELOs with a specific name 
or name pattern... For instance, if someone HELOs with "localhost", I don't 
want the mail, so I want to return a 550 and disconnect - but I can't 
figure how to disconnect....)


-
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]

Reply via email to