Deliver delivers mail locally. Any user can write a shell (or perl or ...) script that processes each incoming message, possibly filing or deleting it based on content. The system administrator may also install scripts that process _all_ incoming messages.