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

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
Dan, You nailed it. Mere presence of sasldb plugin makes it work. The code doesn't look kosher to me though. In sasl_server_new() there's a line: serverconn->sparams->canon_user = &_sasl_canon_user_lookup; which unconditionally set canon_user callback to the function that performs both canonical

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

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
; >> sasl_minimum_layer: 0 > >> sasl_pwcheck_method: saslauthd > >> sieve_allowreferrals: 0 > >> sieve_allowplaintext: 1 > >> > >> > >> Have you tried using the "sivtest" program? It will show you the protocol > >> handshakes, which

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

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
> > >> My imapd.conf settings: > >> > >> admins: cyrus > >> allowplaintext: 0 > >> sasl_mech_list: PLAIN > >> sasl_minimum_layer: 0 > >> sasl_pwcheck_method: saslauthd > >> sieve_allowreferrals: 0 > >> sieve_allowpla

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

2016-11-21 Thread Michael Ulitskiy via Info-cyrus
rity strength factor: 0 > C: LOGOUT > OK "Logout Complete" > Connection closed. > > > Andy > > On Sun, 20 Nov 2016, Michael Ulitskiy via Info-cyrus wrote: > > > Since nobody answered, I guess, nobody has any idea. > > I wonder if anybody uses this

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