Re: [Dovecot] Undertanding what the lmtp_save_to_detail_mailbox actually does

2014-02-10 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 10 Feb 2014, Alan Chandler wrote:

The problem I am facing is I can find no documentation about what 
lmtp_save_to_detail_mailbox actually causes lmtp to actually do. Searching 
the wiki refers to it only in the LMTP page.


How should the detail of the address be formatted to specify a subdirectory - 
can it be specified even? Should I be using it?


+Sent@...
+users..SentNow@...
+Archive.2013-01@...

I think, you must use mUTF7 for non-ASCII characters, you cannot use 
spaces and @ and many other characters impose problems. Also, which 
hierarchie separator you need to use, depends a little, just try with dots 
and the configured separator.


Also, for testing I advice to enable lda_mailbox_autocreate, in order to 
see when you did wrong and can try another spelling.


Unfortunately my reading of the fileinto extension is that the destination 
can only be a literal string and not a "computed" value based on the date.


that's not the problem with the variables extension. See
http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples
and search for

fileinto "users/${name}";

- -- 
Steffen Kaiser

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

iQEVAwUBUvnUL3D1/YhP6VMHAQLoSQf/a1w1WILx/7e0uvabPlv5OhuQR2Hjmgnc
wVDU4B495OVj7gCSLiV+UK4KmpGHWwB5CcNuoL5tE0XmV9mYwCQxhTw5X8evY7cw
39dbY92tCyCE+pxl1SG14oZ9En/9Ul99NIKGN9iionyzq+xrBzUQu/xnhRJaHRC+
axXfVi5fGnEZ7Xu0umXSF3JpmqZTdmp/FSSk209etvNMavBTCebm3MGmFr6c03YD
uDiqwEj7aRR9vG7jls3nYiDi7+S+cJNvl0n5fTLA+RvDaxHdvkzIlJq4bUxEnJXJ
WJlqsztWkP1WdsHTfM03z7ZSopv/11e4DBNttjPODrD/ravqtNdjfQ==
=WvWW
-END PGP SIGNATURE-


[Dovecot] lmtp_rcpt_check_quota not working

2014-02-10 Thread Bernhard Schmidt
Hi,

Dovecot 2.2.9 (Debian package from backports) does not seem to respect
lmtp_rcpt_check_quota

# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 
deliver_log_format = from=<%e>, size=%p, message-id=<%m>, status=%$
disable_plaintext_auth = no
lmtp_rcpt_check_quota = yes
mail_debug = yes
mail_gid = mstore
mail_location = maildir:~/Maildir:INDEX=/var/cache/dovecot/index/%-1.1u/%u
mail_plugins = quota
mail_uid = mstore
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
mmap_disable = yes
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Junk {
auto = subscribe
special_use = \Junk
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix = INBOX.
  separator = .
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  quota = maildir
  quota_rule = ?:storage=512M
  quota_rule2 = INBOX.Trash:ignore
  quota_status_nouser = DUNNO
  quota_status_overquota = 452 4.2.2 Mailbox is full
  quota_status_success = DUNNO
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=85%% quota-warning 85 %u
  sieve = ~/currently-active-script.sieve
  sieve_dir = ~/sieve
}
pop3_uidl_format = %08Xv%08Xu
protocols = imap lmtp sieve pop3
quota_full_tempfail = yes
service anvil {
  client_limit = 3000
  unix_listener anvil {
group = sudo
mode = 0660
  }
}
service auth {
  client_limit = 3000
  unix_listener auth-userdb {
group = mstore
mode = 0660
user = mstore
  }
}
service imap-login {
  client_limit = 1024
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
  process_limit = 2500
  process_min_avail = 4
  service_count = 0
}
service lmtp {
  inet_listener lmtp {
address = xxx
port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
port = 2000
  }
  service_count = 1
}
service managesieve {
  process_limit = 1024
}
service pop3-login {
  inet_listener pop3 {
port = 110
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
service quota-status {
  client_limit = 5
  executable = quota-status -p postfix
  inet_listener {
address = xxx
port = 12340
  }
}
service quota-warning {
  executable = script /etc/dovecot/quotawarnmsg.sh
  unix_listener quota-warning {
user = mstore
  }
  user = mstore
}
ssl_cert =  Quota exceeded (mailbox for user is
full) (in reply to end of DATA command))

I haven't seen any commits regarding to this in 2.2.10 or tip.

Regards,
Bernhard


Re: [Dovecot] Fedora Rpm of Dovecot Antispam plugin

2014-02-10 Thread Trever L. Adams
On 02/10/2014 06:14 PM, David Mehler wrote:
> Hello,
>
> Quick question, does anyone have a fedora 17 rpm or a rel src.rpm that
> can be rebuilt, of the dovecot antispam plugin?
>
> Thanks.
> Dave.
>
Hello Dave,

I can provide you with a SPEC file if that is what you are after. I do
not publish my RPM/SRPM for various reasons, but I am happy to share the
SPEC. I used it from before 17 and am using it with Fedora 20 now.

Trever




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] plain test passwords

2014-02-10 Thread Tamsy

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Eric Broch wrote the following on 11.02.2014 09:19:
> Is it possible to enable plaintext passwords on dovecot?

A simple look at the Wiki will answer your question:
http://wiki2.dovecot.org/Authentication/Mechanisms


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)
 
