I am setting up IMAP mail for a client and want to use extension '+' addressing for IMAP folders e.g.
INBOX --test1 --test2
So the address firstname.lastname@example.org will go directly to the "test1" folder.
I found this post http://www.virtualmin.com/node/18217#comment-81249 and tried editing the mailbox delivery command in /etc/procmail/main.cf file, then adding a .procmailrc file as directed.
One question there though, is the directory in which to place the .procmailrc file, ~/homes/username?
Is a .forward file required with |/usr/bin/procmail as per http://doxfer.com/Webmin/ProcmailMailFilter? I tried adding a .forward file as well to ~/homes/username.
I also restarted postfix after making changes. In any case, so far no luck. Mail with the '+test1' or '+test2' added (email@example.com) is still go to the INBOX and not the subfolder.
It would be great to get this working at the server level, rather than filtering with the email client.
Is there something I am missing here?