So I go to /home/myname/Maildir/new and I see three files in that folder.
In PHP I do imap_num_msg(imap_open("{localhost:143/novalidate-cert}INBOX", "myname", "mypass")) and I get 1 as the output.
Shouldn't the numbers be the same?
I do sendmail myname@localhost < email.txt on the CLI and the message appears in /home/myname/Maildir/new and yet imap_num_msg doesn't see it.