Re: Cyrus-imap + multi domains ... Urgent Thanks

2008-12-20 Thread Ethariel
Hi,


2008/12/19 Laurent Archambault 

> Hello,
>
> I must use Cyrus with few domains, but i have the choice with 2 structural
> directory,
> i has activate "virtdomains" and same "unixhierarchysep".
>
> what is the better solving/answer for this :
>
> This : ./mail/u/user/unau...@domaine2^com/cyrus.cache
> ...
> or this : ./mail/domain/d/domaine2.com/u/unautre/cyrus.cache
> ...
>

I can't say it's the best, but I prefer (and use) the second one's.
It's easier IMHO to manager domains then users than users by name then
searching domain in the full path.

BRgds,
Ethariel

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Sieve vacation

2007-06-11 Thread Ethariel

Hello,

I've installed cyrus-imapd (2.2.13 on MDV 2007). Sieve scripts are working
fine except 'vacation'.
User 1 has a vacation script with days: 1
User 2 sents an email to user1 it receives an answer (the correct vacation
message).
Then after User2 can send email the same day or three days after, it will
not receive anymore automatic answer.
If I delete user1 script, and recreate a new one with another vacation
alert, then it works fine for one more mail.

The Sieve draft describes 'Day' as the period between two answers, but this
value can be bypass by 'SITE' value.
Where do I check site value ? Or are they any known bugs in 2.2.13 Sieve
implementation ?
(I've searched the archive without success).

Thks to all

Ethariel

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: cyradm is not running with imaps

2007-06-26 Thread Ethariel

Hello,




after disabling the imap port cyradm is no more running with imaps.
Is there any technique so that imap runs only for cyradm in localhost ?
thanks



You can use the address specification in cyrus.conf :

imap cmd="imapd" listen="127.0.0.1:imap" prefork=0


man cyrus.conf


Ethariel



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

TLS failed, service in BUSY state, terminated abnormally

2010-09-05 Thread Ethariel
Hello,

I need to upgrade a server to the last Mandriva, so cyrus-imapd as upgraded
in the process.
imap, pop and sieve are working fine as before.

pop3s and imaps are no more working.

I try to re-generate some new certificate, same error.

>From the client :

openssl s_client -connect localhost:993
CONNECTED(0003)
3082552968:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:683:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 208 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---


>From the server side :

Sep  5 20:27:45 srv001 imaps[13759]: accepted connection
Sep  5 20:27:45 srv001 cyrus-master[13868]: about to exec
/usr/lib/cyrus-imapd/imapd
Sep  5 20:27:45 srv001 imaps[13868]: SQL backend defaulting to engine
'pgsql'
Sep  5 20:27:45 srv001 imaps[13868]: executed
Sep  5 20:27:45 srv001 imaps[13759]: imapd:Loading hard-coded DH parameters
Sep  5 20:27:45 srv001 imaps[13759]: ssl session id callback failed in
SSL_accept() -> fail
Sep  5 20:27:45 srv001 imaps[13759]: imaps TLS negotiation failed:
srv001.domain.tld [127.0.0.1]
Sep  5 20:27:45 srv001 cyrus-master[13566]: process 13759 exited, status 75
Sep  5 20:27:45 srv001 cyrus-master[13566]: service imaps pid 13759 in BUSY
state: terminated abnormally

(domain.tld is just a replace in this log, the name is configurated with a
real one).

Any idea ?

I found some message on this lost or google about some problem with
libsasl2, do you think it's related ?

libsasl2-2.1.23-8mdv2010.1.i586
cyrus-imapd-2.3.15-7mdv2010.1.i586

Thks for your help

BRgds,
Ethariel

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: TLS failed, service in BUSY state, terminated abnormally

2010-09-06 Thread Ethariel
Hello,

auto-answering.
During the upgrade process the /dev/* permission were broken. It includes
/dev/urandom which I think (can someone confirm) is used by SSL.
Put permission back and all is working fine.

Ethariel

2010/9/5 Ethariel 

> Hello,
>
> I need to upgrade a server to the last Mandriva, so cyrus-imapd as upgraded
> in the process.
> imap, pop and sieve are working fine as before.
>
> pop3s and imaps are no more working.
>
> I try to re-generate some new certificate, same error.
>
> From the client :
>
> openssl s_client -connect localhost:993
> CONNECTED(0003)
> 3082552968:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol:s23_clnt.c:683:
> ---
> no peer certificate available
> ---
> No client certificate CA names sent
> ---
> SSL handshake has read 7 bytes and written 208 bytes
> ---
> New, (NONE), Cipher is (NONE)
> Secure Renegotiation IS NOT supported
> Compression: NONE
> Expansion: NONE
> ---
>
>
> From the server side :
>
> Sep  5 20:27:45 srv001 imaps[13759]: accepted connection
> Sep  5 20:27:45 srv001 cyrus-master[13868]: about to exec
> /usr/lib/cyrus-imapd/imapd
> Sep  5 20:27:45 srv001 imaps[13868]: SQL backend defaulting to engine
> 'pgsql'
> Sep  5 20:27:45 srv001 imaps[13868]: executed
> Sep  5 20:27:45 srv001 imaps[13759]: imapd:Loading hard-coded DH parameters
> Sep  5 20:27:45 srv001 imaps[13759]: ssl session id callback failed in
> SSL_accept() -> fail
> Sep  5 20:27:45 srv001 imaps[13759]: imaps TLS negotiation failed:
> srv001.domain.tld [127.0.0.1]
> Sep  5 20:27:45 srv001 cyrus-master[13566]: process 13759 exited, status 75
> Sep  5 20:27:45 srv001 cyrus-master[13566]: service imaps pid 13759 in BUSY
> state: terminated abnormally
>
> (domain.tld is just a replace in this log, the name is configurated with a
> real one).
>
> Any idea ?
>
> I found some message on this lost or google about some problem with
> libsasl2, do you think it's related ?
>
> libsasl2-2.1.23-8mdv2010.1.i586
> cyrus-imapd-2.3.15-7mdv2010.1.i586
>
> Thks for your help
>
> BRgds,
> Ethariel
>

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/