permissions of newly created mailboxes only with dovecot-lda and posix acls

2018-07-01 Thread Alexander 'Leo' Bergolth
reated with dovecot-lda (sieve), permissions look like that: $ ls -ld Maildir Maildir/2018-q3 Maildir/2018-q3/__MAILBOX__ drwxrws---+ 49 leo leo 4096 Jul 1 09:53 Maildir drwxrwx---+ 3 leo leo 24 Jul 1 09:40 Maildir/2018-q3 drwxrwx---+ 2 leo staff6 Jul 1 09:40 Maildir/2018-q3/__MAILBOX__

use a second userdb that only returns extra fields

2016-10-28 Thread Alexander 'Leo' Bergolth
userdb anymore. (Even if I don't set userdb_uid and userdb_gid in checkpassword.) On the other hand there are no environment variables that pass the settings from the previous lookup to the checkpassword script. Cheers, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 lo

Re: sieve duplicate locking

2016-10-20 Thread Alexander 'Leo' Bergolth
On 10/19/2016 12:51 PM, Stephan Bosch wrote: > Op 17-10-2016 om 18:05 schreef Alexander 'Leo' Bergolth: >> Does the duplicate sieve plugin do any locking to avoid duplicate >> parallel delivery of the same message? [...] >> Is there an easy way to serialize mail delive

sieve duplicate locking

2016-10-17 Thread Alexander 'Leo' Bergolth
as mailbox_command. Mailbox format is maildir with LAYOUT=fs. Cheers, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria

Re: custom mail_location detection for dovecot lda

2016-08-08 Thread Alexander 'Leo' Bergolth
On 08/08/2016 05:34 PM, Stephan Bosch wrote: > Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth: >> Is it possible to do something like "post-login scripting" to detect and >> set a per-user custom mail location for dovecot LDA delivery? >> > You coul

custom mail_location detection for dovecot lda

2016-08-08 Thread Alexander 'Leo' Bergolth
like overriding userdb fields may be done using imap postlogin scripts, but unfortunately this doesn't seem to be honored. (Also tried with dovecot-lda -k.) Woud be very useful for slow migration from one mailbox format to another. Is there any other way to supply a custom mail_location to dovecot-

Re: Sieve: carry global variables from sieve_before to user sieve scripts

2014-10-25 Thread Alexander 'Leo' Bergolth
On 20.10.2014 11:48, Alexander 'Leo' Bergolth wrote: Is there a way to initialize global variables with default values in sieve_before scripts that can be used in the sieve_default script or in user scripts? OK. I guess that's currently not possible. I had a quick look in the code, the global

Sieve: carry global variables from sieve_before to user sieve scripts

2014-10-20 Thread Alexander 'Leo' Bergolth
require [variables, include]; require vnd.dovecot.debug; set global.S_TESTVAR leo; debug_log LEO SIEVE: in before.d/10-set-defaults, S_TESTVAR: ${global.S_TESTVAR}; 8 default.sieve: 8 require [variables, include]; require

Re: v2.2.14 released

2014-10-16 Thread Alexander 'Leo' Bergolth
INBOX UID 25775) 8 Cheers, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria

permissions when moving mails

2014-10-15 Thread Alexander 'Leo' Bergolth
directories are owned by different groups, dovecot doesn't copy the mails. (See my example below.) Setting maildir_copy_with_hardlinks = no seems to fix the problem but maybe this behavior should be considered as a bug? I am using dovecot 2.2.14 and maildir mailboxes. Cheers, --leo P.S.: Here

Re: [Dovecot] Index cache errors worse with 2.2.x

