Is /var/spool/mail/$USER maildir format or mbox I have read that mailbox location generally used for mbox format.
maildir
If it is maildir format, then one more question, are you able to see all folders in the maildir or just INBOX using that setting?
folder-collections=Mail #md/Maildir/.mail.[]
Thank you very much for the quick confirmation. If I use #md in my configuration then alpine would show below error message
[Can't open folder #md../../Maildir/mail/username/: no such folder]
So I changed settings as below,(Note: maildir location in dovecot is /Maildir/mail/username and mail gets dropped there so there is no ~Maildir in users home directory)
inbox-path=../../Maildir/mail/username/ maildir-location=../Maildir/mail/username folder-collections=Mail /Maildir/mail/username/.[]
Now pine does not complain and I can read inbox and see folders, however one issue : [/] as a folder after every other actual folder , as below
INBOX ABCD[/] Drafts[/] Queue[/] Saved[/] Sent[/] Trash[/] hello[/]
I wonder if there is a way to configure such that [/] folder will not appear as this way user will have to hit tab twice to see next folder. If I hit enter key on [/] then there is nothing inside but a note saying it is a maildirfolder. If I select ABCD then it works as expected.
Any idea?
Thanks, UG