iQEcBAEBAgAGBQJS+ZKuAAoJEKYXVM1dyOfZQ1UIAJxqQB+ydWsp+8dMr26LqyyB
xAPmq1wOsSG/HURaATP3HHhEAx9MKm9GkXq+psy6vOUWArloLy4P4+yZ3zcNVvix
PMT4q1DY6UL4GGF3S8AHSfWhR2fV6qoEg8bRFtVCdazhuIrzSogAgAk3SK3p9bKP
VT4gr7aY/pNaT+lupbXrH4C9gs2cHbnlnVX/WVOJu//Hp576hzOWMWE+UyVxCjv6
aN5BAvC718p/314vMZSuq1PAlP8OnGSgg75It/MzBs8YEXydz7jKJiu6S8fsJ1VR
ZHdI6RivMjxcDor1MXTSJRtyUP6Z+121rIVzU/sG+KBNKEqFvsRm0PhXmFqZQIA=
=X93l
-END PGP SIGNATURE-



0x5DC8E7D9.asc
Description: application/pgp-keys


[Dovecot] plain test passwords

2014-02-10 Thread Eric Broch
Is it possible to enable plaintext passwords on dovecot?


[Dovecot] Fedora Rpm of Dovecot Antispam plugin

2014-02-10 Thread David Mehler
Hello,

Quick question, does anyone have a fedora 17 rpm or a rel src.rpm that
can be rebuilt, of the dovecot antispam plugin?

Thanks.
Dave.


Re: [Dovecot] Sieve - Not showing new emails in Thunderbird?

2014-02-10 Thread craig . dovecot
On Mon, Feb 10, 2014 at 07:12:32AM +0100, Steffen Kaiser wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Mon, 10 Feb 2014, craig.dove...@noboost.org wrote:
> 
> >mail directories. However Thunderbird doesn't detect the new email,
> >until the user clicks on the folder and then all of a sudden it shows
> >the newly detected emails. Perhaps this is a task for the Thunderbird
> 
> Is Thunderbird configured to detect changes in those folders?
Brilliant thanks! I love it when it's a simple answer.

cya

Craig


[Dovecot] Undertanding what the lmtp_save_to_detail_mailbox actually does

2014-02-10 Thread Alan Chandler

Hi

I am just learning to setup dovecot as part of a project to move my home 
mail serving from a large and complex linux computer which is acting as 
internet router/nat gateway to the internet (this leaving me exposed 
without internet connection when it goes down) to a raspberry pi - which 
will be port-forwarded to, when I turn my internet cable modem back into 
a router/modem.


I have chosen to try and do this with a Postfix/Dovecot combination with 
some key user information coming from an sqlite database. Postfix will 
use Dovecot for authentication (where needed) and use its lmtp service 
for local delivery.


I have so far got Dovecot working fine for the basic stuff, including 
using rsync to copy each of my users entire maildir from the old machine 
to the new to prove that it can be accessed.


but I have one last specific piece of functionality I want to achieve 
that the old system does (and has been doing) for at least 5 years (that 
is what is still online - I think I have "archived" some older stuff).


The existing environment uses a Exim4/Cyrus IMAP combination and with 
Exim I have managed to develop the rules so that all outgoing mail from 
my internal clients is copied into a subdirectory of their sent mail 
folder.  The format of the folder is Sent..mm where  and mm are 
computed on the fly from todays date.  (the .separator defining a 
subfolder in the hierarchy) I now have several years of saved messages 
in my existing system.


