[Dovecot] Lucene index not updated when one saves a message from one folder to the other

2008-06-10 Thread Asheesh Laroia

I'm running 1.1 rc8, and I enabled the Lucene indexes.

I find that if a bunch of messages arrive in INBOX and I then move them to 
archive, the next time I do an X-TEXT-FAST search, Dovecot has to re-index 
the mails that I think it had indexed when they were in INBOX.


This seems silly, since Dovecot was the one copying them (and then 
deleting, since that's what I mean by move).  Will this change?


-- Asheesh.

--
Elliptic paraboloids for sale.


Re: [Dovecot] Auto creating client folders on the IMAP server after installing client.

2008-06-10 Thread Rob Coward

On Mon, 2008-06-09 at 20:29 -0700, Radio Tron wrote:
 It's a buggy, moth infested, Linux client - you guys
 are using the windows TBird client.

I use the Linux version of thunderbird (v2.0.0.14 20080515) on a RHEL5.1
desktop against a 1.0-1.2.0.el5 build of Dovecot and have never
experienced any of the problems you described. :)

Rob


Please consider the environment before printing this email. 


GAME Stores Group Ltd has been awarded ‘Retailer of the Year’ at the 2006 and 
2007 Golden Joystick Awards and 
'Thames Valley Business Award' for Outstanding Employer of Choice 2006.

This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the 
individual or entity to whom they are addressed. If you have received this 
e-mail in error please 
notify the system manager at:  
 
mailto:[EMAIL PROTECTED]
 
The recipient acknowledges that the transmissions made via the Internet can be 
corrupted and therefore 
THE GAME GROUP PLC and any of its subsidiaries do not give any warranty as to 
the quality or accuracy of 
any information contained in the message or assume any liability for it or for 
its transmission, reception or storage.  

This footnote also confirms that this e-mail message has been swept by 
anti-virus software for the presence of computer viruses.
 
http://www.game.co.uk
http://www.gamegroup.plc.uk 

Registered Number: 1937170
Registered Office: Unity House, Telford Road, Basingstoke, Hampshire. RG21 6YJ 
Registered in England and Wales.


[Dovecot] Multiple SSL certificates with dovecot.

2008-06-10 Thread Andre Rodier
Hello all,

By advance, I hope you'll excuse my probably not perfect English, which
is not my mother tongue.

I have always appreciated dovecot for this simplicity to setup and
lightweight, but today, after many installations, I cannot find how to
setup dovecot for my configuration.

- I use only IMAPS to retrieve the mails.
- I manage two domain names
- I use CA-Cert certificates

So,the question is : how to setup dovecot to select the appropriate
certificate, according to the domain name I use when I retrieve mails
using the IMAPS protocol ?

Thanks.
Andre Rodier.


Re: [Dovecot] Multiple SSL certificates with dovecot.

2008-06-10 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 10 Jun 2008, Andre Rodier wrote:


- I use only IMAPS to retrieve the mails.
- I manage two domain names
- I use CA-Cert certificates

So,the question is : how to setup dovecot to select the appropriate
certificate, according to the domain name I use when I retrieve mails
using the IMAPS protocol ?


Well, it is NOT possible, unless you use two different ways to connect to 
the IMAP server - which basically means you need two IP addresses or two 
port numbers.


Unfortunately, IMAP (and most other protocols out there) do not have the 
capability of Virtual Hosting as HTTP (with the Host attribute).


That means:

variant 1) IMAP over SSL
the client resolves the symbolic IMAP server name via DNS, then connects 
to a port on the numerical IP, then SSL handshake takes place: There is no 
way for the server, with cert to use, because there is no domain name 
transferred to it. Then the user authentificates.


variant 2) IMAP with STARTTLS
the client resolves the symbolic IMAP server name via DNS, then connects
to a port on the numerical IP, Dovecot returns the greeting, the client
issues STARTTLS, then SSL handshake takes place: There is no way for the
server, with cert to use, because there is no domain name transferred
to it. Then the user authentificates.

At least in variant 2) the IMAP standard could implement a way to pass the 
original host, but it isn't. So the server must pick a certificate for its 
own.


Therefore, you cannot host virtual IMAPS servers, but need physically 
separated ones.


