I'll explain the problem. The sheer volume of mal-email hitting my server is beginning to look like a DOS attack. The spam comes in waves, but when it does it ties up smtpfront as each incoming is scanned (I do both virus and spam scanning at this point via Amavis). This clearly causes timeouts to further incoming, which then diverts via my backup channel (my hosting provider).
This causes further problems, as it has to wait until fetchmail picks it up, and multidrop fetch is not ideal, with some inevitable mis-delivery etc.
What I'd like is for incoming messages to be dropped direct to disk, forming a queue which is then picked up, scanned, and delivered at whatever speed the system can cope with. It's not a powerful server, but it doesn't need to be, and I'm damned if I'm going to buy a bigger server just so I can throwaway spam faster!
Any ideas on how to configure this? Never mind templates for the moment, what would the core elements of the setup have to be?
TIA for any ideas.