I have setup a working SMTP, IMAP and POP3 server using Postfix and Dovecot. I have setup virtual mailboxes using the format
%d is the domain (e.g. camilstaps.nl) and
%u is the 'user' (e.g. info) - thus email@example.com has
/home/vmail/camilstaps.nl/info. I now would like to setup Procmail to use filters.
I have read this wiki, for example, but I don't think it applies to my situation with virtual mailboxes. I have not enough knowledge of Procmail to do this all by myself.
Could anyone explain to me or give me a link where to start? I searched on google but only came across useless forum threads, no documentation or tutorial. That makes me wonder if it's even possible to do this.