ESEARCH multiple folders

2015-07-06 Thread Peter Chiochetti
FTS-Solr is blazingly fast; yet searching e.g. an archive with 
subfolders still is slow; I learned, that this is a feature/bug of the 
imap protocol. So I'd like to ask:


Does or will dovecot support the "IMAP4 Multimailbox SEARCH Extension" 
specified in RFC 7377?


--
Kind regards
Peter


Are the Dovecot Enterprise Edition Ubuntu 14.04 packages stable?

2015-07-06 Thread deoren
I recently begun to migrate mail services to a new box so I could
retrofit an existing box. I took this opportunity to check back on the
official Dovecot Enterprise Edition (EE) pages to see if support has
been added for Ubuntu 14.04 LTS.

I never could find the information on the dovecot.fi website, but taking
my existing credentials for Dovecot EE repo access and looking at the
root path I see that 14.04 packages are available from the APT repo.

Are those stable or experimental? I have an Ubuntu 12.04 box I've kept
around just for Dovecot EE that I'd like to move to 14.04 if the
packages are stable.

p.s.

Thank you for continuing to provide access for existing users of the
repo, but what would new users need to do to obtain access?

Thanks for your time.


Re: Dovecot - Config file details

2015-07-06 Thread Pascal Volk
On 07/06/2015 02:37 PM, Sachin Kulkarni1 wrote:
> Hello All,
> 
> We want to install / configure and test Dovecot.
> 
> We are doing it for the first time.
> 
> After installation we are now looking for configuration file and need to know 
> significance  of below params and what values we should provide ?
> 
> protocols =
> listen =
> base_dir =
> login_greeting =
> 
> Please help.

Did you read the comments in
http://hg.dovecot.org/dovecot-2.2/file/tip/doc/example-config/dovecot.conf

Any question left?

> 
> Disclaimer:  This message and the information contained herein is proprietary 
> and confidential and subject to the Tech Mahindra policy statement, you may 
> review the policy at http://www.techmahindra.com/Disclaimer.html externally 
> http://tim.techmahindra.com/tim/disclaimer.html internally within 
> TechMahindra.
> 

O rly?


Regards,
Pascal
-- 
The trapper recommends today: f007ba11.1518...@localdomain.org


Re: Questions about hardlinks, alternate storage and compression

2015-07-06 Thread Gionatan Danti

Sorry list,
anyone with a good idea / suggestion?

Thanks.

Il 29-06-2015 11:20 Gionatan Danti ha scritto:

Hi all,
any ideas?

Especially point n.1 (no hardlink when sending the same email to
multiple addresses) confuse me a bit. Searching in old messages I even
stumbled on some users stating that, using Dovecot LMTP server, they
achieved what I want (one messagge, multiple hardlinks), but I am
_already_ using LMTP with no avail...

Regards.

On 27/06/15 18:18, Gionatan Danti wrote:

Hi all,
I have some questions about hardlinks, alternate storage and
compression. I already scanned the list for related information and I
have an idea of how things works, but I would like to have a definite
answer.

System spec:
- CentOS 6.6 x64
- dovecot-2.0.9-8.el6_6.4.x86_64 RPM package/version
- sdbox mail store

1) About hardlinks: when sending the same message to two different
recipients, I see that the two u.x files are created as two different
files. Diffing them, I see that the only difference is a single char
(see [1] for an example). My questions are:
   a) it is possible to tell dovecot to create a single file + a 
single

hardlink (linkref=2)? As other IMAP servers support that features (eg:
Cyrus, CommunigatePro, etc) I am wondering if I missed something in
configuring dovecot...
   b) If it is not possible, can I run a script that compare the 
various

files and substitute equal ones (minus the changing line) with
hardlinks, or it will confuse dovecot? As a side note, why the 
changing

line ever exists?

2) About alternate storage and compression: actually, I use a single
mail_location without compression. I would like to have an alternate
storage and to enable compression on it only, leaving the main 
location

without compression. I if understand it correctly, it _should_ be done
using a command similar to "doveadm -Dv -o "plugin/zlib_save=gz" 
altmove

