similar to: custom mail_location detection for dovecot lda

Displaying 20 results from an estimated 3000 matches similar to: "custom mail_location detection for dovecot lda"

2016 Aug 08
2
custom mail_location detection for dovecot lda
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 could use /usr/lib/dovecot/dovecot-lda -omail_location=<location> Thanks for the hint. But it seems
2011 Oct 31
2
setting namespaces using script-login environment in 2.0
Hi! With dovecot 1.x, I was using a post-login script to dynamically add shared mailboxes using NAMESPACE_X.. environment variables, based on filesystem permissions: After login, the post-login script was executed with user permissions (mail_drop_priv_before_exec=yes). It added all subdirectories of "/var/spool/mail/Shared" as namespaces for which the user had write permissions. E.g.:
2012 May 13
1
userdb namespace settings bug
Hi! Since upgrading to 2.1.6, setting namespaces via environment variables using a imap-postlogin-script *sometimes* doesn't work. Sometimes, the prefix of a namespace isn't set correctly, but is set to an empty string, which leads to the following error: namespace configuration error: Duplicate namespace prefix: "" However, the environment is set correctly, the error seems to
2014 Oct 20
1
Sieve: carry global variables from sieve_before to user sieve scripts
Hi! 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? I've tried the following code but this doesn't work.. before.d/10-set-defaults.sieve: -------------------- 8< -------------------- require ["variables", "include"]; require "vnd.dovecot.debug"; set
2016 Oct 17
2
sieve duplicate locking
Hi! Does the duplicate sieve plugin do any locking to avoid duplicate parallel delivery of the same message? I sometimes experience duplicate mail delivery of messages with the same message-id, despite the use of a sieve duplicate filter. According to the log files, those messages are delivered in the same second by two parallel dovecot-lda processes. (Duplicate filtering works fine in all other
2014 May 07
2
Index cache errors worse with 2.2.x
Hi! I am getting "Cached message size smaller than expected" errors since dovecot-2.1.x. Until now, I thought that those errors don't do any harm, I assumed that the cache will just be rebuilt after the error had been detected. However, since dovecot 2.2.x (I tried 2.2.7 and 2.2.10), the errors sometimes seem to actually cause mail access to fail. With dovecot-2.1.1, only the
2009 Nov 23
2
shared mailboxes using namespaces in 1.2
Hi! I've been using shared mailbox trees using maildir, unix permissions and separate namespaces per shared tree since dovecot 1.0. 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 for the namespaces is / because I am mixing maildir and mbox namespaces and
2007 Dec 01
4
namespaces, shared mailboxes
Hi! 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: Mail clients (only tested with Thunderbird) won't allow to put mails directly in 'Shared/mailboxname' (the folder it is greyed out). You currently have to create
2018 Jul 01
0
permissions of newly created mailboxes only with dovecot-lda and posix acls
Hi! I am experiencing troubles concerning the inheritance of the setgid bit if a new mailbox is created with dovecot-lda. If it is created with dovecot/imap, everything works fine. dovecot-lda is called from postfix like this: ---------- mailbox_command = /usr/local/sbin/postfix-lda.sh ---------- logger -p mail.info -t postfix-lda "H: $HOME, S: $SENDER, R: $RECIPIENT, U: $(umask), id:
2016 Dec 11
4
postlogin script
I'm using the postlogin service, following the examples in the wiki. But I can't find any documentation on the behavior (what's allowed/not allowed) of the script-login binary. So, some questions: Question 1: The examples show the following at the end of the post-login.sh script: exec "$@" My understanding is that this would exec each of the command line arguments to
2015 Aug 05
3
question on autch cache parameters
Hi list, I have a question on auth caching in 2.2.18. I am using acl_groups for a master user, appended in a static userdb file # snip ############################### master at uma:{SHA}XXXX=::::::userdb_acl_groups=umareadmaster allow_nets=127.0.0.1 # snap ############################### and use this group in a global ACL file. I discovered this only works on first NOT-cached login
2010 Feb 13
2
deliver and cloning file permissions
Hi! 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 to the user's index files, which doesn't work, since the files in /var/mail/ belong to the group 'mail'. Feb 13 00:21:19 leo-x61 dovecot: deliver(leo):
2007 Dec 30
1
deliver: keep existing From_ line
Hi! I'm using procmail to filter my email. (I have to use it because of various features that are not supported by sieve.) However, I'd like to deliver mail to my mboxes using dovecots deliver program in order to update index files and speed up mbox access. Using "| $DELIVER -m <mboxname>" in my procmail receipes, everything works fine, except that the envelope sender
2014 Mar 02
1
idmap ldap problems
Hi! Since upgrade to Samba 3.6.9, I am experiencing problems concerning winbind idmapping. I am using an LDAP directory with RFC 2307 accounts and sambaSamAccount sambaSID entries for each local domain user. SIDs for other domains should be stored in sambaIdmapEntry objects in a separate LDAP tree. The problem is that winbind doesn't seem to map SIDs from the local domain to unix IDs.
2009 Mar 04
1
performance problem with 3.2.8: unbuffered reads for some users
Hi! I'm experiencing strange performance problems after upgrading to samba 3.2.8 from 3.0.30. For all users except smbadmin (who has administrative rights), read performance is _very_ bad. Looking at the read-requests using filemon and wireshark, I found out that for those users, every read is handled transparently (unbuffered) over the net. (I.e. a 2 byte read-request of the application
2014 Oct 25
2
imap-postlogin and doveadm
We are configuring location= running a bash-script during imap-postlogin setting $MAIL in $USERDB_KEYS, as described in wiki/PostLoginScripting.txt This works fine. However, running a command like 'dovadm index [-u user] folder' only works for users with settings that match the default in mail_location= Would it be possible to make the location available for doveadm in a similar way,
2007 Apr 26
1
rsync mirroring and hardlink issues
I'm running a mirror of several repositories that are fetched using separate rsync runs. Since some of those repositories are hosting related files, I'm using the hardlink utility[1] in order to save disk space. However, I've noticed an issue that may lead to potential file metadata inconsistencies when using hardlink. Consider the following scenario: - two repositories (rep_a and
2015 Aug 06
3
question on autch cache parameters
hi timo, I checked out the commit causing this. its this one: http://hg.dovecot.org/dovecot-2.2/diff/5e445c659f89/src/auth/auth-request.c#l1.32 if I move this block back as it was. everything is fine diff -r a46620d6e0ff -r 5e445c659f89 src/auth/auth-request.c --- a/src/auth/auth-request.c Tue May 05 13:35:52 2015 +0300 +++ b/src/auth/auth-request.c Tue May 05 14:16:31 2015 +0300 @@ -618,30
2018 Oct 18
2
Ass(et) protection for mobile users
Connections from anything other than LAN. On Thu, Oct 18, 2018 at 08:49, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > On 18.10.2018 9.48, Rupert Gallagher wrote: >> Hello! >> >> Is it possible to hide the public folder when the user is on its >> mobile phone? > How would you know this? > > Aki -------------- next part -------------- An HTML
2009 Dec 12
0
v2.0 post-login scripts
Post-login scripts work a bit differently in v2.0, because the old way just couldn't work anymore. I suppose at some point I should fork the wiki to v1.x and v2.x and start writing these things there, but for now I'll just write it here: First you'll need to tell imap service that it should connect to postlogin service: service imap { executable = imap imap-postlogin } Then