search for: postlogin

Displaying 20 results from an estimated 370 matches for "postlogin".

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 = s...
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 supp...
2011 Aug 25
2
Virtual user and post-login 2.0.13
...n'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 at bredband.net: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied Aug 25 17:31:28 imap-postlogin: Error: script-login: Fatal: Internal error occurred. Refer to server log for more information. Aug 25 17:31:28 log:...
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_...
2015 Apr 06
3
setting service_count results in Permission denied
...p.net/redirect#http%3A//wiki2.dovecot.org/SocketUnavailable One of the things I wanted to do on that page was to set the: service imap { service_count = 100 } but when I added that to the service imap block, and restarted dovecot, I see this in the logs: Error: net_connect_unix(/run/dovecot/imap-postlogin) failed: Permission denied I dont understand how this impacts permissions. Its clearly this setting, because when I remove it, things work again. I found nothing else in the logs indicating a configuration problem. This is what the config block looked like: service imap { # Most of the memory...
2013 Nov 11
1
Enable Rawlog from userdb in Dovecot v2.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, how do I enable Rawlog for one person only? http://wiki2.dovecot.org/Debugging/Rawlog describes how to enable the postlogin script for all users. Rawlog gets active only, if the dovecot.rawlog directory exists. So far, it's working. However. I suspect that there is some notable overhead in this chain, so I tried to enable rawlog via userdb extra fields. So setup the config as: service imap { executable = imap...
2016 Dec 12
3
Dovecot 2.2.27 & windows 10 outlook (no auth attempts in 0 secs) error.
...-xr-x 12 root root 4096 Dec 12 12:41 .. drwx------ 2 kaka kaka 4096 Dec 12 12:41 dovecot.rawlog drwx------ 2 kaka kaka 4096 Dec 12 12:41 Maildir Added into dovecot.conf: protocol imap { rawlog_dir = /tmp/rawlog/%u } service imap { executable = imap postlogin } service postlogin { executable = script-login -d rawlog unix_listener postlogin { } } But /tmp/rawlog/kaka/ and /home/kaka/dovecot.rawlog/ are empty. What did I miss? The whole conf: listen = * plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_l...
2014 Jan 24
0
Dovecot imap-postlogin failed
...read that there was an issue with the script-login binary which was fixed in version 2.0.14, so i updated dovecot to version 2.2.7. - This sadly did not fix my issue with the bash script excecuting. In my /etc/dovecot/conf.d/10-master.conf i have the following service imap { executable = imap imap-postlogin } service imap-postlogin { executable = script-login /var/www/lighttpd/mail-admin/scripts/lastLogin.sh } But when i try login i still get the same error as with the previous version: - Nov 27 14:44:36 dovecot: imap(MaIlBoX at DoMaIn.co.za): Error: net_connect_unix(/var/run/dovecot/imap-postlogin)...
2011 Dec 30
1
lmtp-postlogin ?
...ing which users to backup daily. But, it would also be nice to backup users who has only received messages, but not logged in lately.. So is it possible to implement "last-login" tracking for lmtp ? I naively tried copying the settings from imap, but it didn't work: service lmtp-postlogin { executable = script-login /usr/local/sbin/lmtp-postlogin.sh unix_listener lmtp-postlogin { } } service lmtp { executable = lmtp lmtp-postlogin <snip> -jf
2016 Dec 12
4
Dovecot 2.2.27 & windows 10 outlook (no auth attempts in 0 secs) error.
Aki Tuomi wrote: > > Can you do > > doveconf -a | grep auth_mech > auth_mechanisms = plain login P.S. Seems this 2.2.24 is the last win10 compatible version (as my testserver doesn't have win10 users and thunderbird works well), any never version gives an error. However I didn't find any hint from http://www.dovecot.org/list/dovecot-news/2016-July/000324.html etc. --
2011 Aug 01
2
Update 2.0.12 -> 2.0.13 is broken
....13, but I got those messages, only: Aug 1 10:20:27 mail dovecot: master: Dovecot v2.0.13 starting up (core dumps disabled) Aug 1 10:20:33 mail dovecot: imap-login: Login: user=<***@***.**>, method=PLAIN, rip=192.168.1.99, lip=192.168.1.1 , mpid=5123, TLS Aug 1 10:20:33 mail dovecot: imap-postlogin: Error: script-login: Error: user ***@***.**: Error reading configurati on: net_connect_unix(/opt/dovecot-2.0.13/var/run/dovecot/config) failed: Permission denied Aug 1 10:20:33 mail dovecot: imap-postlogin: Error: script-login: Fatal: Internal error occurred. Refer to server log for more info rma...
2011 May 13
2
Upgraded 2.012 to 2.0.13 postlogin error
....0.1): result: homeDirectory(home)=/home/dev.domain.com/edward at dev.domain.comquotaMailSoft(quota_rule=*:storage=%$M)=2 May 13 16:59:46 auth: Debug: master out: USER 885784577 edward at dev.domain.com home=/home/dev.domain.com/edward at dev.domain.comquota_rule=*:storage=2M May 13 16:59:46 imap-postlogin: Error: script-login: Error: user edward at dev.domain.com: Error reading configuration: net_connect_unix(/usr/local/var/run/dovecot/config) failed: Permission denied May 13 16:59:46 imap-postlogin: Error: script-login: Fatal: Internal error occurred. Refer to server log for more information. May 1...
2013 May 31
1
Configuration advice needed.
...s but on imap servers i'm identifying user with their UID, and LMTP need to see emails. Does dovecot see the same user or 2 users with the same homedir? So my question is: could you point me to the right direction with this setup, do you have any advice on this config. Actual configurations: (postlogin not in real use, just a touch on (imap/pop3)_last_login) POP/IMAP server: dovecot01# doveconf -n # 2.1.15: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.3-RELEASE-p3 amd64 auth_cache_negative_ttl = 0 auth_cache_size = 10 M auth_mechanisms = plain login auth_verbose = yes default_client_limi...
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: postl...
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...
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...
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...
2018 Jul 03
2
lmtp issues with specific message on dovecot 2.3.2
..._limit = 2000 } service auth { ? client_limit = 2000 } service doveadm { ? inet_listener { ??? port = 9011 ? } ? inet_listener http { ??? port = 9010 ? } ? vsz_limit = 768 M } service imap-login { ? process_limit = 800 ? process_min_avail = 200 ? service_count = 1 ? vsz_limit = 512 M } service imap-postlogin { ? executable = script-login dovecot-postlogin imap ? unix_listener imap-postlogin { ??? user = mail ? } ? user = $default_internal_user } service imap { ? executable = imap imap-postlogin ? process_limit = 20000 ? vsz_limit = 768 M } service indexer-worker { ? vsz_limit = 512 M } service lmtp { ?...
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 und...
2012 Oct 15
1
Plugin hooks in login process
...y queries. The frontend servers reads users credentials from the read-only mysql slaves. I'd like to execute a query once the client is verified to update the last login data. Right now, that query is executed on the backend servers, via a post-login service: protocols = imap service imap-postlogin { executable = script-login /usr/local/etc/dovecot/postlogin.sh unix_listener imap-postlogin { group = vchkpw mode = 0600 user = vpopmail } } service imap { executable = imap imap-postlogin process_limit = 2048 } Problem is, if I execute the update on the backend, I miss the...