Re: [Dovecot] New document on troubleshooting Dovecot IMAP

2014-01-19 Thread voytek
On Mon, January 20, 2014 9:11 am, Steve Litt wrote:

> Check out my new document on troubleshooting Dovecot IMAP:
> http://www.troubleshooters.com/emailtech/imap_troubleshooting.htm


Steve,

thanks for that,
interesting page, thanks for shareing

(I've been meaning for a while to self document some things, you're saving
me some effort, and, motivating)

V



[Dovecot] New document on troubleshooting Dovecot IMAP

2014-01-19 Thread Steve Litt
Hi all,

Check out my new document on troubleshooting Dovecot IMAP:

http://www.troubleshooters.com/emailtech/imap_troubleshooting.htm

Thank you to all those, on this mailing list and on the #dovecot IRC
channel, for helping me with this.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


[Dovecot] mail check

2014-01-19 Thread Paolo


Is there some simple script that parsing the dovecot.info.log can give me 
a list of the mail checks for a user (better if reports also the type 
(POP/IMAP), and result of the sessions (Ok/Fail/Error/...))?


Regards, Paolo



Re: [Dovecot] Shared Folters with LDA/Sieve

2014-01-19 Thread Steffen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dieter Knopf wrote:
> I tried the way via mysql
> (http://wiki2.dovecot.org/SharedMailboxes/Shared) but nothing
> happens. I can't see (or subscribe) the shared folders.
> 
> I inserted (to the mysql table): from_user=i...@foo.tld 
> to_users=n...@foo.tld
> 
> But the user n...@foo.tld can't subscribe/see anything.

Did you've read http://wiki2.dovecot.org/ACL ? The entry in the
database is not the source of sharing information.

> I added shared namespace to the config: namespace { type = shared 
> separator = / prefix = shared/%%d/%%n/ location =
> maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u subscriptions = no 
> list = children }

You have just copied the example into your config, haven't you? Do you
get error messages about not finding the mailbox? You should enabled
logging for testing: http://wiki2.dovecot.org/Logging

> 
> Not sure if this is the right way if i use virtual users: 
> mail_location = 
> maildir:/home/vmail/%d/%n:INDEX=/home/vmail-indexes/%d/%n:LAYOUT=fs

In
> 
the shared namespace you've configured Dovecot to look in the
sharing user's home directory for Maildir, but the default location
points to somewhere else, no Maildir at all. Where are the mailboxes
located?
IMHO, the correct location for most shared namespaces would be the
location of the user with %'s doubled and INDEXes per user.

E.g. if above default mail_location is correct:

location =
maildir:/home/vmail/%%d/%%n:INDEX=/home/vmail-indexes/%d/%n/shared/%%u:LAYOUT=fs

In a shared namespace %%u applies to the sharing user and %u to the
current user, therefore that config defines the same as the default
location, but with user-specific indexes, see
http://wiki2.dovecot.org/IndexFiles if you prefer user-specific vs.
mailbox-specific indexes.

> namespace  { type = private separator = / prefix = inbox = yes ...
> 
> Thanks!
> 
> 
> 
> 2013/11/18 Steffen Kaiser 
> 
> 
> On Sun, 17 Nov 2013, Dieter Knopf wrote:
> 
> I need global email addresses like:
 i...@foo.tld cont...@foo.tld h...@foo.tld
 
 Every address with own Sieve-rules for filtering and sorting
 of incoming mails.
 
 Now every user needs access to this folders, but how? How
 should i create the "global" addresses?
 
 I already found
 http://wiki2.dovecot.org/SharedMailboxes/Public , but that's
 just a public namespace.
 
 Is there any FAQ available for this?
 
> 
> IMHO, you should use: 
> http://wiki2.dovecot.org/SharedMailboxes/Shared 
> http://wiki2.dovecot.org/ACL
> 
> setup those three recipient as their own accounts with Sieve filter
> a.s.o. Then install ACLs to share to anyone - or create a group for
> all users.


- -- 
Steffen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEVAwUBUtv7aXD1/YhP6VMHAQL/BQf/W9M0ZbH04qs/8hNeO+b6scqLFYXIYRdt
YI9Hno3RoIrB5KlfHpK+Mf6dZolGG4wAneJxd5mXkye+IgKIZXDCNjGp2gCRezX6
qSANzQUe2JsZFgrjiMQs/sTJB5qFhsjpHIpmQaJYCXtDdTvMe8Z01IxG8IqVAsCU
p3bEb9rF/3cBd0MW2hCPAhHeoBEKZxG16ElDBPMZBj497e+I860Ulj5DaF8PZHXM
EyycYNE18WanQTba1BvtlwIb9ye9EfdFOMQLojZ/coSeGkoY2LbbfbZCRURAUf9p
I05ER6uzJVflVZu1LL94VBPuGRehzMdk5P6OdeIumelRFBOr3T9iew==
=+bJZ
-END PGP SIGNATURE-