Displaying 20 results from an estimated 4000 matches similar to: "imap-postlogin and doveadm"
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
2010 Dec 03
2
Problem with ACLs
Hi,
i want to use unix groups in my ACLs.
http://wiki2.dovecot.org/ACL says, I can do that with a post-login
script (http://wiki2.dovecot.org/PostLoginScripting).
I have verified, that the script is running, and that ACL_GROUPS is correct.
But I still can't access the Mailbox.
Logfile says:
Dec 3 11:19:35 mailint1 dovecot: imap(micha): Debug: acl vfile: reading
file
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
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
2016 Dec 14
0
FW: postlogin script
No response seen yet. Trying again.
Surely someone knows how the postlogin scripts work and can answer these
questions easily... Anyone?
Thanks,
Michael
-----Original Message-----
From: dovecot [mailto:dovecot-bounces at dovecot.org] On Behalf Of Michael Fox
Sent: Sunday, December 11, 2016 8:48 AM
To: Dovecot Mailing List <dovecot at dovecot.org>
Subject: postlogin script
I'm
2016 Dec 15
0
FW: postlogin script
On 15.12.2016 05:54, Michael Fox wrote:
>> Hi!
>>
>> You need to use executable = script-login -- /path/post-login.sh -a -r -g
> -s
>> note the double-dash. it tells getopt to stop processing arguments.
>>
>> Aki
> Thanks Aki. So that let's me call a single script with arguments. Great.
> What if there is more than one script? I'm unable to
2014 Nov 03
1
Postlogin script in v1
Does dovecot-1.0.7-7.el5 support postlogin scripting?
2016 Aug 08
2
custom mail_location detection for dovecot lda
Hi!
Is it possible to do something like "post-login scripting" to detect and
set a per-user custom mail location for dovecot LDA delivery?
I tried to use a wrapper-script around dovecot-lda that sets the
environment variables MAIL="..." and USERDB_KEYS="MAIL" just like
overriding userdb fields may be done using imap postlogin scripts, but
unfortunately this
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
2014 Nov 05
1
calling post-login script with doveadm
Hello everyone,
I'm trying to execute some commands with doveadm but I need some information loaded in a post-login script before running these commands.
Is possible to run the post-login script while executing doveadm?
I've found how to do something similar with -o key=value to override settings, but I want to change a namespace location, as done in the post-login script:
...
export
2019 Aug 28
2
LMTP Post login script for acl_groups
Hi,
I use a post login script for imap, to fetch acl groups from LDAP. Because Dovecot can only deal with a single value, which must be a comma seperated list of groups, I decided to use a post login script do deal with multi values in LDAP:
This looks like this in LDAP:
rnsMSACLGroup: admin
rnsMSACLGroup: automx
rnsMSACLGroup: amavis
rnsMSACLGroup: postfix
rnsMSACLGroup: dovecot
rnsMSACLGroup:
2014 Aug 07
0
call postlogin script with doveadm exec
Hello,
how is a call to the imap-postloginscriptes possible when starting with
doveadm exec imap?
In the imap-login-post script will set the ACL_GROUP.
Hardy
2009 Jun 02
5
Help please- Post - Login Script--- Migration
Hi all
I am in the process of migrating Courier to Dovecot, am using
courier-dovecot-migrate.pl<http://www.dovecot.org/tools/courier-dovecot-migrate.pl>it
works fine. I want to migrate each user as they login using post-login
script (As i have huge no of users). We are using NFS storage, users are
authenticated using mysql, User home directories as passed using variable
mail ( usign mysql
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.:
2010 Nov 24
2
Automatic expire on post-login
I need to clear two folder from Maildir at login.
Exatly, delete all mails older than 30 days on Trash and 1 day on spam folder.
I'm using dovecot 2.0 and I think about use a post-login script
calling doveadm -u $user expunge but post-login scripts in dovecot 2.0
are very complex
Is there possible to get the environment vars like on dovecot 1.2 ?
I think this action must be done by expire
2023 Mar 01
1
Multiple scripts with postlogin
Hello,
I'm having trouble understanding how to execute separate scripts with
postlogin. According to the documentation, it should be as simple as:
You can run multiple post-login scripts by just giving multiple scripts as parameters to|script-login|, for example:
executable = script-login rawlog /usr/local/bin/postlogin.sh /usr/local/bin/postlogin2.sh
Given this information, I supplied two
2011 Aug 25
2
Virtual user and post-login 2.0.13
Hi
I tried several variants of suggestions but I can't get it working
dovecot-info.log:
===========
Aug 25 17:37:48 imap-login: Info: Login: user=<vuser>, method=PLAIN, rip=192.168.1.xx, lip=192.168.1.xx, mpid=11264
Aug 25 17:37:48 imap(vuser): Info: Post-login script denied access to user vuser
dovecot.log
========
Aug 25 17:31:28 imap-postlogin: Error: script-login: Error: user pmp
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
2007 Nov 11
4
dovecot.index mtime
Is there anyway I can get Dovecot to update mtime on dovecot.index
everytime a user successfully checks there email? Or perhaps there is
a better way to do what I want here.
I am working on a script that I want to check when the last time a
user checked there email account. If a user has not checked it in say
6 months I want to automatically suspend the account through the MTA.
If they start
2014 Mar 01
1
running postlogin script result in libgcc_s.so.1 must be installed for pthread_cancel to work
Hey,
I try to run a postlogin script with:
service pop3 {
executable = pop3 postlogin
}
service postlogin {
executable = script-login /etc/dovecot/popafter.sh
user = $default_internal_user
unix_listener postlogin {
}
}
In my popafter.sh I call a php script, and that result in:
dovecot: postlogin: Error: libgcc_s.so.1 must be installed for
pthread_cancel to work
dovecot: