Re: MySQL 8.0: Supported?

2019-01-14 Thread Odhiambo Washington
On Tue, 15 Jan 2019 at 04:57, Larry Rosenman wrote: > I got a complaint from a FreeBSD user that they couldn't compile dovecot > against MySQL 8.0. > > Is MySQL 8.0 support with 2.3.4? > > they receive: > checking for mysql_init in -lmysqlclient... no > configure: error: Can't build with MySQL

Re: Dovecot 2.3 no longer accepts ssl_key_password

2019-01-14 Thread Aki Tuomi
On 10.1.2019 6.53, Chris Kiakas wrote: > Hit a little problem when I upgraded a system from FreeBSD 10.3 to 11.2. I > did not receive any errors in the upgrade. The system is running 4 jails and > everything seems to work except in Dovecot dovecot-2.3.4_5 where when using > the exact same

Re: Import mailbox from different domain

2019-01-14 Thread Sami Ketola
> On 14 Jan 2019, at 22.47, Sergio Belkin wrote: > > Hi folks, > Let's say that I have on dovecot the domain example.net > and on MS Exchange example.com . > I've tried to import a mailbox from MS Exchange to Dovecot but it fails, I've > run: > >

MySQL 8.0: Supported?

2019-01-14 Thread Larry Rosenman
I got a complaint from a FreeBSD user that they couldn't compile dovecot against MySQL 8.0. Is MySQL 8.0 support with 2.3.4? they receive: checking for mysql_init in -lmysqlclient... no configure: error: Can't build with MySQL support: libmysqlclient not found ===> Script "configure" failed

Re: Solr - complete setup (update)

2019-01-14 Thread Stephan Bosch
Op 14/01/2019 om 07:44 schreef Joan Moreau via dovecot: Hi Stephan, What's up with that ? Thank you so much Working on it, somewhat anyway. BTW, did you see this ? : """ $ sudo -u solr /opt/solr/bin/solr create -c dovecot WARNING: Using _default configset with data driven schema

Import mailbox from different domain

2019-01-14 Thread Sergio Belkin
Hi folks, Let's say that I have on dovecot the domain example.net and on MS Exchange example.com. I've tried to import a mailbox from MS Exchange to Dovecot but it fails, I've run: dsync -Dv backup -R -u joe.doe imapc: dsync(joe@example.net): Error: imapc(192.168.0.2:993):

RE: mdbox + zlib performing less than just mdbox

2019-01-14 Thread Marc Roos
>mdbox format is a cross between mbox and sdbox. > >The idea is that it keeps up to mdbox_rotate_size sized mbox files >which contain mails. Using zlib here will not help, because zlib is >not applied to the full mdbox file, but individual mails within. > >Also not sure why you think that

Sieve: reject certain mime-types and notify recipient

2019-01-14 Thread Ralf Becker
I have to reject office files for a certain domain plus notifying the original recipient about the rejection too. require ["fileinto","reject","body","enotify","variables"]; if allof (address :contains ["To","TO","Cc","CC"] "@example.org", body :content  "application/msword" :contains "") {  

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
It is indeed better is you use the issue tracker of github: https://github.com/grosjo/fts-xapian/issues I updated the Readme accordingly On 2019-01-14 14:24, Stephan Bosch wrote: Op 14-1-2019 om 13:40 schreef Aki Tuomi: Just to remind that now that there is a github repo for fts-xapian,

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
It is indeed better is you use the issue tracker of github: https://github.com/grosjo/fts-xapian/issues I updated the Readme accordingly On 2019-01-14 14:24, Stephan Bosch wrote: Op 14-1-2019 om 13:40 schreef Aki Tuomi: Just to remind that now that there is a github repo for fts-xapian,

Re: mdbox + zlib performing less than just mdbox

2019-01-14 Thread Aki Tuomi
mdbox format is a cross between mbox and sdbox. The idea is that it keeps up to mdbox_rotate_size sized mbox files which contain mails. Using zlib here will not help, because zlib is not applied to the full mdbox file, but individual mails within. Also not sure why you think that adding

mdbox + zlib performing less than just mdbox

2019-01-14 Thread Marc Roos
I have test environment to determine what would be best settings. I have been told that enabling zlib compression would be good to save iops on storage. But doing the test now, I get worse results. [@test2 ~]# pr -m -t mail04-mdbox-vdb-append-64kb-6.log mail04-mdbox-vdb-append-64kb-8.log

Re: Error: User b...@aaa.bbb doesn't have home dir set, disabling duplicate database

2019-01-14 Thread subscription1
Have enabled debug as suggested, but don't really know what I'm looking for or what the 'correct' output should be. - Jan 14 15:06:03 master: Info: Dovecot v2.2.33.2 (d6601f4ec) starting up for imap, lmtp, sieve (core dumps disabled) Jan 14 15:07:09 auth: Debug: Loading

What does the mdbox_rotate_size influence?

2019-01-14 Thread Marc Roos
I wondered why mdbox_rotate_size is 2MB by default. I thought if I increased it to 16MB, maybe there would be less disk io, but I dont see any difference. Furthermore I read in some thread that increasing it from 2MB, could give problems when deleting messages, can someone explain this?

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 13:40 schreef Aki Tuomi: Just to remind that now that there is a github repo for fts-xapian, you could maybe open these issues there instead? Although README.md currently says: "Please feel free to send your questions, together with the dovecot log file, to

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 13:29 schreef Odhiambo Washington: Testing a compile on FreeBSD. [...] During `make`, the following warning is generated: /bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I/opt/dovecot2.3/include/dovecot  -I/usr/local/include

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Hi Joan, opened an issue here: > But no, this does not fix the crash, sorry. Thanks, Paul > On 14. Jan 2019, at 13:58, Joan Moreau via dovecot > wrote: > > THanks Paul > > Can you try indexing

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
THanks Paul Can you try indexing the same emails with "full=10" for instance in the dovecot.conf ? On 2019-01-14 12:19, Paul Hecker via dovecot wrote: Thank you. Here is the stack trace with all debug symbols: On 14. Jan 2019, at 11:07, Stephan Bosch wrote: Op 14-1-2019 om 10:55 schreef

Re: [FTS Xapian] Beta release

2019-01-14 Thread Aki Tuomi
Just to remind that now that there is a github repo for fts-xapian, you could maybe open these issues there instead? Aki On 14.1.2019 14.29, Odhiambo Washington wrote: > Testing a compile on FreeBSD. > > gmake[2]: Entering directory '/usr/home/wash/Tools/Dovecot/fts-xapian/src' > /bin/sh

Re: [FTS Xapian] Beta release

2019-01-14 Thread Odhiambo Washington
Testing a compile on FreeBSD. gmake[2]: Entering directory '/usr/home/wash/Tools/Dovecot/fts-xapian/src' /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I/opt/dovecot2.3/include/dovecot -I/opt/dovecot2.3/include/dovecot -g -O2 -MT fts-backend-xapian.lo -MD -MP

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Thank you. Here is the stack trace with all debug symbols: (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x7f88b6cc742a in __GI_abort () at abort.c:89 #2 0x7f88b5b240ad in __gnu_cxx::__verbose_terminate_handler() () from

Re: mdbox import error from read-only filesystem

2019-01-14 Thread hby
Hi, Thanks for the fast answer! Let me clear the situation: 1. I want to import from a read-only filesystem where the mdbox files are 2. The indexes are necessary because of the mdbox file layout, but the import process cannot open them 3. If I specify random writable dir for indexes the import

Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'

2019-01-14 Thread Odhiambo Washington
So maybe we should tell the OP that he needs to: cd /usr/ports/mail/dovecot make config [ select the MySQL option and save] make install clean. [He's probably coming from Linux world to FreeBSD] On Mon, 14 Jan 2019 at 13:25, Larry Rosenman wrote: > Ports has the options, I'm just not

Re: [solved] managesieve configuration

2019-01-14 Thread Dominik Menke
On 1/14/19 11:02 AM, Stephan Bosch wrote: Op 14-1-2019 om 9:58 schreef Dominik Menke: On 1/13/19 12:23 PM, Stephan Bosch wrote: With ssl=yes, the TLS layer is enabled immediately on the connection. Again, that's not what the documentation says:     ssl=yes [...]: SSL/TLS is offered to the

Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'

2019-01-14 Thread Larry Rosenman
Ports has the options, I'm just not changing the defaults. Get Outlook for Android From: dovecot on behalf of Odhiambo Washington Sent: Monday, January 14, 2019 3:47:43 AM To: gsjarvis Cc: Dovecot Mailing List Subject: Re: Freebsd: Fatal

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 10:55 schreef Paul Hecker via dovecot: OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace: If you want to get rid of those "??" stack trace elements, you'll need to install debug symbols for the xapian library. It depends on your

Re: [solved] managesieve configuration

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 9:58 schreef Dominik Menke: On 1/13/19 12:23 PM, Stephan Bosch wrote: With ssl=yes, the TLS layer is enabled immediately on the connection. Again, that's not what the documentation says:     ssl=yes [...]: SSL/TLS is offered to the client, but the client     isn't required

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace:(gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x7fe342b0942a in __GI_abort () at abort.c:89 #2 0x7fe3419660ad in

Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'

2019-01-14 Thread Odhiambo Washington
On Sun, 13 Jan 2019 at 22:15, gsjarvis wrote: > Hello, > > I was wondering if there was any progress on this. > > I just upgraded a FreeBSD box and had the same issue again. > > I keep (reasonably) good support notes so I found the one that said I had > to > install from ports - so all is well.

Re: mdbox import error from read-only filesystem

2019-01-14 Thread Sami Ketola
Hi, you can use INDEX=/writable/path/%u in your mail_location setting to define location for the required index data when importing. Also possibly you would need to define writable location for CONTROL and VOLATILEDIR. see https://wiki.dovecot.org/MailLocation

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
Difficult to figure out without a coredump + gdb I have also battled quite a lot to make sure dovecot can core dump on my Archlinux servers. I remember that the key point was putting FS.SUID_DUMPABLE=2 in /etc/sysctl.d/ conf files, LIMITCORE=INFINITY in

mdbox import error from read-only filesystem

2019-01-14 Thread hby
Dovecot version: 2.2.34 doveadm import tries to call open() on the source indexes/logs of mdbox data, but even if it should work as it is just a read-related call, it fails on read-only filesystems. The main use case for read-only filesystem is restoring from backup: the massive deduplicated

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Here it is: Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com)<16777>: Debug: Effective uid=8, gid=8, home=/var/spool/mail/iwascoding/paul Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com)<16777>: Debug: Quota root: name=User quota backend=dict

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Here it is: Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com )<16777>: Debug: Effective uid=8, gid=8, home=/var/spool/mail/iwascoding/paul Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com )<16777>: Debug:

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
Can you send the log part that includes the "init" of the plugins (something similar as below) ? WHich version of Xapian are you on ? Jan 14 09:10:04 gjserver dovecot[31082]: indexer-worker(ad...@grosjo.net)<14725>: FTS Xapian: Partial=2, Full=20

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Hi, I installed and tested your version, but the indexer process crashes reproducible with the following command after about 2000 messages were indexed: doveadm index -u p...@iwascoding.com -q \* Jan 14 09:26:15 mail dovecot: indexer-worker(p...@iwascoding.com)<16777>: Debug: Mailbox sent:

Re: [solved] managesieve configuration

2019-01-14 Thread Dominik Menke
On 1/13/19 12:23 PM, Stephan Bosch wrote: With ssl=yes, the TLS layer is enabled immediately on the connection. Again, that's not what the documentation says: ssl=yes [...]: SSL/TLS is offered to the client, but the client isn't required to use it. If the client is not _required_ to

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
THank you Odhiambo. I updated accordingly On 2019-01-14 08:07, Odhiambo Washington wrote: In your README.md, perhaps "This project intends to provide a straightforward and simple PROCEDURE to configure FTS plugin for Dovecot, leveraging the efforts by the Xapian.org team." is better?? Also in

RE: Re: segfault imaptest

2019-01-14 Thread Marc Roos
You should publish changelogs/issues or so, that would prevent somewhat reporting bugs twice. This version has problems with writing the messages to a mailbox in a namespace (stalls). imaptest-20170719-1.fc27.x86_64 Please, unsubscribe me. I really don't want to read this. 12.01.2019