Re: Home Directory Creation

2019-10-05 Thread Asai via dovecot
On 10/4/2019 10:31 PM, Aki Tuomi via dovecot wrote: As experiment, you could maybe use mail_lua plugin to create the user directory on demand, make a lua script with function mail_user_created(user) -- create directory for user:home end See https://doc.dovecot.org/plugin-settings/mail-lua-plugin

Re: Home Directory Creation

2019-10-04 Thread Asai via dovecot
As experiment, you could maybe use mail_lua plugin to create the user directory on demand, make a lua script with function mail_user_created(user) -- create directory for user:home end See https://doc.dovecot.org/plugin-settings/mail-lua-plugin/ and https://wiki.dovecot.org/Design/Lua

Re: Home Directory Creation

2019-10-04 Thread Asai via dovecot
On 10/4/2019 12:58 AM, Sami Ketola via dovecot wrote: It depends heavily on how do you add users to your system. If you are using LDAP to store the user information then you can create the home directory at the same time you add the user to ldap. Sami Hello, Sami. Thanks for your reply. We

Re: Home Directory Creation

2019-10-03 Thread Asai via dovecot
One thing Timo mentioned in this post (https://dovecot.org/list/dovecot/2013-May/090397.html) is: "You could also change your new user creation to trigger mkdiring the user's home." Does anyone know where I can find any documentation on this, or has anyone done this? Thanks, Asai

Re: Home Directory Creation

2019-10-03 Thread Asai via dovecot
Looks like this still old reply from TImo applies: https://dovecot.org/list/dovecot/2013-May/090397.html The welcome plugin could maybe of help: https://doc.dovecot.org/plugin-settings/welcome-plugin/ Regards, Stephan. Thanks, Stephan, looks like Timo's already answered it. OK, so the n

Re: Home Directory Creation

2019-10-03 Thread Asai via dovecot
Tried your config here and it works. My debug log looks as follows for the first brief IMAP session: Oct  3 22:28:56 drieka dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21949, secured, session= Oct  3 22:28:56 drieka dovecot: imap(diederik-jan): Debug: Added user

Re: Home Directory Creation

2019-10-03 Thread Asai via dovecot
this already. Asai On 10/2/2019 5:08 PM, Asai via dovecot wrote: Hello, I spent the afternoon troubleshooting this, and after hours, I still can't see what I'm missing. On the older version of Dovecot (2.2) it worked fine to create a new user, then Dovecot would create the h

Re: Home Directory Creation

2019-10-02 Thread Asai via dovecot
Hello, I spent the afternoon troubleshooting this, and after hours, I still can't see what I'm missing. On the older version of Dovecot (2.2) it worked fine to create a new user, then Dovecot would create the home folder under the maildir folder as outlined in the documentation, simply by cr

Re: Home Directory Creation

2019-10-02 Thread Asai via dovecot
On 10/1/2019 11:42 PM, Aki Tuomi via dovecot wrote: Can you configure mail_debug=yes, try again, and post the logs? Aki Hello Aki, This is the only piece of relevant info I've been getting in the logs, and I'm trying to figure out how I can get more debug data on this: Oct 02 07:34:09 im

Re: Home Directory Creation

2019-10-01 Thread Asai via dovecot
Asai via dovecot skrev den 2019-10-02 03:00: https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/#home-directories-for-virtual-users mail_home = /var/vmail/%d/%n mail_location = maildir:~/mail little diff Hello, Thanks for replying.  I understand that that&#

Home Directory Creation

2019-10-01 Thread Asai via dovecot
Hello, I hate to have to ask this, but... why isn't the home directory being created automatically? Due to legacy compatibility we've had to use this type of home dir config: mail_location = maildir:/vmail/%d/%n mail_home = /vmail/%d/%n/home We're in the middle of upgrading to new hardware,

Re: NFS Locking and Submission Service Authentication

2019-09-25 Thread Asai via dovecot
On 9/25/2019 4:17 PM, Adi Pircalabu via dovecot wrote: How is your NFS export mounted on the client? Can you post the output of "egrep nfs /proc/mounts"? Hi Adi, thank you for your reply. Turns out that the problem was that the firewall on the Dovecot server needed to be opened to allow th

Re: NFS Locking and Submission Service Authentication

2019-09-25 Thread Asai via dovecot
On 9/25/2019 2:06 PM, Michael Peddemors via dovecot wrote: For the record, ever since the last patches for NFS got committed, we don't see locking issues over NFS in general across all our platforms, but it also depends on how you configure your NFS server. You might find that this is not a do

NFS Locking and Submission Service Authentication

2019-09-25 Thread Asai via dovecot
Greetings, We're in the process of upgrading our Dovecot server to new hardware and new expanded storage.  We planned on using an NFS share for the mail storage, as we're running Postfix / Dovecot on a VM and wanted to separate out the mail storage from the VM for backup reasons. I read as m

Re: Dovecot Logging and Shell Script Hang

2019-02-27 Thread Asai via dovecot
On Feb 27, 2019, at 11:00 AM, Aki Tuomi via dovecot wrote: > > >> On 27 February 2019 18:49 Asai via dovecot wrote: >> >> >> Greetings, >> >> We have a PHP based shell script that runs a doveadm backup routine. >> >> This script was run

Dovecot Logging and Shell Script Hang

2019-02-27 Thread Asai via dovecot
Greetings, We have a PHP based shell script that runs a doveadm backup routine. This script was running just fine, and then we turned on more logging for Dovecot (enabled the mail_log plugin). For some reason, once this was done, the shell script would run for a few minutes and then hang, as i