Re: Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

2017-05-24 Thread Michael Ulitskiy
lseek(14, 0, SEEK_CUR) = 35 > ftruncate(14, 35) = 0 > open("/var/lib/imap/msg/motd", O_RDONLY) = -1 ENOENT (No such file or > directory) > write(1, "* OK [CAPABILITY IMAP4rev1 LITER"..., 199) = 199 > select(1, [0], NULL, NULL, {180

Re: Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

2017-05-23 Thread Michael Ulitskiy
; open("/dev/urandom", O_RDONLY|O_CLOEXEC) = 3 > read(3, "\332", 1) = 1 > close(3)= 0 > stat("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0 > open("/dev/urandom", O_R

Re: Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

2017-05-19 Thread Michael Ulitskiy
My immediate guess is it blocks at reading /dev/random. strace should show you exactly where it blocks. What version of SASL are you using? Newer versions have switched to /dev/urandom AFAIK Michael On Friday, May 19, 2017 05:48:36 PM Michael Hieb wrote: > Apologies for long post, most of it is

Re: Can't authorize as different user in cyradm and sieveshell

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
nu/sasl2/libanonymous.so.2.0.25 > >/usr/lib/x86_64-linux-gnu/sasl2/libntlm.so.2.0.25 > > > >But in my imapd.conf, I'm not specifying an auxprop plugins: > > > ># grep sasl /etc/imapd.conf > >sasl_mech_list: PLAIN > >sasl_minimum_layer: 0 > >#sasl_maxi

Re: Can't authorize as different user in cyradm and sieveshell

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
he > target user successfully. Can you connect to sieve as the admin user (no > proxy-auth)? > > Thanks, > Andy > > > On Mon, 21 Nov 2016, Michael Ulitskiy wrote: > > > Andrew, > > > > Thanks for the reply. It's good to know i

Re: Can't authorize as different user in cyradm and sieveshell

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
pam_ldap.so > account requiredpam_unix.so > > > (pretty simple!) > > In your original email, you showed that you could authenticate as the > target user successfully. Can you connect to sieve as the admin user (no > proxy-auth)? > > Thanks, > A

Re: Can't authorize as different user in cyradm and sieveshell

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
gt; handshakes, which might help. Here is an example for me: > > # sivtest -u morgan -a cyrus localhost > S: "IMPLEMENTATION" "Cyrus timsieved (Murder) v2.4.18" > S: "SASL" "PLAIN" > S: "SIEVE" "comparator-i;ascii-numeric filei

Re: Can't authorize as different user in cyradm and sieveshell

2016-11-20 Thread Michael Ulitskiy via Info-cyrus
ay, November 17, 2016 06:30:18 PM Michael Ulitskiy via Info-cyrus wrote: > Hello, > > I'm playing with cyrus-imap 2.5.10 and cyrus-sasl 2.1.26. > i'm trying to use sieveshell to setup users sieve scripts, but since > i don't know users passwords i want to use a special u

Can't authorize as different user in cyradm and sieveshell

2016-11-17 Thread Michael Ulitskiy via Info-cyrus
Hello, I'm playing with cyrus-imap 2.5.10 and cyrus-sasl 2.1.26. i'm trying to use sieveshell to setup users sieve scripts, but since i don't know users passwords i want to use a special user for authentication and authorize as the target user. Here's what I have. imapd.conf: admins: mailadmin p

Cyrus mail spool entirely on SSD

2016-10-19 Thread Michael Ulitskiy via Info-cyrus
Hello, I have a task to build a mail server with the following requirements: 1. ~ hundred mailboxes with up to 10G of data each 2. several mailboxes that may grow up to 100G each 3. client insists that splitting data into folders is inconvenient to them and so all/most of that data will likely li

authid translation using SASL sql auxprop

2009-08-05 Thread Michael Ulitskiy
Hello, Is there a way in cyrus/sasl to transparently change user authid according to result of some sql query? I.e. I want that if user successfully authenticates as user 'john' to transparently change his authid to user 'jack' and so let him see user.jack as his INBOX. After initial reading of