Postfix has nowhere near the flexibility of Exim to develop rules like 
that, but I think I could potentially use an sql query on my user 
database to set up a sender_bcc_map that addressed the result to local part>+Sent..  (or 
maybe+Sent// and then send that to dovecot.


I have then to decide how to handle it.

The problem I am facing is I can find no documentation about what 
lmtp_save_to_detail_mailbox actually causes lmtp to actually do. 
Searching the wiki refers to it only in the LMTP page.


How should the detail of the address be formatted to specify a 
subdirectory - can it be specified even? Should I be using it?


I have seen comments in the past about people recommending using sieve 
for this sort of thing. and indeed it might be better if I could figure 
it out, in that


1) I could then send to something more simple like 
+saveoutgoing and use the "date" extension of sieve to 
generate the split.
2) Users could ultimately decide what to do them selves with this tag 
(and I could define a global "after_sieve" to throw it away.


Unfortunately my reading of the fileinto extension is that the 
destination can only be a literal string and not a "computed" value 
based on the date.


UNLESS anyone knows different?

I would welcome any advice anyone could give me

Thanks

Alan Chandler


[Dovecot] can not see public mailbox

2014-02-10 Thread David Mehler
Hello,

I'm running Dovecot2 and trying to set up public mailboxes. I've got a
virtual user system set up with postfix and using MySQL
authentication. I'm wanting to create several public mailboxes for
shared messages. I've followed the wiki and have the public folder
created. I've got a folder /home/vmail/public/public1 public1 being
the maildir of the public mailbox.

I can see in my folder list of my webmail client the root public
folder but I can't change in to it and I can not see the public1
public mailbox.

I'm using one user vmail set up for this setup, permissions on the
public1 folder allow the vmail user to read and execute.

In public1 I have a file dovecot-acl which has the user attempting to
access the public folder with the flags l and r.

Below is my config with doveconf -n. I'd appreciate any suggestions.

Thanks.
Dave.

# 2.1.16: /etc/dovecot/dovecot.conf
# OS: Linux 3.12.6-x86-linode55 i686 Fedora release 17 (Beefy Miracle) ext3
dict {
  quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_gid = 5000
first_valid_uid = 5000
hostname = xxx
last_valid_gid = 5000
last_valid_uid = 5000
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
mail_gid = vmail
mail_home = /home/vmail/%d/%n/home
mail_location = maildir:/home/vmail/%d/%n:LAYOUT=fs
mail_plugins = " acl quota zlib"
mail_uid = vmail
maildir_very_dirty_syncs = yes
namespace {
  list = yes
  location = maildir:/home/vmail/public:LAYOUT=fs
  prefix = Public/
  separator = /
  subscriptions = yes
  type = public
}
namespace inbox {
  hidden = no
  inbox = yes
  list = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  autocreate = Spam
  autosubscribe = Spam
  quota = dict:User quota::proxy::quota
  quota_rule = *:storage=1G
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
}
postmaster_address = postmaster@xxx
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  unix_listener auth-userdb {
mode = 0600
user = vmail
  }
}
service dict {
  unix_listener dict {
mode = 0600
user = vmail
  }
}
service imap-login {
  inet_listener imap {
address = 127.0.0.1 ::1
  }
  inet_listener imaps {
address = xxx xxx
ssl = yes
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  user = vmail
}
ssl_cert = 

Re: [Dovecot] Segmentation fault

2014-02-10 Thread Alex Domoradov
Yes, I have tried with "plain" value and it works fine. But is it
normal that not valid value
cause segmentation fault at all?

On Mon, Feb 10, 2014 at 5:44 PM, Timo Sirainen  wrote:
> Did you try with
>
> a) http://hg.dovecot.org/dovecot-2.2/rev/afd3cfcf1bcb patch which should fix 
> the crash
>
> and/or
>
> b) Changing auth_verbose_passwords=plain (because "yes" isn't a valid value)
>
> On 10.2.2014, at 4.58, Alex Domoradov  wrote:
>
>> Any update?
>>
>> On Sat, Feb 8, 2014 at 4:09 PM, Alex Domoradov  wrote:
>>> I have installed debug packages excluding sqlite and dovecot and tried
>>> one more time
>>>
>>> # echo "/var/core/%p" > /proc/sys/kernel/core_pattern
>>> # doveconf -n
>>> # 2.2.10: /etc/dovecot/dovecot.conf
>>> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
>>> Segmentation fault (core dumped)
>>>
>>> # gdb /usr/bin/doveconf /var/core/23290
>>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>>> Copyright (C) 2010 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later 
>>> 
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "x86_64-redhat-linux-gnu".
>>> For bug reporting instructions, please see:
>>> ...
>>> Reading symbols from /usr/bin/doveconf...(no debugging symbols 
>>> found)...done.
>>> [New Thread 23290]
>>> Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...done.
>>> Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0
>>> Reading symbols from /lib64/libc-2.12.so...Reading symbols from
>>> /usr/lib/debug/lib64/libc-2.12.so.debug...done.
>>> done.
>>> Loaded symbols for /lib64/libc-2.12.so
>>> Reading symbols from /lib64/libdl-2.12.so...Reading symbols from
>>> /usr/lib/debug/lib64/libdl-2.12.so.debug...done.
>>> done.
>>> Loaded symbols for /lib64/libdl-2.12.so
>>> Reading symbols from /lib64/librt-2.12.so...Reading symbols from
>>> /usr/lib/debug/lib64/librt-2.12.so.debug...done.
>>> done.
>>> Loaded symbols for /lib64/librt-2.12.so
>>> Reading symbols from /lib64/ld-2.12.so...Reading symbols from
>>> /usr/lib/debug/lib64/ld-2.12.so.debug...done.
>>> done.
>>> Loaded symbols for /lib64/ld-2.12.so
>>> Reading symbols from /lib64/libpthread-2.12.so...Reading symbols from
>>> /usr/lib/debug/lib64/libpthread-2.12.so.debug...done.
>>> [Thread debugging using libthread_db enabled]
>>> done.
>>> Loaded symbols for /lib64/libpthread-2.12.so
>>> Reading symbols from /lib64/libnss_files-2.12.so...Reading symbols
>>> from /usr/lib/debug/lib64/libnss_files-2.12.so.debug...done.
>>> done.
>>> Loaded symbols for /lib64/libnss_files-2.12.so
>>> Core was generated by `doveconf -n'.
>>> Program terminated with signal 11, Segmentation fault.
>>> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
>>> 32  movdqu  (%rdi), %xmm1
>>> Missing separate debuginfos, use: debuginfo-install 
>>> dovecot-2.2.10-1.el6.x86_64
>>> (gdb) bt full
>>> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
>>> No locals.
>>> #1  0x7f139828e65d in p_strdup (pool=0x10afab0, str=0x288 >> 0x288 out of bounds>) at strfuncs.c:41
>>>mem = 
>>>len = 
>>> #2  0x0040528f in config_request_get_strings ()
>>> No symbol table info available.
>>> #3  0x0040c3ce in config_export_finish ()
>>> No symbol table info available.
>>> #4  0x004054d4 in config_dump_human_output ()
>>> No symbol table info available.
>>> #5  0x00405dff in config_dump_human ()
>>> No symbol table info available.
>>> #6  0x00406bcf in main ()
>>> No symbol table info available.
>>>
>>> Is it possible to build debuginfo for the dovecot package?
>>>
>>> On Sat, Feb 8, 2014 at 3:15 PM, Alex Domoradov  wrote:
 # gdb --args doveconf -n
 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
 Copyright (C) 2010 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-redhat-linux-gnu".
 For bug reporting instructions, please see:
 ...
 Reading symbols from /usr/bin/doveconf...(no debugging symbols 
 found)...done.
 (gdb) run
 Starting program: /usr/bin/doveconf -n
 [Thread debugging using libthread_db enabled]
 # 2.2.10: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)

 Program received signal SIGSEGV, Segmentation fault.
 0x777f9451 in __strlen_sse2 () from /lib64/libc.so.6
 Missing separate debuginfos, use: debuginfo-install 
 dovecot-2.2.10-1.

[Dovecot] shared folders

2014-02-10 Thread develop
Hi,

I can't access a shared folder , when I try to debug

doveadm acl debug -u john.doe shared/ a_shared_mail /inbox

I receive this message:

doveadm acl debug -u john.doe shared/a_shared_mail/inbox
doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox) failed: 
Permission denied
doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox) failed: 
Permission denied
doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox/tmp) failed: 
Permission denied (euid=1003(john.doe) egid=1004(john.doe) missing +x perm: 
/home/a_shared_mail/Maildir, dir owned by 1006:1007 mode=0700)
doveadm(john.doe): Error: Can't open mailbox 
shared/a_shared_mail/inbox:Internal error occurred. Refer to server log for 
more information. [2014-02-10 17:30:42]

unfortunately I don't see anything useful in my logs:

Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: master: Warning: Killed with signal 15 
(by pid=1 uid=0 code=kill)
Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: log: Warning: Killed with signal 15 
(by pid=1 uid=0 code=kill)
Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: master: Dovecot v2.0.19 starting up 
(core dumps disabled)
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: Loading modules from 
directory: /usr/lib/dovecot/modules/auth
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: Module loaded: 
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: auth client connected 
(pid=3398)
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=40438#011resp=AHRlY2huaWNzADFMd01Hek0wZjdIVzc3dWZaaWhBWUdlSTJIWmQ5cEdi
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: Loading modules 
from directory: /usr/lib/dovecot/modules/auth
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: Module loaded: 
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: 
pam(a_shared_mail,127.0.0.1): lookup service=dovecot
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: 
pam(a_shared_mail,127.0.0.1): #1/1 style=1 msg=Password:
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: client out: 
OK#0111#011user=a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: master in: 
REQUEST#0113071934465#0113398#0111#011530aafc2ed51a8ee026b48c2bfa924d3
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: 
passwd(a_shared_mail,127.0.0.1): lookup
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: master out: 
USER#0113071934465#011a_shared_mail#011system_groups_user=a_shared_mail#011uid=1006#011gid=1007#011home=/home/a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap-login: Login: 
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3401, 
secured
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap: Debug: Loading modules from 
directory: /usr/lib/dovecot/modules
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib01_acl_plugin.so
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: Effective 
uid=1006, gid=1007, home=/home/a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: Namespace 
: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, 
subscriptions=yes location=maildir:/home/a_shared_mail/Maildir
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: maildir++: 
root=/home/a_shared_mail/Maildir, index=, control=, 
inbox=/home/a_shared_mail/Maildir, alt=
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: 
initializing backend with data: vfile
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: acl 
username = a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: owner 
= 1
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl vfile: 
Global ACL directory: (none)
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: Namespace 
: type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, 
subscriptions=yes 
location=maildir:%h/Maildir:INDEX=/home/a_shared_mail/Maildir/shared/%u
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: shared: 
root=/var/run/dovecot, index=, control=, inbox=, alt=
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: 
initializing backend with data: vfile
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: acl 
username = a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl: owner 
= 0
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl vfile: 
Global ACL directory: (none)
Feb 10 17:30:33 ip-xx-xx-xxx-xx dovecot: imap(a_shared_mail): Debug: acl vfile: 
reading file /home/

Re: [Dovecot] Segmentation fault

2014-02-10 Thread Timo Sirainen
Did you try with

a) http://hg.dovecot.org/dovecot-2.2/rev/afd3cfcf1bcb patch which should fix 
the crash

and/or

b) Changing auth_verbose_passwords=plain (because "yes" isn't a valid value)

On 10.2.2014, at 4.58, Alex Domoradov  wrote:

> Any update?
> 
> On Sat, Feb 8, 2014 at 4:09 PM, Alex Domoradov  wrote:
>> I have installed debug packages excluding sqlite and dovecot and tried
>> one more time
>> 
>> # echo "/var/core/%p" > /proc/sys/kernel/core_pattern
>> # doveconf -n
>> # 2.2.10: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
>> Segmentation fault (core dumped)
>> 
>> # gdb /usr/bin/doveconf /var/core/23290
>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>> Copyright (C) 2010 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later 
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "x86_64-redhat-linux-gnu".
>> For bug reporting instructions, please see:
>> ...
>> Reading symbols from /usr/bin/doveconf...(no debugging symbols found)...done.
>> [New Thread 23290]
>> Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...done.
>> Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0
>> Reading symbols from /lib64/libc-2.12.so...Reading symbols from
>> /usr/lib/debug/lib64/libc-2.12.so.debug...done.
>> done.
>> Loaded symbols for /lib64/libc-2.12.so
>> Reading symbols from /lib64/libdl-2.12.so...Reading symbols from
>> /usr/lib/debug/lib64/libdl-2.12.so.debug...done.
>> done.
>> Loaded symbols for /lib64/libdl-2.12.so
>> Reading symbols from /lib64/librt-2.12.so...Reading symbols from
>> /usr/lib/debug/lib64/librt-2.12.so.debug...done.
>> done.
>> Loaded symbols for /lib64/librt-2.12.so
>> Reading symbols from /lib64/ld-2.12.so...Reading symbols from
>> /usr/lib/debug/lib64/ld-2.12.so.debug...done.
>> done.
>> Loaded symbols for /lib64/ld-2.12.so
>> Reading symbols from /lib64/libpthread-2.12.so...Reading symbols from
>> /usr/lib/debug/lib64/libpthread-2.12.so.debug...done.
>> [Thread debugging using libthread_db enabled]
>> done.
>> Loaded symbols for /lib64/libpthread-2.12.so
>> Reading symbols from /lib64/libnss_files-2.12.so...Reading symbols
>> from /usr/lib/debug/lib64/libnss_files-2.12.so.debug...done.
>> done.
>> Loaded symbols for /lib64/libnss_files-2.12.so
>> Core was generated by `doveconf -n'.
>> Program terminated with signal 11, Segmentation fault.
>> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
>> 32  movdqu  (%rdi), %xmm1
>> Missing separate debuginfos, use: debuginfo-install 
>> dovecot-2.2.10-1.el6.x86_64
>> (gdb) bt full
>> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
>> No locals.
>> #1  0x7f139828e65d in p_strdup (pool=0x10afab0, str=0x288 > 0x288 out of bounds>) at strfuncs.c:41
>>mem = 
>>len = 
>> #2  0x0040528f in config_request_get_strings ()
>> No symbol table info available.
>> #3  0x0040c3ce in config_export_finish ()
>> No symbol table info available.
>> #4  0x004054d4 in config_dump_human_output ()
>> No symbol table info available.
>> #5  0x00405dff in config_dump_human ()
>> No symbol table info available.
>> #6  0x00406bcf in main ()
>> No symbol table info available.
>> 
>> Is it possible to build debuginfo for the dovecot package?
>> 
>> On Sat, Feb 8, 2014 at 3:15 PM, Alex Domoradov  wrote:
>>> # gdb --args doveconf -n
>>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>>> Copyright (C) 2010 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later 
>>> 
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "x86_64-redhat-linux-gnu".
>>> For bug reporting instructions, please see:
>>> ...
>>> Reading symbols from /usr/bin/doveconf...(no debugging symbols 
>>> found)...done.
>>> (gdb) run
>>> Starting program: /usr/bin/doveconf -n
>>> [Thread debugging using libthread_db enabled]
>>> # 2.2.10: /etc/dovecot/dovecot.conf
>>> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
>>> 
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x777f9451 in __strlen_sse2 () from /lib64/libc.so.6
>>> Missing separate debuginfos, use: debuginfo-install 
>>> dovecot-2.2.10-1.el6.x86_64
>>> (gdb) bt full
>>> #0  0x777f9451 in __strlen_sse2 () from /lib64/libc.so.6
>>> No symbol table info available.
>>> #1  0x77b9665d in p_strdup (pool=0x6adac0, str=0x288 >> 0x288 out of bounds>) at strfuncs.c:41
>>>mem = 
>>>len = 
>>> #2  0x0040528f i

Re: [Dovecot] Status

2014-02-10 Thread Timo Sirainen
On 10.2.2014, at 7.31, Christian Rohmann  wrote:

> Hey Timo,
> 
> hope you are not fully knocked out by the flu?

I'm all good now, but traveling once again which makes things more difficult. 
Although I really should make the v2.2.11 release now even if I haven't read 
through all the mails.. Maybe the airplane will have wifi, lets see. :)

