root@serverinet:/var/log# nmap localhost |grep 143
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
143/tcp open imap
root@serverinet:/var/log# telnet localhost 143
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
a login firstname.lastname@example.org password
* BYE [ALERT] Fatal error: lim.if.ua/brun/: No such file or directory
Connection closed by foreign host.
Error that the service does not automatically creates a directory. Made for example. Where is wrong?