Bye,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFITnZXVJMDrex4hCIRAu16AKCTGca3JT526uTurcvOyZRmOMjajQCfY/7n
Q7G5vzzM9JWQ1ULGGXocK2Y=
=SgDM
-END PGP SIGNATURE-


Re: [Dovecot] Multiple SSL certificates with dovecot.

2008-06-10 Thread Daniel Black
On Tue, 10 Jun 2008 08:01:38 pm Andre Rodier wrote:
 Hello all,

 By advance, I hope you'll excuse my probably not perfect English, which
 is not my mother tongue.

its pretty good.

 I have always appreciated dovecot for this simplicity to setup and
 lightweight, but today, after many installations, I cannot find how to
 setup dovecot for my configuration.

 - I use only IMAPS to retrieve the mails.
 - I manage two domain names
 - I use CA-Cert certificates

 So,the question is : how to setup dovecot to select the appropriate
 certificate, according to the domain name I use when I retrieve mails
 using the IMAPS protocol ?

It cannot. To do so would require Server Name Indication rfc3546 to be 
implemented. It also would require email clients to support it.
https://wiki.cacert.org/wiki/VhostTaskForce

An alternate is to get both names in the one certificate.
https://wiki.cacert.org/wiki/CSRGenerator


-- 

Daniel Black
--
Proudly a Gentoo Linux User.
Gnu-PG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x76677097
GPG Signature D934 5397 A84A 6366 9687  9EB2 861A 4ABA 7667 7097


signature.asc
Description: This is a digitally signed message part.


Re: [Dovecot] Multiple SSL certificates with dovecot.

2008-06-10 Thread Andre Rodier
Hello all,

Thanks a lot for your answers, I was not sure it was possible, anyway,

Thanks Steffen, to have take the time to detail to me the IMAP
protocol, and Daniel for your advices about CSR and vhost task force,
I'll try them later.

André Rodier.




Re: [Dovecot] Auto creating client folders on the IMAP server after installing client.

2008-06-10 Thread Charles Marcus

On 6/9/2008, Radio Tron ([EMAIL PROTECTED]) wrote:

Then i save a Draft and hey! it creates, but with the wrong icon!
Ditto Templates. So i restart TBird and now everything works, with
the right icons!


So, what did you end up changing to make it work where it didn't before?

And yes, the 'wrong icon' issue has always been there, but I don't think 
its a bug, its just the way it works when the folder doesn't exist when 
the program is launched.


Glad you got it sorted...


Re: [Dovecot] outlook windows problem

2008-06-10 Thread Charles Marcus

On 6/10/2008 2:47 PM, rashantha de silva wrote:

hello, client can not connect using outlook.

has any of you noticed this problem.
can not connect with imap or as pop.
i am using a self signed certificate.


My crystal ball says, it is probably because client drank too much 
whiskey last night.


Ahem... translation...

You'll need to provide a whole lot more information...

Versions? Platform? dovecot -n output?

--

Best regards,

Charles


Re: [Dovecot] outlook windows problem

2008-06-10 Thread Rick Romero
On Tue, 2008-06-10 at 11:47 -0700, rashantha de silva wrote:
 hello, client can not connect using outlook.
 
 has any of you noticed this problem.
 can not connect with imap or as pop.
 i am using a self signed certificate.

Not connecting to dovecot via SSL with a self-signed certificate?  
Try opening IE on that machine and going to https://yourmailserver:995
and accept the certificate permanantly.   Then see if Outlook will
connect.





Re: [Dovecot] outlook windows problem

2008-06-10 Thread rashantha de silva
thanks for the tip rick, but that would be strange request to make to a client.

On Tue, Jun 10, 2008 at 12:06 PM, Rick Romero [EMAIL PROTECTED] wrote:
 On Tue, 2008-06-10 at 11:47 -0700, rashantha de silva wrote:
 hello, client can not connect using outlook.

 has any of you noticed this problem.
 can not connect with imap or as pop.
 i am using a self signed certificate.

 Not connecting to dovecot via SSL with a self-signed certificate?
 Try opening IE on that machine and going to https://yourmailserver:995
 and accept the certificate permanantly.   Then see if Outlook will
 connect.






Re: [Dovecot] outlook windows problem

2008-06-10 Thread rashantha de silva
base_dir = /usr/local/cutedge/dovecot/var/run/
login_dir = /usr/local/cutedge/dovecot/var/run/login
mail_location = maildir:~/Mail/Dovecot
auth_executable = /usr/local/cutedge/dovecot/libexec/dovecot/dovecot-auth

