Hi guys, im looking in writting a greylist Handler but i cant figure out how to do sql commands in smtphander chain. The main problem i have is that i don't know how to modify the next few lines to get them work in smtp:
ServiceManager componentManager = (ServiceManager) getMailetContext().getAttribute(Constants.AVALON_COMPONENT_MANAGER); // Get the DataSourceSelector service DataSourceSelector datasources = (DataSourceSelector) componentManager.lookup(DataSourceSelector.ROLE); // Get the data-source required. datasource = (DataSourceComponent) datasources.select(datasourceName); anyone can give me some tips or help ? thx
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
