>On Thu, 30 Apr 2015 12:12:33 +0300
>Алексей Доморадов < alex_...@mail.ru > wrote:
>
>> But it's very uncomfortable to create maildir for each
>> user manually. Are there any workaround?
>> 
>set "home_mailbox" to "Maildir/", and create "Maildir/{cur,new,tmp}"
>at directory /etc/skel/, so on next adduser/useradd it will be
>automatically create the correct requirement for maildir style inbox.
>
>from main.cf:
>
># DELIVERY TO MAILBOX
>#
># The home_mailbox parameter specifies the optional pathname of a
># mailbox file relative to a user's home directory. The default
># mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
># "Maildir/" for qmail-style delivery (the / is required).
>#
>#home_mailbox = Mailbox
>#home_mailbox = Maildir/
If I correctly understood - path specified in the home_mailbox would be 
relative to a user's home directory. So with home_mailbox = Maildir/ all new 
emails would be stored in the /home/webmaster/Maildir/new. And that is not what 
I want. 

Reply via email to