I installed Getmail to retrieve emails from another email server and Procmail to filter the incoming emails. (I am running Debian/Squeeze.)
The recipe I created has this code:
:0: * ^TO_myemailaddress@domain.com Xyz
I thought this will make sure that all incoming emails will be saved in
~/Maildir/Xyz/ as individual files. Instead, it seems to be creating a file called
Xyz (not a directory) inside
~/Maildir/ and appending new emails to the same file.
How do I save incoming mails as individual files to a folder, instead of a single file?