> On 04.02.2014 23:13, Timo Sirainen wrote:
>> - I'm planning on going through Dovecot list's mails this week and make 
>> v2.2.11 release
> 
> Since you sometimes ask for bugs or improvements to take into an
> upcoming release ... may I nag you again with this idea of self healing
> the file names / size of zlib compressed maildir files for version >=
> 2.2.11?

That's quite a lot of work for fixing something that shouldn't really be 
happening in the first place. I think those problems only happen once 
immediately after enabling zlib plugin and for some reason having the wrong (or 
missing) S=sizes in maildir filenames? Running 
http://dovecot.org/tools/maildir-size-fix.pl for all users once should fix 
that. So I don't really see this worth spending time on.


[Dovecot] Feature request about Info: Internal login failure (pid=2296 id=17278) (internal failure, 1 successful auths)

2014-02-10 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

since some time I'm plagued by internal login failures. With v2.2.10 I got 
the some additional error, that I should raise the process_limit for the 
imap service, then I got the hint to raise vsz_limit for the lmtp and 
imap serverices. 
These hints are very helpful and are some sort of unique feature of 
Dovecot - descriptive error messages.


Now I have upgraded a Webfrontend behind imapproxy -> Dovecot and get 
this during a phase in the day, several of messages go to large internal 
mailing lists and lots of users are connecting/disconnecting via IMAP, 
POP,& Web:



imap: Error: Disconnected from auth server, aborting (client-pid=2296 
client-id=17278)
imap-login: Info: Internal login failure (pid=2296 id=17278) (internal 
failure, 1 successful auths)  .


doveadm and to query the userdb [I have some processes that use Dovecot 
UserDB to query user data, which do not cache its information], & login 
into IMAP fail as well. Even connecting to the auth-userdb socket reveals 
no reaction - usually the VERSION prompts immediately. I now suppose that 
the deault auth_worker_max_count=30 is the culprit, because I query LDAP 
for passdb and userdb and client_count, but client_limit=0.


Would it be possible to add a warning to all limits "that max out"?
Or, if such "generic error" occurs, could Dovecot be enabled to dump a 
list of which limit is used up to which level? Or something like that.


Also, I'm surprised to find that the "Internal login failure" is at "Info" 
level only.


Also note: It is very possible that the problem is caused by a client that 
goes havoc.


==

Just to no trigger the "post your config" reply I give now and then 
myself:


# 2.2.10 (5432b55a2b87): /usr/local/dovecot-2.2.10/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.8 
auth_cache_size = 10 M

auth_debug = yes
auth_mechanisms = plain login
auth_verbose = yes
base_dir = /var/run/dovecot2.2/
default_vsz_limit = 512 M
deliver_log_format = msgid=%m: %$ %p/%w "%f" "%s"
dict {
  acl = pgsql:/usr/local/dovecot-2.2.10/etc/dovecot/dovecot-dict-sql.conf.ext
  quota = pgsql:/usr/local/dovecot-2.2.10/etc/dovecot/dovecot-dict-sql.conf.ext
}
instance_name = dovecot2.2
lda_mailbox_autocreate = yes
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot/dovecot2.2.log
log_timestamp = "%F %H:%M:%S "
mail_debug = yes
mail_gid = vmail
mail_log_prefix = "%Us(%u) [%p]: "
mail_max_userip_connections = 0
mail_plugins = " quota notify mail_log zlib acl"
mail_shared_explicit_inbox = yes
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave imapflags
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = users.%%u.
  separator = .
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix = 
}