protocols = imap imaps pop3 pop3s

ssl_cert_file = /System/Library/OpenSSL/certs/imapd.pem
ssl_key_file = /System/Library/OpenSSL/certs/imapd.pem

protocol imap {
login_executable = /usr/local/cutedge/dovecot/libexec/dovecot/imap-login
mail_executable = /usr/local/cutedge/dovecot/libexec/dovecot/imap
mail_plugin_dir = /usr/local/cutedge/dovecot/lib/dovecot/imap
listen = *:143
ssl_listen = *:993
}

protocol pop3 {
login_executable = /usr/local/cutedge/dovecot/libexec/dovecot/pop3-login
mail_executable = /usr/local/cutedge/dovecot/libexec/dovecot/pop3
mail_plugin_dir = /usr/local/cutedge/dovecot/lib/dovecot/pop3
pop3_uidl_format = %08Xv%08Xu
listen = *:110
ssl_listen = *:995
}

disable_plaintext_auth = no

auth default {
  mechanisms = plain login
  passdb pam {
  }
  userdb passwd {
  }
}



You should enable outlook-idle workaround with IMAP.

You should enable outlook-no-nuls workaround with POP3.

Outlook 2003 has problems with older Dovecot's default POP3 UIDL
format, which causes it to download the same mails over and over again
if leave mails to server option is enabled. See pop3_uidl_format
setting.

Outlook Express 6

Using Headers only synchronization is buggy and can cause Message
is no longer available on this server error when opening a mail. This
isn't Dovecot specific problem, and I'm not aware of any possible
workarounds at the moment for this in server side.

You should enable outlook-idle and delay-newmail workarounds for IMAP.

You should enable outlook-no-nuls and oe-ns-eoh workarounds for POP3.

On Tue, Jun 10, 2008 at 12:00 PM, Charles Marcus
[EMAIL PROTECTED] wrote:

 On 6/10/2008 2:47 PM, rashantha de silva wrote:

 hello, client can not connect using outlook.

 has any of you noticed this problem.
 can not connect with imap or as pop.
 i am using a self signed certificate.

 My crystal ball says, it is probably because client drank too much whiskey 
 last night.

 Ahem... translation...

 You'll need to provide a whole lot more information...

 Versions? Platform? dovecot -n output?

 --

 Best regards,

 Charles


Re: [Dovecot] outlook windows problem

2008-06-10 Thread Charles Marcus

On 6/10/2008 3:19 PM, rashantha de silva wrote:

hello, client can not connect using outlook.

has any of you noticed this problem. can not connect with imap or
as pop. i am using a self signed certificate.


Not connecting to dovecot via SSL with a self-signed certificate? 
Try opening IE on that machine and going to

https://yourmailserver:995 and accept the certificate permanantly.
Then see if Outlook will connect.



thanks for the tip rick, but that would be strange request to make to
 a client.


Self-signed certs have always been a problem in OL (and I guess OE, but
I don't use it or support it much)...

There is no way to permanently save one via the pop-up...

Meaning, the client will get the warning and have to accept it every tim
they connect for the first time.

Nothing dovecot can do about that...

That said - it will work...

But again, would need more details... are your config details secret?

--

Best regards,

Charles


Re: [Dovecot] Auto creating client folders on the IMAP server after installing client.

2008-06-10 Thread Radio Tron
 So, what did you end up changing to make it work
 where it didn't before?

:) Nothing! I'm telling you! I was tired and
disgusted, so i quit for the day (I was the last guy
out) and first thing in the morning (first guy in,
only because I was a bit worried about what would
happen when I told him TBird was kaput) after checking
mail (web mail), xkcd, and general goofing off, I
start TBird, and Hey! Presto! it works.

Maybe my manager did something, but I checked last
and there were no signs of tampering (Umm.. shouldn't
have said that I'd hurl umm.. configs in his err..
proverbial face. He isn't such a bad fellow in
general, but he likes doling out work with a free and
liberal hand and that gets in the way of what I want
to learn.) 
Oh well.. I'll keep you guys posted if I do find a
solution to it (assuming it rears its ugly rear).

To: Rob, You are a Coward, sir and that's all I need
say! *turns tail, and flees Dovecot*