Spam filter points to wrong directory

I created new email filter in Usermin with setting
- Save to new folder named
- Save to new folder named (=junk)

No when I saved the new filter it created
.procmail file under user home directory. But the filter had
* X-Spam-Status: Yes
$HOME/Maildir/.junk/

Even though my default maildir is .maildir (not Maildir). That setting is saved to Procmail and Postfix settings. Is this a bug or is there still some place where I have to set this .maildir directory for default mail directory?? From where does this Usermin email filter read the setting?

Status: 
Closed (fixed)