Is it possible to have e-mails from/to certain contacts immediately and automatically stored in a distinct folder?

Is it possible to have e-mails from/to certain contacts immediately and automatically stored in a distinct folder?

The title says it all:

Is it possible to have e-mails from/to certain contacts immediately and automatically stored in a distinct folder (i.e some other folder than Inbox)?

Thanks,
Axel