Specialized aggregation function for spamd.