passdb {
  args = /usr/local/dovecot-2.2.10/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  antispam_allow_append_to_spam = yes
  antispam_backend = spool2dir
  antispam_spam = SPAM+ReportAsSPAM
  antispam_spool2dir_notspam = /tmp/spamspool/%%020lu-%%05lu-%u-H
  antispam_spool2dir_spam = /tmp/spamspool/%%020lu-%%05lu-%u-S
  antispam_trash = trash;TRASH;Trash;spam;SPAM;Spam;junk;JUNK;Junk;Deleted 
Items;Deleted Messages;Gel&APY-schte Elemente;Gel&APY-schte Objekte;Junk 
E-mail;Junk-E-Mail;INBOX.Trash;INBOX.TRASH;INBOX.trash
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size vsize from subject
  quota = dict:User quota::proxy::quota
  quota_rule = *:storage=300MB
  quota_rule2 = Trash:storage=+30M
  recipient_delimiter = +
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +imapflags
  sieve_max_actions = 0
  sieve_quota_max_storage = 3M
}
protocols = imap pop3 lmtp sieve
quota_full_tempfail = yes
service auth {
  unix_listener auth-client {
mode = 0766
  }
  unix_listener auth-userdb {
mode = 0766
user = vmail
  }
}
service dict {
  unix_listener dict {
group = vmail
mode = 0660
user = vmail
  }
}
service doveadm {
  unix_listener doveadm-server {
mode = 0666
  }
}
service imap-login {
  process_min_avail = 4
  service_count = 0
  vsz_limit = 768 M
}
service imap {
  process_limit = 1
  vsz_limit = 768 M
}
service lmtp {
  vsz_limit = 768 M
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  inet_listener sieve_deprecated {
port = 2000
  }
}
service pop3-login

Re: [Dovecot] Status

2014-02-10 Thread Christian Rohmann
Hey Timo,

hope you are not fully knocked out by the flu?


On 04.02.2014 23:13, Timo Sirainen wrote:
>  - I'm planning on going through Dovecot list's mails this week and make 
> v2.2.11 release

Since you sometimes ask for bugs or improvements to take into an
upcoming release ... may I nag you again with this idea of self healing
the file names / size of zlib compressed maildir files for version >=
2.2.11?

Thread title is: "[Dovecot] Size detection/replair does not work with zlib"



Regards

Christian


Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread Frank Lanitz
On Mon, 10 Feb 2014 12:07:46 +0100
"martin f. krafft"  wrote:

> also sprach Frank Lanitz  [2014-02-10 11:56
> +0100]:
> > Looks nice -- any experince using it with tine20 later? 
> 
> I have no idea what tine20 is and the website only contains
> buzzwords, sorry.
> 
> vmm is pretty flexible how the underlying data representation in
> pgsql, so you can probably tweak anything.

Got it up and running and really looks nice. *top*
Solved a lot of issues  I had with other things. 

Cheers, 
Frank


pgpBicFCMrgVJ.pgp
Description: PGP signature


Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread martin f. krafft
also sprach Frank Lanitz  [2014-02-10 11:56 +0100]:
> Looks nice -- any experince using it with tine20 later? 

I have no idea what tine20 is and the website only contains
buzzwords, sorry.

vmm is pretty flexible how the underlying data representation in
pgsql, so you can probably tweak anything.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"out of the crooked timber of humanity,
 no straight thing was ever made."
   -- imanuel kant
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: [Dovecot] Segmentation fault

2014-02-10 Thread Alex Domoradov
Any update?

