#NEWLINE# def opt_aliases( self , filename ) : #NEWLINE# #INDENT# 'Specify an aliases(5) file to use for this domain' #NEWLINE# if ( self . last_domain is not None ) : #NEWLINE# #INDENT# if mail . IAliasableDomain . providedBy ( self . last_domain ) : #NEWLINE# #INDENT# aliases = alias . loadAliasFile ( filename . service . domains , filename ) #NEWLINE# self . last_domain . setAliasGroup ( aliases ) #NEWLINE# self . service . monitor . monitorFile ( filename , AliasUpdater ( self . service . domains , self . last_domain ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise usage . UsageError ( ( '%s does not support alias files' % ( self . last_domain . __class__ . __name__ , ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# raise usage . UsageError ( 'Specify a domain before specifying aliases' )