Re: Self-Signed Certificate issue

2016-09-25 Thread chaouche yacine
From: Darryl Baker To: dovecot@dovecot.org Sent: Friday, September 23, 2016 6:07 PM Subject: Self-Signed Certificate issue I keep getting what I am interpreting as a missing CA cert. The message is: dovecot: imap-login: Error: SSL: Stacked error: error:14094418:SSL routines:ssl3_read_by

dovecot-2.2.18 / net_listen_unix(...) failed: Value too large for defined data type

2016-09-25 Thread Christophe Bricout
Dear All, SUMMARY: Dovecot shows an issue when "localstatedir" path is too long The issue exists also with dovecot-2.2.25 CONFIGURATION: The configure options are: ./configure --prefix=${TARGET_DIR} \ --sysconfdir=${TARGET_DIR}/cfg \ --localstatedir=${TARGET_DIR}/var \ --with-ssl=openssl \ --wi

Re: dovecot-2.2.18 / net_listen_unix(...) failed: Value too large for defined data type

2016-09-25 Thread Aki Tuomi
> On September 25, 2016 at 4:54 PM Christophe Bricout > wrote: > > > Dear All, > > SUMMARY: > Dovecot shows an issue when "localstatedir" path is too long > The issue exists also with dovecot-2.2.25 > > CONFIGURATION: > The configure options are: > > ./configure --prefix=${TARGET_DIR} \ >

Re: Proxy IMAP/POP

2016-09-25 Thread Aki Tuomi
> On September 23, 2016 at 10:06 PM Luis Miguel Flores dos Santos > wrote: > > > Hello, I'm try configure dovecot to proxy imap and pop but I can't, follow my > configurations: > > dovecot version = 2.2.10 > > My configuration: > > dovecot -n > # 2.2.10: /etc/dovecot/dovecot.conf > # OS: L

configure fail if libssl is named libssl-opt

2016-09-25 Thread A. Schulze
Hello, I try to build dovecot with my own version of openssl. It's compiled in a way the libraries can coexist without symbol conflict with the real OpenSSL in /usr: They are named libssl-opt and libcrypto-opt. Now configure fail to find my libssl-opt: CFLAGS="..." CXXFLAGS="..." CPPFLAGS="

Re: Self-Signed Certificate issue

2016-09-25 Thread Darryl Baker
Building a new certificate as described in a previous email worked. *Darryl Baker* On Sun, Sep 25, 2016 at 5:19 AM, chaouche yacine wrote: > *From:* Darryl Baker > > > *To:* dovecot@dovecot.org > *Sent:* Friday, September 23, 2016 6:07 PM > *Subject:* Self-Signed Certificate issue > > I keep g

Re: configure fail if libssl is named libssl-opt

2016-09-25 Thread A. Schulze
Am 25.09.2016 um 18:23 schrieb A. Schulze: Is there an other way to tell configure the ssl libraries have other names? solved: using pkg-config and correct .pc files :-) Andreas

fail to compile with openssl-1.1.x

2016-09-25 Thread A. Schulze
Hi again, now I get compile errors. Is openssl-1.1.xy supported? iostream-openssl.c: In function 'openssl_iostream_verify_client_cert': iostream-openssl.c:118:37: error: dereferencing pointer to incomplete type subject = X509_get_subject_name(ctx->current_cert);

Setting hostdomain

2016-09-25 Thread Arie Peterson
Hi all, Preparing for a replication setup, I read (at the bottom of ) that `dovecot --hostdomain` should give a different output on the two servers. This is not the case for me: both give "localhost". I'm trying to change my configuration to set the hostdo

Re: fail to compile with openssl-1.1.x

2016-09-25 Thread Aki Tuomi
> On September 25, 2016 at 9:32 PM "A. Schulze" wrote: > > > Hi again, > > now I get compile errors. Is openssl-1.1.xy supported? > > iostream-openssl.c: In function 'openssl_iostream_verify_client_cert': > iostream-openssl.c:118:37: error: dereferencing pointer to incomplete type >subjec

Re: Setting hostdomain

2016-09-25 Thread Christian Kivalo
On 2016-09-25 20:34, Arie Peterson wrote: Hi all, Preparing for a replication setup, I read (at the bottom of ) that `dovecot --hostdomain` should give a different output on the two servers. This is not the case for me: both give "localhost". I'm trying t

Re: Setting hostdomain

2016-09-25 Thread Arie Peterson
Christian Kivalo wrote: > whats the output of 'hostname -f' > > whats in your /etc/hostname and /etc/hosts? That was indeed the problem. The output of `hostname -f` was "localhost", indicating how dovecot gets that result as well for its "hostdomain". Changing the first line of /etc/hosts to 1

Re: Self-Signed Certificate issue

2016-09-25 Thread Joseph Tam
Darryl Baker writes: I am running a small email site which I am moving from uw-imapd and Solaris to Ubuntu and Dovecot imaps and pop3s. I am trying to use a self-signed certificate for this site. I am using Thunderbird as the test client. I've tried both the pre-built snakeoil certificate and bu