On Sat, Feb 8, 2014 at 4:09 PM, Alex Domoradov  wrote:
> I have installed debug packages excluding sqlite and dovecot and tried
> one more time
>
> # echo "/var/core/%p" > /proc/sys/kernel/core_pattern
> # doveconf -n
> # 2.2.10: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
> Segmentation fault (core dumped)
>
> # gdb /usr/bin/doveconf /var/core/23290
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> ...
> Reading symbols from /usr/bin/doveconf...(no debugging symbols found)...done.
> [New Thread 23290]
> Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...done.
> Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0
> Reading symbols from /lib64/libc-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libc-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libc-2.12.so
> Reading symbols from /lib64/libdl-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libdl-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libdl-2.12.so
> Reading symbols from /lib64/librt-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/librt-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/librt-2.12.so
> Reading symbols from /lib64/ld-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/ld-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/ld-2.12.so
> Reading symbols from /lib64/libpthread-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libpthread-2.12.so.debug...done.
> [Thread debugging using libthread_db enabled]
> done.
> Loaded symbols for /lib64/libpthread-2.12.so
> Reading symbols from /lib64/libnss_files-2.12.so...Reading symbols
> from /usr/lib/debug/lib64/libnss_files-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libnss_files-2.12.so
> Core was generated by `doveconf -n'.
> Program terminated with signal 11, Segmentation fault.
> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
> 32  movdqu  (%rdi), %xmm1
> Missing separate debuginfos, use: debuginfo-install 
> dovecot-2.2.10-1.el6.x86_64
> (gdb) bt full
> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
> No locals.
> #1  0x7f139828e65d in p_strdup (pool=0x10afab0, str=0x288  0x288 out of bounds>) at strfuncs.c:41
> mem = 
> len = 
> #2  0x0040528f in config_request_get_strings ()
> No symbol table info available.
> #3  0x0040c3ce in config_export_finish ()
> No symbol table info available.
> #4  0x004054d4 in config_dump_human_output ()
> No symbol table info available.
> #5  0x00405dff in config_dump_human ()
> No symbol table info available.
> #6  0x00406bcf in main ()
> No symbol table info available.
>
> Is it possible to build debuginfo for the dovecot package?
>
> On Sat, Feb 8, 2014 at 3:15 PM, Alex Domoradov  wrote:
>> # gdb --args doveconf -n
>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>> Copyright (C) 2010 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later 
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "x86_64-redhat-linux-gnu".
>> For bug reporting instructions, please see:
>> ...
>> Reading symbols from /usr/bin/doveconf...(no debugging symbols found)...done.
>> (gdb) run
>> Starting program: /usr/bin/doveconf -n
>> [Thread debugging using libthread_db enabled]
>> # 2.2.10: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x777f9451 in __strlen_sse2 () from /lib64/libc.so.6
>> Missing separate debuginfos, use: debuginfo-install 
>> dovecot-2.2.10-1.el6.x86_64
>> (gdb) bt full
>> #0  0x777f9451 in __strlen_sse2 () from /lib64/libc.so.6
>> No symbol table info available.
>> #1  0x77b9665d in p_strdup (pool=0x6adac0, str=0x288 > 0x288 out of bounds>) at strfuncs.c:41
>> mem = 
>> len = 
>> #2  0x0040528f in config_request_get_strings ()
>> No symbol table info available.
>> #3  0x0040c3ce in config_export_finish ()
>> No symbol table info available.
>> #4  0x004054d4 in config_dump_human_output ()
>> No symbol table info available.
>> #5  0x00405dff in config_dump_human ()
>> No symbol table info available.
>> #6  0x00406bcf in 

[Dovecot] Segmentation fault in libdovecot-storage.so

2014-02-10 Thread Francesco Fiore

Hi,
I obtain continuosly segmentation fault of processes pop3 and imap, with
version 2.2.10.
This is the error for the pop3 process (but for imap is is the same):

2014-02-10 11:06:22 pop3(...@.zz): Fatal: master:
service(pop3): child 23804 killed with signal 11 (core dumped)

This is the kernel log:

Feb 10 11:06:22 pecpop5 kernel: pop3[23804]: segfault at 7fa42a3f4070 ip
7fa41ff849cd sp 7fff78dedfa0 error 4 in
libdovecot-storage.so.0.0.0[7fa41fefa000+d9000]

---
# /opt/dovecot-2.2.10/sbin/dovecot --version
2.2.10
---
# cat /etc/redhat-release
CentOS release 6.4 (Final)
---
# uname -r
2.6.32-358.23.2.el6.x86_64
---
Filesystem: NFS
---
# /opt/dovecot-2.2.10/sbin/dovecot -n
# 2.2.10: /opt/dovecot-2.2.10/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.23.2.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_debug = yes
auth_master_user_separator = *
auth_username_format =
default_vsz_limit = 512 M
disable_plaintext_auth = no
dotlock_use_excl = no
first_valid_gid = 101
first_valid_uid = 102
imap_id_send =
import_environment = TZ
info_log_path = /var/log/dovecot.log
log_path = /var/log/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_fsync = always
mail_gid = 101
mail_location = maildir:%h/Maildir
mail_max_userip_connections = 50
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota expire fts fts_lucene mail_log notify
mail_uid = 102
maildir_broken_filename_sizes = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
 special_use = \Drafts
   }
   mailbox Junk {
 special_use = \Junk
   }
   mailbox Sent {
 special_use = \Sent
   }
   mailbox "Sent Messages" {
 special_use = \Sent
   }
   mailbox Trash {
 special_use = \Trash
   }
   prefix = INBOX.
   separator = .
   subscriptions = yes
   type = private
}
passdb {
   args = /opt/dovecot-2.2.10/etc/dovecot/passwd.masterusers
   driver = passwd-file
   master = yes
}
passdb {
   args = /opt/dovecot-2.2.10/etc/dovecot/dovecot-ldap.conf
   driver = ldap
}
passdb {
   args = /opt/dovecot-2.2.10/etc/dovecot/dovecot-ldap-multiuser.conf
   driver = ldap
   master = yes
}
plugin {
   fts = lucene
   fts_lucene =
   mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename
   mail_log_fields = uid box msgid size
   quota = maildir
   quota_rule2 = INBOX.Trash:storage=+100M
}
protocols = imap pop3
service anvil {
   client_limit = 3000
}
service auth {
   client_limit = 4096
   unix_listener auth-userdb {
 mode = 0600
   }
}
service imap-login {
   inet_listener imap {
 address = 10.11.47.49
 port = 143
   }
   inet_listener imaps {
 address = 10.11.47.49
 port = 993
 ssl = yes
   }
   process_limit = 2500
   process_min_avail = 5
}
service imap {
   drop_priv_before_exec = yes
   process_limit = 2500
   process_min_avail = 5
}
service managesieve-login {
   inet_listener sieve {
 port = 4190
   }
   process_min_avail = 0
   service_count = 1
   vsz_limit = 64 M
}
service managesieve {
   drop_priv_before_exec = yes
   process_limit = 1024
}
service pop3-login {
   inet_listener pop3 {
 address = 10.11.47.49
 port = 110
   }
   inet_listener pop3s {
 address = 10.11.47.49
 port = 995
 ssl = yes
   }
   process_limit = 300
   process_min_avail = 5
}
service pop3 {
   drop_priv_before_exec = yes
   process_limit = 300
   process_min_avail = 5
}
ssl_cert = 
 decisions = 0x7f35307ed04c 
 p = 0x7f35337ed04c 
 names = 
 end = 0x7f355e7ed040 
 orig_key = 0x7f35155e8715 "I\211\303L\213L$0L\213D$(H\213|$
H\213t$\030H\213T$\020H\213L$\bH\213\004$H\203\304HA\377\343ff.\017\037\204"
 fidx = 
 new_fields_count = 
 dec = 
 max_drop_time = 1388530800
 offset = 64
 i = 
#1  0x7f351537c664 in mail_cache_open_and_verify (cache=0xf16740) at
mail-cache.c:497
 ret = 1
#2  0x7f351537fe4c in mail_cache_field_exists (view=0xf16110,
seq=, field=) at
mail-cache-lookup.c:345
 data = 
 __FUNCTION__ = "mail_cache_field_exists"
#3  0x7f351537ff64 in mail_cache_lookup_field (view=0xf16110,
dest_buf=0x7fff96c80030, seq=52, field_idx=0) at mail-cache-lookup.c:413
 field_def = 
 iter = {view = 0x7f350001, remap_counter = 0, seq = 0, rec
= 0x1, pos = 355448944, rec_size = 32565, offset = 2048, trans_next_idx
= 0, stop = 0, failed = 0,
   memory_appends_checked = 0

Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread Frank Lanitz
On Mon, 10 Feb 2014 11:47:47 +0100
martin f krafft  wrote:

> also sprach Frank Lanitz  [2014-02-10 10:14
> +0100]:
> > I know it's a bit a n00bish question, but I'm a little confused
> > about this many different ways on setting up dovecot with postfix
> > and using a PostgreSQL backend for virtual hosts. I've found this
> > one quiet helpful: http://wiki2.dovecot.org/HowTo/DovecotPostgresql
> > even it seems to be little outdated for recent versions of dovecot
> > (the auth part of dovecot.conf). Also its lagging some inforamtions
> > I wasn't able to find on my own (e.g. how to set password for a
> > imap account). 
> 
> I suggest to have a look at http://vmm.localdomain.org/index.html

Looks nice -- any experince using it with tine20 later? 


pgpw9XS2VSpTP.pgp
Description: PGP signature


Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread martin f krafft
also sprach Frank Lanitz  [2014-02-10 10:14 +0100]:
> I know it's a bit a n00bish question, but I'm a little confused about
> this many different ways on setting up dovecot with postfix and using a
> PostgreSQL backend for virtual hosts. I've found this one quiet helpful:
> http://wiki2.dovecot.org/HowTo/DovecotPostgresql
> even it seems to be little outdated for recent versions of dovecot (the
> auth part of dovecot.conf). Also its lagging some inforamtions I wasn't
> able to find on my own (e.g. how to set password for a imap account). 

I suggest to have a look at http://vmm.localdomain.org/index.html

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"if I can't dance, i don't want to be part of your revolution."
- emma goldman
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


[Dovecot] Segmentation fault in libdovecot-storage.so

2014-02-10 Thread Francesco Fiore
<>

[Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread Frank Lanitz
Hi folks, 

I know it's a bit a n00bish question, but I'm a little confused about
this many different ways on setting up dovecot with postfix and using a
PostgreSQL backend for virtual hosts. I've found this one quiet helpful:
http://wiki2.dovecot.org/HowTo/DovecotPostgresql
even it seems to be little outdated for recent versions of dovecot (the
auth part of dovecot.conf). Also its lagging some inforamtions I wasn't
able to find on my own (e.g. how to set password for a imap account). 

Can somebody give me a hint for a up-2-date howto for some noob as I am?

Cheers, 
Frank


pgpbTugCRN6fM.pgp
Description: PGP signature