2014-05-24 Thread Alexander 'Leo' Bergolth
On 23.05.2014 22:03, Timo Sirainen wrote: On 5/7/2014 4:38 PM, Alexander 'Leo' Bergolth l...@strike.wu.ac.at wrote: I am getting Cached message size smaller than expected errors since dovecot-2.1.x. I tried dovecot 2.2.7, 2.2.10 and 2.2.12. All of them produce tha same errors. (Cached

Re: [Dovecot] Index cache errors worse with 2.2.x

2014-05-23 Thread Alexander 'Leo' Bergolth
On 05/08/2014 11:59 AM, Alexander 'Leo' Bergolth wrote: On 05/08/2014 11:44 AM, Charles Marcus wrote: On 5/7/2014 4:38 PM, Alexander 'Leo' Bergolth l...@strike.wu.ac.at wrote: I am getting Cached message size smaller than expected errors since dovecot-2.1.x. I tried dovecot 2.2.7, 2.2.10

Re: [Dovecot] Crash in pop3 with recent dovecot, backtrace

2014-02-17 Thread Leo
not notice the announcement of 2.2.12 here on the list. I very much apologize ... However many thanks for your quick replies! Regards, Leo On 02/14/2014 09:38 PM, Reindl Harald wrote: Am 14.02.2014 18:22, schrieb Leo: I have the same crashes in pop3 with the recent dovecot release 2.2.11

Re: [Dovecot] Crash in pop3 with recent dovecot, backtrace

2014-02-14 Thread Leo
= optimized out storage_service_flags = optimized out username = optimized out c = optimized out (gdb) - end backtrace - Kind regards, Leo

Re: [Dovecot] userdb namespace settings bug

2012-05-14 Thread Alexander 'Leo' Bergolth
On 05/14/2012 10:40 AM, Alexander 'Leo' Bergolth wrote: On 05/13/2012 11:40 PM, Alexander 'Leo' Bergolth wrote: Since upgrading to 2.1.6, setting namespaces via environment variables using a imap-postlogin-script *sometimes* doesn't work. See the error message: Unknown userdb setting: plugin

[Dovecot] userdb namespace settings bug

2012-05-13 Thread Alexander 'Leo' Bergolth
! Unfortunately I have done the upgrade on a production system, so the issue is quite serious for me.. Will downgrading to 2.0 work? (Index-files, etc?) Thanks, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics

Re: [Dovecot] duplicates with multiple To/CC and sieve redirect copy

2012-03-08 Thread Leo Baltus
I am not sure if this a bug or not, I suppose you know the rfc's better than I do, is the sieve language supposed to be agnostic of the internals of the storage-engine (dovecot)? -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services/NPO

Re: [Dovecot] setting namespaces using script-login environment in 2.0

2011-11-16 Thread Alexander 'Leo' Bergolth
On 11/04/2011 10:18 PM, Timo Sirainen wrote: On Mon, 2011-10-31 at 18:00 +0100, Alexander 'Leo' Bergolth wrote: NAMESPACE_2='maildir:/var/mail/Shared/spamrep:INDEX=~/Maildir/index/Shared/spamrep' NAMESPACE_2_PREFIX=Shared/spamrep/ The settings are now named. http://wiki2.dovecot.org

Re: [Dovecot] setting namespaces using script-login environment in 2.0

2011-11-01 Thread Alexander 'Leo' Bergolth
On 10/31/2011 06:41 PM, e-frog wrote: On 31.10.2011 18:00, wrote Alexander 'Leo' Bergolth: Have environment based namespace settings been abandoned in 2.0? I think you need to add them to USERDB_KEYS now... http://wiki2.dovecot.org/PostLoginScripting#Running_environment I have added

[Dovecot] setting namespaces using script-login environment in 2.0

2011-10-31 Thread Alexander 'Leo' Bergolth
abandoned in 2.0? Does Dovecot 2.0 maybe provide a better way to only display those folders, for which the user has at least read permissions? (Unix-permission based) Thanks in advance, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services

[Dovecot] listen = ipv4, ipv6

2011-05-03 Thread Leo Baltus
configure ipv4 ipv6 with ip-addresses? -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services/NPO/\ Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/ beh...@omroep.nl, 035-6773555 \/

[Dovecot] Can't expand ~ for mail root dir

2010-11-09 Thread Leo Baltus
@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:~/mail:INBOX=/e/ml/tech1/home/foo ~/ didn't work either: foo@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:~/:INBOX=/e/ml/tech1/home/foo -- Leo Baltus, internetbeheerder

[Dovecot] default domain empty

2010-04-14 Thread Leo Unglaub
to this beause i need the %%d for mailbox sharing. Can i override the domain with a value from the user db or is it possible with a login script or somethink? Thank you a lot Greetings from Austria Leo

Re: [Dovecot] default domain empty

2010-04-14 Thread Leo Unglaub
. in the mail_localtion. My dovecot version is mail:/etc/dovecot# dovecot --version 1.2.11 Is there a other solution for this? Thanks a lot Greetings Leo

[Dovecot] shared mailboxes, mkdir_parents problem

2010-03-22 Thread Leo Unglaub
pass_filter = ((objectClass=posixAccount)(uid=%n)) pass_attrs = uid=user,userPassword=password,\ homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid default_pass_scheme = CRYPT Thank you very much. Greetings from Austria Leo

[Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
'. Feb 13 00:21:19 leo-x61 dovecot: deliver(leo): fchown(/home/leo/mail/.imap/INBOX/dovecot.index.log.newlock, -1, 12(mail)) failed: Operation not permitted (egid=100(users), group based on /var/mail/leo) I know that dovecot tries to clone the mailbox permissions in order to support shared folders

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
On 02/13/2010 09:28 PM, Pascal Volk wrote: On 02/13/2010 02:57 PM Alexander 'Leo' Bergolth wrote: I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my local users on my postfix-system. However, deliver tries to copy the filesystem permissions of the mail-spool-files

Re: [Dovecot] deliver and cloning file permissions

2010-02-13 Thread Alexander 'Leo' Bergolth
On 02/14/2010 12:45 AM, Pascal Volk wrote: On 02/14/2010 12:03 AM Alexander 'Leo' Bergolth wrote: On 02/13/2010 09:28 PM, Pascal Volk wrote: Dovecot: dovecot.conf² mail_location = maildir:~/Maildir Unfortunately switching from mbox to maildir is not an option. Btw. I don't see

Re: [Dovecot] Dovecot(MYSQL)/Lda/Postfix/Postfixadmin and Quota limit per user

2010-01-12 Thread leo
Timo Sirainen wrote: On 6.1.2010, at 16.45, leo wrote: passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf OK, password_query is read. userdb: driver: static args: uid=6000 gid=6000 home=/home/vmail/%d/%n allow_all_users=yes This userdb static catches

[Dovecot] Dovecot(MYSQL)/Lda/Postfix/Postfixadmin and Quota limit per user

2010-01-06 Thread leo
== DOVECOT.CONF = # 1.2.8: /usr/local/etc/dovecot.conf # OS: FreeBSD 8.0-STABLE i386 ufs log_path: /var/log/dovecot-error.log info_log_path: /var/log/dovecot.log protocols: imap imaps pop3 pop3s ssl_cert_file: /etc/ssl/dovecot/cert.pem ssl_key_file:

[Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
the herarchy separator to '.' even creating Shared/sharedmailbox/test will fail. Any hints? Thanks, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria # 1.2.8: /etc/dovecot.conf # OS: Linux 2.6.27.12

Re: [Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
On 11/23/2009 06:28 PM, Timo Sirainen wrote: On Mon, 2009-11-23 at 17:03 +0100, Alexander 'Leo' Bergolth wrote: However now that I've upgraded to 1.2.8, I cannot create subfolders anymore. The server responds with NO Invalid mailbox name: test/testsub. The hierarchy separator

Re: [Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
On 11/23/2009 07:27 PM, Timo Sirainen wrote: On Mon, 2009-11-23 at 19:19 +0100, Alexander 'Leo' Bergolth wrote: Nov 23 19:10:15 strike dovecot: IMAP(leo): Namespace: type=shared, prefix=Shared/spamrep/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no See if using type=public works

Re: [Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
On 11/23/2009 09:51 PM, Timo Sirainen wrote: On Mon, 2009-11-23 at 21:39 +0100, Alexander 'Leo' Bergolth wrote: 16 list % ... and dovecot returns Shared without \Noselect: * LIST (\HasChildren) / Shared Is there a way to tell dovecot that this is only the base of my namespaces

Re: [Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
On 11/23/2009 11:05 PM, Timo Sirainen wrote: On Mon, 2009-11-23 at 22:56 +0100, Alexander 'Leo' Bergolth wrote: Also do you have a /var/spool/mail/Shared/spamrep/cur/ directory? Yes: # ls -ld /var/spool/mail/Shared/spamrep/cur drwxrws--- 2 nobody spamrep 6 2009-11-23 16:02 /var/spool/mail

Re: [Dovecot] shared mailboxes using namespaces in 1.2

2009-11-23 Thread Alexander 'Leo' Bergolth
On 11/23/2009 11:05 PM, Timo Sirainen wrote: On Mon, 2009-11-23 at 22:56 +0100, Alexander 'Leo' Bergolth wrote: Also do you have a /var/spool/mail/Shared/spamrep/cur/ directory? Yes: # ls -ld /var/spool/mail/Shared/spamrep/cur drwxrws--- 2 nobody spamrep 6 2009-11-23 16:02 /var/spool/mail

[Dovecot] Unable to create imap nested dirs.

2009-11-02 Thread Leo
Hi all, I'm trying to config a dovecot server on a debian-lenny box but I'm experiencing a problem that serveral users have on the net, but I haven't found any solution. I'm trying to create nested dirs with my thunderbird 2.0.0.23 client but without any luck :( I can create dir in the

Re: [Dovecot] [Dovecot-news] Released Sieve v0.1.10 for Dovecot v1.2.2

2009-08-04 Thread Leo Baltus
as a procmail replacement. The lack of date handling in sieve is holding me from doing so. I think you are aware of rfc5260, may I suggest it as a feature request? -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services/NPO/\ Sumatralaan 45, 1217

Re: [Dovecot] [Dovecot-news] Released Sieve v0.1.10 for Dovecot v1.2.2

2009-08-04 Thread Leo Baltus
Op 04/08/2009 om 11:15:39 +0200, schreef Stephan Bosch: Leo Baltus wrote: Op 04/08/2009 om 10:46:59 +0200, schreef Stephan Bosch: Leo Baltus wrote: Hi Stephan, I would very much like to start using sieve as a procmail replacement. The lack of date handling in sieve is holding me from doing

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-14 Thread Leo Baltus
Op 13/07/2009 om 16:22:58 -0400, schreef Timo Sirainen: On Mon, 2009-07-13 at 21:56 +0200, Leo Baltus wrote: Maybe it could be in base_dir or have a configuration option of its own? It's copied to base_dir, but it's not primarily stored there because base_dir is typically under

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-14 Thread Leo Baltus
Op 14/07/2009 om 02:32:37 -0400, schreef Timo Sirainen: On Jul 14, 2009, at 2:29 AM, Leo Baltus wrote: Maybe there a reason not to use base_dir which I am overlooking? base_dir in most installations is wiped out when rebooting, and the ssl-parameters file shouldn't be deleted then. Ah, ok

[Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
to problems when you're running multiple instances on one machine. Apart from that, it would be very useful if wasn't hard- coded like that. Maybe it could be in base_dir or have a configuration option of its own? -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services

Re: [Dovecot] SSL_PARAMETERS_PERM_PATH

2009-07-13 Thread Leo Baltus
Hi Timo, Op 13/07/2009 om 12:19:43 -0400, schreef Timo Sirainen: On Mon, 2009-07-13 at 15:54 +0200, Leo Baltus wrote: I am not on this list so please CC me. Using dovecot-1.2.x it seems we can not configure the location of ssl- parameters.dat.tmp, it is hard coded to be in PKG_STATEDIR

[Dovecot] unsubscribe dovecot.org

2009-01-13 Thread Leo P CHENG
thanks

[Dovecot] deliver: keep existing From_ line

2007-12-30 Thread Alexander 'Leo' Bergolth
in a variable. (I'd have to extract it from the first line of the mail using a separate receipe, which isn't very efficient.) Is there a way to keep the already existing From line? Thanks in advance, --leo -- e-mail ::: Alexander.Bergolth (at) wu-wien.ac.at fax ::: +43-1-31336-906050

Re: [Dovecot] namespaces, shared mailboxes

2007-12-02 Thread Alexander 'Leo' Bergolth
On 12/02/2007 09:41 AM, Nikolay Shopik wrote: On 02.12.2007 1:59, Alexander 'Leo' Bergolth wrote: I'd like to provide shared mailboxes with maildir that should appear like 'Shared/mailboxname' to the clients. Using the namespace configuration below, everything works fine, exept one thing

Re: [Dovecot] namespaces, shared mailboxes

2007-12-02 Thread Alexander 'Leo' Bergolth
On 12/02/2007 02:45 PM, Timo Sirainen wrote: On Sat, 2007-12-01 at 23:59 +0100, Alexander 'Leo' Bergolth wrote: I'd like to provide shared mailboxes with maildir that should appear like 'Shared/mailboxname' to the clients. Using the namespace configuration below, everything works fine, exept

Re: [Dovecot] namespaces, shared mailboxes

2007-12-02 Thread Alexander 'Leo' Bergolth
On 12/02/2007 09:35 PM, Benjamin R. Haskell wrote: On Sun, 2 Dec 2007, Nikolay Shopik wrote: On 02.12.2007 23:21, Alexander 'Leo' Bergolth wrote: [...] I'd like to be able to deliver e.g. new mail to the technical support directly to Shared/tech/ but if that's not possible, it isn't a big

Re: [Dovecot] namespaces, shared mailboxes

2007-12-02 Thread Alexander 'Leo' Bergolth
On 12/02/2007 08:59 PM, Benjamin R. Haskell wrote: On Sun, 2 Dec 2007, Timo Sirainen wrote: On Sat, 2007-12-01 at 23:59 +0100, Alexander 'Leo' Bergolth wrote: I'd like to provide shared mailboxes with maildir that should appear like 'Shared/mailboxname' to the clients. Using the namespace

[Dovecot] namespaces, shared mailboxes

2007-12-01 Thread Alexander 'Leo' Bergolth
supports folders that contain subfolders and messages is enabled in Thunderbird's advanced server settings. Thanks in advance, --leo -- e-mail ::: Alexander.Bergolth (at) wu-wien.ac.at fax ::: +43-1-31336-906050 location ::: Computer Center | Vienna University of Economics | Austria