ftpserver.pl: Added mailbox check to IMAP SELECT handler