-uu testuser sentbefore 8d". I'm right thinking that it should work? I
will really end with a primary uncompressed mail store and an 
alternate,

zlib-compressed one?

Thank you all and sorry if I did some naive questions.

[1]
63c63
< G2fd0811c64be8e553d97eaa8309f
---

G2ed0811c64be8e553d97eaa8309f






--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.da...@assyoma.it - i...@assyoma.it
GPG public key ID: FF5F32A8


Dovecot - Config file details

2015-07-06 Thread Sachin Kulkarni1
Hello All,

We want to install / configure and test Dovecot.

We are doing it for the first time.

After installation we are now looking for configuration file and need to know 
significance  of below params and what values we should provide ?

protocols =
listen =
base_dir =
login_greeting =

Please help.

Thanks and Regards,
Sachin Kulkarni





Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.




Re: Dovecot LMTP tries to access a directory of a different user, than the one it actually changed to.

2015-07-06 Thread Ernest Deak

Adding r= field into the Mlocal definition of sendmail.cf worked out.
However, I dug around the documentation and found a macro one can define
to achieve this without having to mess around with the .cf file.

I am adding this here for anyone who might encounter the same problem.

In an .mc file, you can write:

define(`LOCAL_MAILER_MAXRCPTS',`1')

To achieve the same effect.

Thanks to all for the hints.

On 03.07.2015 15:09, Steffen Kaiser wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 3 Jul 2015, Ernest Deak wrote:

Hello, I encountered a problem when trying to send an email to 
multiple recipients.


Jul  3 12:34:57 dhcp90 dovecot: lmtp(24106, tester): Error: 
stat(/home/han.solo/mail/.imap/INBOX/dovecot.index.log) failed: 
Permission denied (euid=802(tester) egid=800(kerber) missing +x perm: 
/home/han.solo, euid is not dir owner)
Jul  3 12:34:57 dhcp90 dovecot: lmtp(24106, tester): Error: 
open(/home/han.solo/mail/.imap/INBOX/dovecot.index) failed: 
Permission denied (euid=802(tester) egid=800(kerber) missing +x perm: 
/home/han.solo, euid is not dir owner)
Jul  3 12:34:57 dhcp90 dovecot: lmtp(24106, tester): 
70NxN1FlllUqXgAA0vrzwA: msgid=<55966551.IfKOMu/T0WTB9M5x%vader at 
dhcp90.#>: save failed to INBOX: BUG: Unknown internal error



My MTA is sendmail
I am using dovecot-lmtp for local delivery
Mailbox format is mbox
Configured managesieve plugin to listen on 4190. (not sure if this is 
even related but it might)


The problem I see is that lmtp(user1) tries to access the home 
directory /home/user2 and I cannot figure out the reason why.

This only happens when sending mails to multiple recipients.


I see the that lmtp complains that it doesn't have execute 
permissions. But I don't want to place execute permissions for others 
on the entire /home/* dir structure.


as far as I remember there had been (or is) a bug in Dovecot, that 
privilegues are not changed correctly when delivering to another user. 
If that's the case, limit the number of recipients per LMTP message to 
1, see r= field in mailer definition in op.me.


- -- Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVZaJdHz1H7kL/d9rAQJrBAf/XYV/Pma3MEyZsyk90g/llcRbXK4kn84J
IopHII8l82XPGZKBsaaEp3hkNn+hKkNxwPpLXD57Ny5rM9fAZkYrvW/ZPBZ6pFoQ
htMF5VXkpZ9i99ftCMGo4KmpbJC1cpmnTluxJvKclgjzwRLWfCdhuRH51YnAhinM
8dItrRyrv/5H0T8HeIQi9QSQPdquCiuY8RVQvos+6dClb3XEKAjyRwmjs0SRgoI2
Zqewwls6UbaXbgDqA+2umySRjHh8lQsIWg4DFcSigH3vE7XuYdruphbsHdY7Ssib
nT/l3WhrjjdXEoAzTPZgmorzP7/e/NM9rYZxNxgopht4YDBPX1/CYA==
=JYrh
-END PGP SIGNATURE-





smime.p7s
Description: S/MIME Cryptographic Signature