Thanks for the advice Sir,
when I use the configuration "mail_location = mbox:~/mail/:INBOX=/var/mail/%u" and look at the Dovecot's log why it's rejecting my authentication :
May 18 09:26:29 pop3-login: Info: Login: user=<bogi>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured May 18 09:26:29 POP3(bogi): Error: mail_location: mbox: mkdir(/nonexistent/mail) failed: Permission denied (euid=1005(bogi) egid=1005(bogi)) May 18 09:26:29 POP3(bogi): Fatal: Namespace initialization failed May 18 09:27:45 dovecot: Warning: Killed with signal 15 (by pid=82713 uid=0 code=kill)
And Yes, I create all user with no home directory (/nonexistent) and no shell (basically all user will have only mail spool in /var/mail)
any suggestion to avoid this?
should I use a new directory i.e. /var/mail/dovecot with world writable to accommodate this?
thanks in advance