Original von meyerm
I want Kmail to notify me (f.ex. by sound) when new mail arrives. OK, that works. But I want it just for special folders. The optimum would be to play different sound for some folders. F.ex. nothing in Inbox, an alert in SysAdmin.ServerAlerts and the "SpamSong" from Monty Python for the Spam-folder ;-)
You can execute any program as part of a filter action.
So you just extend your current filter's action list and add an action to execute a command.
Use something like "artsplay sound.wav"
Cheers,
_