Re: [Dovecot] double write-locking dovecot.index.log

2010-05-18 Thread Mike Abbott
On Apr 14, 2010, at 9:25 PM, Mike Abbott wrote:

> Dovecot's transactions often write-lock dovecot.index.log twice (without 
> unlocking in between), and then unlock it twice.  Is that intended, or is 
> that a bug?

Turns out it was a misunderstanding.  No such double locking occurs.  When the 
log file rotates locking does occur on a file with the same name but the 
descriptor (which is what matters to the file locking code) is different.  
False alarm.

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Nick Osborn
On 18 May 2010, at 22:32, Phil Howard wrote:

> On Tue, May 18, 2010 at 15:50, Timo Sirainen  wrote:
> 
>> imaptest actually allows something similar to that. It has possibility to
>> "expect" kind of scripts where it sends some commands and expects something
>> specific in return. There's a tests/ directory that tests a lot of imap
>> commands replies. I don't remember if it currently supports matching
>> multi-line replies, and if it does it would be a bit difficult to write
>> those for larger emails.
>> 
>> Anyway, it doesn't support SSL/TLS. You could run it through stunnel
>> though.
>> 
> 
> What I need is a program that already has all the logic to do IMAP as a
> client already in it.  This isn't about testing IMAP logic per-se.  It's
> about making sure mail is going through OK, and logins that should fail will
> fail, and mail deliveries that should fail will fail (for example mail from
> a computer listed as blocked should never show up in the mailbox designated
> to test that, along with mail that has keywords specifically marked as "is
> always spam").  It's testing at a higher level than seeing if a given IMAP
> command gives the expected response (which is more of a diagnostic tool than
> the monitoring tool I need).

fetchmail? http://fetchmail.berlios.de/

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 15:50, Timo Sirainen  wrote:

> imaptest actually allows something similar to that. It has possibility to
> "expect" kind of scripts where it sends some commands and expects something
> specific in return. There's a tests/ directory that tests a lot of imap
> commands replies. I don't remember if it currently supports matching
> multi-line replies, and if it does it would be a bit difficult to write
> those for larger emails.
>
> Anyway, it doesn't support SSL/TLS. You could run it through stunnel
> though.
>

What I need is a program that already has all the logic to do IMAP as a
client already in it.  This isn't about testing IMAP logic per-se.  It's
about making sure mail is going through OK, and logins that should fail will
fail, and mail deliveries that should fail will fail (for example mail from
a computer listed as blocked should never show up in the mailbox designated
to test that, along with mail that has keywords specifically marked as "is
always spam").  It's testing at a higher level than seeing if a given IMAP
command gives the expected response (which is more of a diagnostic tool than
the monitoring tool I need).


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Timo Sirainen
On 18.5.2010, at 19.31, Phil Howard wrote:

>> http://imapwiki.org/ImapTest
> 
> 
> What I'm looking for is not something that just tries commands.  What I want
> to do is actually try to pick up mail and store it in some directory.  My
> script would then check to see if it got the mail it was expecting, or got a
> failure it was expecting (for a scenario that should fail).  Sorry for not
> being clear on that.

imaptest actually allows something similar to that. It has possibility to 
"expect" kind of scripts where it sends some commands and expects something 
specific in return. There's a tests/ directory that tests a lot of imap 
commands replies. I don't remember if it currently supports matching multi-line 
replies, and if it does it would be a bit difficult to write those for larger 
emails.

Anyway, it doesn't support SSL/TLS. You could run it through stunnel though.



Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread William Blunn

Phil Howard wrote:

Those all looked like libraries/modules.  Any complete commands?  Writing Perl 
code is not an option for me.


From what origin comes your restriction on Perl?

Bill


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 13:17, Mark Moseley  wrote:

> I haven't used it much but it looked useful:
> http://bc-bd.org/blog/imapfoo/
>

Hmmm.  That (inserting mail into folders) can have it uses.  But I'm really
looking for something to do, in a very basic way, what is expected of an
IMAP client, which is to fetch and read mail.  Something that can login and
list messages to stdout, or login and fetch a specified message to stdout,
would be what I need (and that login might be by clear port 143, STARTTLS on
port 143, or plain SSL/TLS on port 993).


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 11:42, Hugo Monteiro wrote:

>  Replying myself in this one. Should have looked a bit further into it.
>
>
> http://imapwiki.org/ImapTest


What I'm looking for is not something that just tries commands.  What I want
to do is actually try to pick up mail and store it in some directory.  My
script would then check to see if it got the mail it was expecting, or got a
failure it was expecting (for a scenario that should fail).  Sorry for not
being clear on that.


Re: [Dovecot] problem trying out dovecot hg

2010-05-18 Thread Timo Sirainen
On 18.5.2010, at 17.13, Pascal Volk wrote:

>> May 18 14:56:16 exodia dovecot: master: Error: service(pop3-login): 
>> safe_mkstemp(/tmp/dovecot-master) failed: Permission denied
> 
> Michal Hlavinka (Red Hat) suggested:
> http://paste.pocoo.org/show/215277/

Actually I don't know why I placed it into /tmp instead of base_dir. And the 
name is bad too, for a while I had no idea what it even was. So this should 
help too: http://hg.dovecot.org/dovecot-2.0/rev/ae84eb604f84



Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Mark Moseley
On Tue, May 18, 2010 at 8:42 AM, Hugo Monteiro  wrote:
> On 05/18/2010 04:40 PM, Hugo Monteiro wrote:
>>
>> On 05/18/2010 04:33 PM, Phil Howard wrote:
>>>
>>> On Tue, May 18, 2010 at 10:17, Steffen
>>> Kaiser>>>
 wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On Tue, 18 May 2010, Phil Howard wrote:

  Anyone ever heard of such a tool?  Open source would be preferred
 (better
 http://search.cpan.org/search?mode=dist&query=imap

>>> Those all looked like libraries/modules.  Any complete commands?  Writing
>>> Perl code is not an option for me.
>>>
>>
>> Once there was small program Timo did.
>>
>> http://www.dovecot.org/list/dovecot/2006-February/011635.html
>>
>> Dunno if it's still around and usable for the current dovecot versions, or
>> even if it was any good to use with other servers.
>>
>> You should ask Timo.
>>
>> R's,
>>
>> Hugo Monteiro.
>>
>
>
> Replying myself in this one. Should have looked a bit further into it.
>
>
> http://imapwiki.org/ImapTest
>
> R's,
>
> Hugo Monteiro.
>
> --
> fct.unl.pt:~# cat .signature
>
> Hugo Monteiro
> Email    : hugo.monte...@fct.unl.pt
> Telefone : +351 212948300 Ext.15307
> Web      : http://hmonteiro.net
>
> Divisão de Informática
> Faculdade de Ciências e Tecnologia da
>                   Universidade Nova de Lisboa
> Quinta da Torre   2829-516 Caparica   Portugal
> Telefone: +351 212948596   Fax: +351 212948548
> www.fct.unl.pt                ap...@fct.unl.pt
>
> fct.unl.pt:~# _
>
>

I haven't used it much but it looked useful: http://bc-bd.org/blog/imapfoo/


[Dovecot] Dovecot 2.0.beta5: dovecot-uidlist: Duplicate file entry at line X

2010-05-18 Thread Chris Laif
Hi,

I'm using dovecot 2.0.beta5 (IMAP and LMTP+sieve) and I'm getting lots
of errors like this:

Warning: /data/mail/4567/Maildir/dovecot-uidlist: Duplicate file entry
at line 3: 1274182284.M635158P16414.mail,S=767,W=785:2,S (uid 5 -> 16)

All data is stored on local disk (ext3, no NFS!). As this is a fresh
installation of dovecot I do not know if older versions work better.
One user complained about loosing email from inbox but I guess that's
probably a user error :)

I think that the error might be related to deliveries via LMTP as this
(new) functionality has not been tested extensivly (?)

Regards,
Chris

./configure \
--with-pgsql \
--with-ioloop=best \
--without-shadow \
--without-pam \
--without-nss \
--with-storages=maildir \
--without-vpopmail

# 2.0.beta5: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.4
auth_cache_negative_ttl = 60 s
auth_cache_size = 10485760
auth_mechanisms = plain login cram-md5
disable_plaintext_auth = no
first_valid_gid = 1234
first_valid_uid = 1234
info_log_path = /dev/stderr
last_valid_gid = 1234
last_valid_uid = 1234
mail_location = maildir:~/Maildir
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  fts = squat
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = -reject -vacation -enotify -notify
}
protocols = imap lmtp managesieve
service lmtp {
  inet_listener {
port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
address = 10.2.3.4
  }
}
ssl_cert = 

Re: [Dovecot] Make dovecot.index and dovecot.index.cache

2010-05-18 Thread Kenji Iuchi

Dear Steffen Kaiser:

Thank you for an Reply.


On Tue, 18 May 2010, Kenji Iuchi wrote:


But that file is made on connecting IMAP Session.


Open a pre-auth'ed session: http://wiki.dovecot.org/PreAuth
Then SELECT any mailbox of the user and repeat for next user.


Hmm,, PreAtuh Session make dovecot.index, but don't make 
dovecot.index.cache.

dovecot.index.cache was made on IMAP reading..?

However, I do not think you need it in cron, or do your users get that 
many mails between two sessions?


I want a thing such as Cyrus Squatter for IMAP cache,and
make dovecot.index.cache in a command-line...
Cyrus Squatter (Cyrus IMAP Cache)is made regulary.


On two sessions, I don't want to think very much.




Regards,

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

iQEUAwUBS/KiSL+Vh58GPL/cAQIr4Af4q7j0LByxKHoRZCpEpBnOUy4BIkydOjX9
P3DMROcJd4Jb3/KGrDhvxMiubs2Kgz/Ebs9S7bn8WbDNo5ppukPP+DEhRM3DOYyw
kmH9hwOpQ3RIxj/Op78lnLBHteIWcNf99ZV2PwAnGawIwqe4NExsdwXV3AtNFnMu
q8oXTQa+XwXy4SnAf7x9Aulqu4v6IQod0hHyY0fLI7J44+61lB4W6Kqm4myPbKjQ
ayNAVBI8Ir1bEZqCjAs0CI6jveqDis0kfP2G30fkAYXzoN80tbzcoWhBIGqZJ0k8
TRBXqW+3Q2j1B2nl/dkj3eF89TSLO2T/ySgSclXyMI/c+x0iF71A
=rxJU
-END PGP SIGNATURE-





--
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
Kenji Iuchi
mail to: gc4 @ m2.gyao.ne.jp
 kenji.iuchi @ gmail.com
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Hugo Monteiro

On 05/18/2010 04:40 PM, Hugo Monteiro wrote:

On 05/18/2010 04:33 PM, Phil Howard wrote:
On Tue, May 18, 2010 at 10:17, Steffen 
Kaiser
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Tue, 18 May 2010, Phil Howard wrote:

  Anyone ever heard of such a tool?  Open source would be preferred 
(better

http://search.cpan.org/search?mode=dist&query=imap

Those all looked like libraries/modules.  Any complete commands?  
Writing

Perl code is not an option for me.



Once there was small program Timo did.

http://www.dovecot.org/list/dovecot/2006-February/011635.html

Dunno if it's still around and usable for the current dovecot 
versions, or even if it was any good to use with other servers.


You should ask Timo.

R's,

Hugo Monteiro.




Replying myself in this one. Should have looked a bit further into it.


http://imapwiki.org/ImapTest

R's,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email: hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web  : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.ptap...@fct.unl.pt

fct.unl.pt:~# _



Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Hugo Monteiro

On 05/18/2010 04:33 PM, Phil Howard wrote:

On Tue, May 18, 2010 at 10:17, Steffen Kaiser   

wrote:
 
   

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Tue, 18 May 2010, Phil Howard wrote:

  Anyone ever heard of such a tool?  Open source would be preferred (better
 
   

http://search.cpan.org/search?mode=dist&query=imap

 

Those all looked like libraries/modules.  Any complete commands?  Writing
Perl code is not an option for me.

   


Once there was small program Timo did.

http://www.dovecot.org/list/dovecot/2006-February/011635.html

Dunno if it's still around and usable for the current dovecot versions, 
or even if it was any good to use with other servers.


You should ask Timo.

R's,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email: hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web  : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.ptap...@fct.unl.pt

fct.unl.pt:~# _



Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 10:17, Steffen Kaiser  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On Tue, 18 May 2010, Phil Howard wrote:
>
>  Anyone ever heard of such a tool?  Open source would be preferred (better
>>
>
> http://search.cpan.org/search?mode=dist&query=imap
>

Those all looked like libraries/modules.  Any complete commands?  Writing
Perl code is not an option for me.


Re: [Dovecot] problem trying out dovecot hg

2010-05-18 Thread Pascal Volk
On 05/18/2010 03:03 PM joa...@verona.se wrote:
> I get:
> May 18 14:56:16 exodia dovecot: master: Dovecot v2.0.beta5 (4ba05c3702be) 
> starting up (core dumps disabled)
> May 18 14:56:16 exodia dovecot: master: Error: service(pop3-login): 
> safe_mkstemp(/tmp/dovecot-master) failed: Permission denied
> May 18 14:56:16 exodia dovecot: master: Error: service(imap-login): 
> safe_mkstemp(/tmp/dovecot-master) failed: Permission denied
> 
> 
> "nc localhost 143" never connects
> 
> listeners seem to be running at port 143

For the records:

Michal Hlavinka (Red Hat) suggested:
http://paste.pocoo.org/show/215277/


Regards,
Pascal
-- 
The trapper recommends today: cafefeed.1013...@localdomain.org


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Heiko Schlittermann
Phil Howard  (Di 18 Mai 2010 16:04:14 CEST):
> I'm looking for an IMAP testing tool, suitable to use with Dovecot IMAP.  It
> needs to support TLS, STARTTLS, and login/authentication.  It needs to be
> able run from command line, shell scripts, and even do so under cron jobs
> (e.g. a way to supply the password to use w/o a terminal prompt).  Typical
> interactive mail clients just don't cut it (even the text mode ones).  One
> reason is I need to do the tests on a number of machines, under a number of
> user and domain names, and with a variety of parameters or destinations.
> This is for a suite of regression tests I am putting together intended to
> verify that configuration changes do not break things (or unbreak things
> that are supposed to not work).
> 
> Anyone ever heard of such a tool?  Open source would be preferred (better
> yet, my favorite programming languages: C, Pike, Python).

You could use imtest and pop3test from the cyrus suite. The newer
versions should work with a dovecot server too. (Older ones were buggy
and expected more output than dovecot sent.)

For Perl exist several modules/libray to home brew your tests.

use Mail::IMAPClient;

my $s = new Mail::IMAPCLient(
Server => …,
User => …,
…
) or die $@;

$s->examine("INBOX") or die $@;
… and so on.

-- 
Heiko


signature.asc
Description: Digital signature


Re: [Dovecot] Make dovecot.index and dovecot.index.cache

2010-05-18 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 18 May 2010, Kenji Iuchi wrote:


But that file is made on connecting IMAP Session.


Open a pre-auth'ed session: http://wiki.dovecot.org/PreAuth
Then SELECT any mailbox of the user and repeat for next user.

However, I do not think you need it in cron, or do your users get that 
many mails between two sessions?


Regards,

- -- 
Steffen Kaiser

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

iQEUAwUBS/KiSL+Vh58GPL/cAQIr4Af4q7j0LByxKHoRZCpEpBnOUy4BIkydOjX9
P3DMROcJd4Jb3/KGrDhvxMiubs2Kgz/Ebs9S7bn8WbDNo5ppukPP+DEhRM3DOYyw
kmH9hwOpQ3RIxj/Op78lnLBHteIWcNf99ZV2PwAnGawIwqe4NExsdwXV3AtNFnMu
q8oXTQa+XwXy4SnAf7x9Aulqu4v6IQod0hHyY0fLI7J44+61lB4W6Kqm4myPbKjQ
ayNAVBI8Ir1bEZqCjAs0CI6jveqDis0kfP2G30fkAYXzoN80tbzcoWhBIGqZJ0k8
TRBXqW+3Q2j1B2nl/dkj3eF89TSLO2T/ySgSclXyMI/c+x0iF71A
=rxJU
-END PGP SIGNATURE-


Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 18 May 2010, Phil Howard wrote:


Anyone ever heard of such a tool?  Open source would be preferred (better


http://search.cpan.org/search?mode=dist&query=imap

:)

Regards,

- -- 
Steffen Kaiser

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

iQEVAwUBS/Khkb+Vh58GPL/cAQLLggf/XaHWOB7gOWqWWaW+vfAqNMuP+WU9SwVF
NmAkBlWowqoqC/s9U7gT+v7J8hI/7WE+RZ04lI5EYANGtY3HR/+o44emgzT3Ds17
OepfM+ElP93qfXVi8Ch97vQwHLjOz5nMdzirVEv9MTPZiU026o4VqQxpZOhpIvhp
IHFL7YhM5bOgyfCLX9cMgvJme18QHjL00pfaUxUp/MUwCAHdg/HmaWW9+sRz0e3E
4gN2Al7TGtY5h//CiOUGkVeNVCnSTHi6vrQS78lP/KbEyfQT3OFnLPLAs5T5BIw6
cE5ghS5nNkWuI/4Ro2wSm2UMZEX9e8t4253HWbR+1Q35LVBf9IjECQ==
=U0go
-END PGP SIGNATURE-


[Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
I'm looking for an IMAP testing tool, suitable to use with Dovecot IMAP.  It
needs to support TLS, STARTTLS, and login/authentication.  It needs to be
able run from command line, shell scripts, and even do so under cron jobs
(e.g. a way to supply the password to use w/o a terminal prompt).  Typical
interactive mail clients just don't cut it (even the text mode ones).  One
reason is I need to do the tests on a number of machines, under a number of
user and domain names, and with a variety of parameters or destinations.
This is for a suite of regression tests I am putting together intended to
verify that configuration changes do not break things (or unbreak things
that are supposed to not work).

Anyone ever heard of such a tool?  Open source would be preferred (better
yet, my favorite programming languages: C, Pike, Python).


[Dovecot] Make dovecot.index and dovecot.index.cache

2010-05-18 Thread Kenji Iuchi
Hi,

I would like to make dovecot.index and dovecot.index.cache manually.
But that file is made on connecting IMAP Session.
That file contribute to performance improvement, so I want to register
myself with crontab.

Please teach how to make dovecot.index and dovecot.index.cache manyually.

Note. Dovecot LDA is not use.

-- 
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
Kenji Iuchi


[Dovecot] problem trying out dovecot hg

2010-05-18 Thread joakim
I get:
May 18 14:56:16 exodia dovecot: master: Dovecot v2.0.beta5 (4ba05c3702be) 
starting up (core dumps disabled)
May 18 14:56:16 exodia dovecot: master: Error: service(pop3-login): 
safe_mkstemp(/tmp/dovecot-master) failed: Permission denied
May 18 14:56:16 exodia dovecot: master: Error: service(imap-login): 
safe_mkstemp(/tmp/dovecot-master) failed: Permission denied


"nc localhost 143" never connects

listeners seem to be running at port 143


-- 
Joakim Verona


Re: [Dovecot] Shared mailboxes

2010-05-18 Thread Charles Marcus
On 2010-05-18 7:16 AM, Timo Sirainen wrote:
> On 18.5.2010, at 13.10, Matthew Sackman wrote:
 But ive no idea how to share a mailbox. Thunderbird and most
 other Clients seem not to support the setacl command.

>> Yeah, I found that too. My solution was to learn IMAP, telnet in,
>> and run the SETACL commands myself.

> Yes, that's currently the "best" solution. For v2.0 perhaps I'll
> create doveadm acl set command. That would still work in a similar
> way though, so it's not all that much better than IMAP.

The good news is Thunderbird is implementing this now:

https://bugzilla.mozilla.org/show_bug.cgi?id=522954

Not sure if there is a build available for testing though...

Hopefully they will implement it 'correctly' (according to RFCs)...

-- 

Best regards,

Charles


Re: [Dovecot] Shared mailboxes

2010-05-18 Thread Timo Sirainen
On 18.5.2010, at 13.10, Matthew Sackman wrote:

>>> But ive no idea how to share a mailbox.
>>> Thunderbird and most other Clients seem not to support the setacl command.
> 
> Yeah, I found that too. My solution was to learn IMAP, telnet in, and
> run the SETACL commands myself.

Yes, that's currently the "best" solution. For v2.0 perhaps I'll create doveadm 
acl set command. That would still work in a similar way though, so it's not all 
that much better than IMAP.



Re: [Dovecot] Shared mailboxes

2010-05-18 Thread Matthew Sackman
On Tue, May 18, 2010 at 08:07:57AM -0300, Marcio Merlone wrote:
> Em 14-05-2010 12:45, spamv...@googlemail.com escreveu:
> >can anyone give me a hind how to setup shared mailboxes.
> >I've already created the shared and private namespace.
> >
> >But ive no idea how to share a mailbox.
> >Thunderbird and most other Clients seem not to support the setacl command.

Yeah, I found that too. My solution was to learn IMAP, telnet in, and
run the SETACL commands myself.

Matthew


Re: [Dovecot] Shared mailboxes

2010-05-18 Thread Marcio Merlone

Em 14-05-2010 12:45, spamv...@googlemail.com escreveu:

can anyone give me a hind how to setup shared mailboxes.
I've already created the shared and private namespace.

But ive no idea how to share a mailbox.
Thunderbird and most other Clients seem not to support the setacl command.

so do i have to create a plaintext file with
"user=theldapuseriwanttosharemybox rw" ?
   


It seems no one uses shared folder, or people don't like questions about 
that. If you find the answer somewhere pls mail the list for the records 
of searches.



--
Marcio Merlone



Re: [Dovecot] suggestion

2010-05-18 Thread Pascal Volk
On 05/18/2010 11:26 AM Andreas Schulze wrote:
> hello,
> 
> dovecot2 implements "!include conf.d/*.conf" to build the configuration from 
> multiple configfiles.
> So the settings for pop3, imap or lmtp may stay in different files.
> 
> unfortunately the "protocol = " does not allow a += logic
> to enables or disable inet listeners.
> 
> It would be nice to have
>  protocols += imap in conf.d/imap.conf
> and
>  protocols += managesieve in conf.d/managesieve.conf
> 
> This would make the include feature more consistent...
> or is it already possible ?
> 

'Works' already.
# grep -rn ^protocols .
./conf.d/local.conf:90:protocols = $protocols imap
./conf.d/local.conf:109:protocols = $protocols lmtp
./conf.d/local.conf:120:protocols = $protocols pop3
./conf.d/local.conf:136:protocols = $protocols managesieve
./dovecot.conf:25:protocols =

BUT (1), `doveconf protocols` reports:
protocols = $protocols managesieve
doveconf: Fatal: Error in configuration file /path/2/dovecot/dovecot.conf: 
protocols: Unknown protocol: $protocols

But (2) `doveconf -x protocols` works:
protocols =  imap lmtp pop3 managesieve


Regards;
Pascal
-- 
The trapper recommends today: fabaceae.1013...@localdomain.org


[Dovecot] suggestion

2010-05-18 Thread Andreas Schulze
hello,

dovecot2 implements "!include conf.d/*.conf" to build the configuration from 
multiple configfiles.
So the settings for pop3, imap or lmtp may stay in different files.

unfortunately the "protocol = " does not allow a += logic
to enables or disable inet listeners.

It would be nice to have
 protocols += imap in conf.d/imap.conf
and
 protocols += managesieve in conf.d/managesieve.conf

This would make the include feature more consistent...
or is it already possible ?

-- 
Andreas Schulze
Internetdienste | P532

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg 
Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen



[Dovecot] problem compiling pigeonhole + my fix

2010-05-18 Thread Andreas Schulze
hello,

yesterday I tried to package dovecot-2.0beta5 + pigeonhole from Mercurial 
repository.
I put pigeonhole as a subdir in the dovecot sourcetree.
Following http://hg.rename-it.nl/dovecot-2.0-pigeonhole/raw-file/tip/INSTALL
I called ./autogen.sh; ./configure --with-dovecot=..; make

In the buildprocess I saw this output ( from autogen.sh ):
Putting files in AC_CONFIG_AUX_DIR, `..'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite

I dont know *why* AC_CONFIG_AUX_DIR is .. but in .. there are
the mentioned files (from dovecot) already present. The following make failed
with less helpfull errors.

-> my fix is to call "autoreconf -i -f" again after autogen.sh

should -f be added to autogen.sh ?

-- 
Andreas Schulze
Internetdienste | P532

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg 
Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen