local transport: how to automatically create Maildir

2015-04-30 Thread Алексей Доморадов
Hello, I'm using local transport and system user with maildir. But when I sent mail in the log I see the following error Apr 30 08:01:15 jira-srv01 postfix/local[20496]: warning: perhaps you need to create the maildirs in advance Apr 30 08:01:15 jira-srv01 postfix/smtpd[20530]: disconnect

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
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

Re[2]: local transport: how to automatically create Maildir

2015-04-30 Thread Алексей Доморадов
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

Re[2]: local transport: how to automatically create Maildir

2015-04-30 Thread Алексей Доморадов
Четверг, 30 апреля 2015, 21:53 +07:00 от Koko Wijatmoko k...@wijatmoko.name: On Thu, 30 Apr 2015 16:53:30 +0300 Алексей Доморадов alex_...@mail.ru wrote: If I correctly understood - path specified in the home_mailbox would be relative to a user's home directory. So with home_mailbox =

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 18:14:08 +0300 Алексей Доморадов alex_...@mail.ru wrote: Are we reading the same man page? :) I don't see any notes about adduser.local in man useradd on CentOS 6 do your home work first, try it... if not work then upgrade your adduser package rpm from centos 7 or latest

Re[2]: local transport: how to automatically create Maildir

2015-04-30 Thread Алексей Доморадов
On Thu, 30 Apr 2015 18:14:08 +0300 Алексей Доморадов alex_...@mail.ru wrote: Are we reading the same man page? :) I don't see any notes about adduser.local in man useradd on CentOS 6 do your home work first, try it... if not work then upgrade your adduser package rpm from centos 7 or latest

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 16:53:30 +0300 Алексей Доморадов alex_...@mail.ru wrote: 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

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Michael Tokarev
30.04.2015 14:21, Koko Wijatmoko wrote: 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? Postfix do create missing Maildirs by default, there's no need to do extra