Displaying 20 results from an estimated 50000 matches similar to: "postlogin script"
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
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
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,
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
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
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
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
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:
2017 Nov 10
1
Postlogin script
Thx, prips works as I expected, gr8 tool, not available in Gentoo repository
but after compilation Dovecot doing what I wanted.
Regards,
Jack
2017-11-09 21:19 GMT+01:00 Gedalya <gedalya at gedalya.net>:
> A bit clunky but perhaps you could find another command.
>
> https://packages.debian.org/stretch/netmask
>
> $ IP=172.11.0.28
> $ if [ "$(netmask -n $IP/24)"
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
2017 Nov 10
3
Postlogin script
"j.emerlik" <j.emerlik at gmail.com> writes:
> I would like to prepare postlogin a script that allow imap connection to
> roundcube for all but restrict imap access for selected users.
"from" roundcube?
> Is possible in condition IF use IP addresses as range or with mask (because
> I've more than one web servers) ?
Of course -- many ways to skin this
2017 Nov 09
2
Postlogin script
Hi,
I would like to prepare postlogin a script that allow imap connection to
roundcube for all but restrict imap access for selected users.
My question is that:
Is possible in condition IF use IP addresses as range or with mask (because
I've more than one web servers) ?
My script:
#!/bin/sh
if [ "$IP" = "172.11.0.28" ] ; then
printf "* [ALERT] Access allowed from
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 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
What it is way most best for causing bash script run (as root) of time
mailbox created (lda_mailbox_autocreate)?
I use dovecot 2.3.4.1 in Debian 10.
And I use of mail-crypt-plugin
https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/
I setup mail-crypt for requiring user encrypted EC key
(mail_crypt_require_encrypted_user_key = yes). I want for passphrase
encrypt EC key using client
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
2019 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
> Technically creating and encrypting folder key does not
> require decrypting user's private key. All folder keys
> are encrypted with user's public key.
Problem is for that this is a new user. The new user has no private key. I
need for generating that private key. It do not the sense encrypts
something using a key public if there is no private key. Both key public
and private
2011 Oct 28
2
post login script
Hello all,
I am testing postlogin script with dovecot 2.
I works but i would like that the imap and pop session get executed
even if the post-login script fail.
my postlogin script is very simple:
#/etc/dovecot/conf.d/10-master.conf
service imap {
executable = imap imap-postlogin
}
#
service imap-postlogin {
executable = script-login /usr/local/bin/postlogin.sh
unix_listener
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:
2017 Nov 11
2
Postlogin script
Awesome, thanks!
Sent from my mobile device please excuse.
11.11.2017 2:48 PM "Gedalya" <gedalya at gedalya.net> napisa?(a):
> On 11/10/2017 11:03 PM, Joseph Tam wrote:
> >
> > The toughest situation (using script techniques) is for
> > CIDR ranges just shy of a full octet boundary e.g. /25.
>
> Actually there is a great tool for that, grepcidr
>
2018 Oct 18
0
Ass(et) protection for mobile users
Ensure your config looks like
namespace SOME_NAME_HERE {
??? ...
}
Make a postlogin script which exports
export NAMESPACE/SOME_NAME_HERE/HIDDEN=true USERDB_KEYS="$USERDB_KEYS
NAMESPACE/SOME_NAME_HERE/HIDDEN"
Or somehow export this from passdb/userdb as
(userdb_)namespace/some_name_here/hidden=true
Aki
On 18.10.2018 10.18, Rupert Gallagher wrote:
> Connections from anything