#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def validateTo( self , user ) : #NEWLINE# #INDENT# validated = ( yield self . server . validate_to ( self , user ) ) #NEWLINE# if validated : #NEWLINE# #INDENT# message = ProcessorMessage ( self . server , self . from_addr , to_addr = str ( user . dest ) ) #NEWLINE# if self . delivery : #NEWLINE# #INDENT# message . avatar_id = self . delivery . avatar_id #NEWLINE# #UNINDENT# defer . returnValue ( ( lambda : message ) ) #NEWLINE# #UNINDENT# raise smtp . SMTPBadRcpt ( user . dest )