<% from baruwa.lib.misc import _ spam = [item for item in messages if item.spam] policy = [item for item in messages if not item.spam] %> Baruwa Quarantine report
Baruwa Quarantine report
Want to access the full quarantine ?
View it online.

Quarantine Report

% if spam: % for i, item in enumerate(spam): <% if item.to_domain in host_urls: host = host_urls[item.to_domain] else: host = default_url protocol = str(host.split('://')[0]) host = str(host.split('://')[1]) %> % endfor % endif % if policy: % for i, item in enumerate(policy): <% if item.to_domain in host_urls: host = host_urls[item.to_domain] else: host = default_url protocol = str(host.split('://')[0]) host = str(host.split('://')[1]) %> % endfor % endif

${_('Spam Report')}

${_('Date/Time')}
${_('From Address')}
${_('Subject')}
${_('Release')}
${item.timestamp} ${item.from_address} ${item.subject} ${_('Release')}

${_('Policy Blocked Report')}

${_('Date/Time')}
${_('From Address')}
${_('Subject')}
${_('Release')}
${item.timestamp}
${item.from_address}
${item.subject}
Powered By Baruwa © 2010-2012