Re: Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Joan Moreau



@Bob : The package has been recompiled against the new version of 
Dovecot. Hope it works now


@Aki : It would be nice to have all plugins included in the source code 
for major releases (with a simple rule that non-maintained packages are 
removed), including Pigeonhole, FTS plugins, and many other existing 
plugins from all over the world


On 2021-09-12 13:54, Aki Tuomi wrote:


On 12/09/2021 15:12 Bob Marcan  wrote:

On Sun, 12 Sep 2021 11:36:46 +0100
Joan Moreau  wrote:

This is where I am for now :

https://koji.fedoraproject.org/koji/packageinfo?packageID=34417

Probably, I should wait for Fedora batch programs to push that into 
main rep


On 2021-09-12 11:18, Joan Moreau wrote:

Hi Bob,

I am trying to achieve that.

But do you know the process of pushing an update as a maintainer, in > 
fedore repositories ?


Thank you

On 2021-09-12 11:02, Bob Marcan wrote:
On Sun, 12 Sep 2021 09:45:35 +0100
Joan Moreau  wrote:

Thank you for notice.

What is the process to rebuild the package with recent dovecot, as  > 
(instead of existing 1.4.12-1) ?
There are no (yet)  1.4.12-2 in updates-testing or > 
updates-testing-modular repository.

Should i'll wait for update?
BR, Bob


Got the new version and there is no more API mismatch.
It's not so important for me, since i'm retired and i'm running this on 
my home computer.

But i think it needs more support from te dovecot group.
There a lot file protection issues nad lack of documentation on dovecot 
side.


BR, Bob
Hi Bob,

Dovecot does not maintain either the packages for fedora. These are 
maintained by Fedora Project. Also we do not maintain or document the 
dovecot-fts-xapian plugin, since it's 3rd party plugin. It's maintained 
by Joan Moreau.


Kind regards,
Aki

Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread C. Petro
If you mean the INSTALL.txt (IIRC) from the postfixadmin .tarball, I had
gone through that and a couple other guides. I filed a bug with Ubuntu
because they don't include it in the installed documents.

I'm doing a "clean" rebuild right now to verify my documentation and make
sure I didn't miss anything. I'll give it another lok.

On Sun, Sep 12, 2021 at 11:05 AM Benny Pedersen  wrote:

> On 2021-09-12 18:38, C. Petro wrote:
> > To be more clear about my problem.
> >
> > This server will be hosting multiple email domains, and I would prefer
> > to have the filesystem structured like /var/mail/vmail//
> > rather than /var/mail/vmail/@.
>
> use setup guide from postfixadmin, and it shows how to do the dovecot
> part like you wish above, even if you dont want to use postfixadmin the
> dovecot setup will work alone aswell
>


Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread Benny Pedersen

On 2021-09-12 18:38, C. Petro wrote:

To be more clear about my problem.

This server will be hosting multiple email domains, and I would prefer
to have the filesystem structured like /var/mail/vmail//
rather than /var/mail/vmail/@.


use setup guide from postfixadmin, and it shows how to do the dovecot 
part like you wish above, even if you dont want to use postfixadmin the 
dovecot setup will work alone aswell


Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread C. Petro
That appears to have done the trick.

Thank you for your quick response.

I probably should have found that setting. Sorry.

On Sun, Sep 12, 2021 at 10:39 AM Aki Tuomi 
wrote:

> Try
>
> mail_location = maildir:/var/mail/vmail/%Ld/%Ln
>
> Aki
>
> > On 12/09/2021 19:38 C. Petro  wrote:
> >
> >
> > To be more clear about my problem.
> >
> > This server will be hosting multiple email domains, and I would prefer
> to have the filesystem structured like /var/mail/vmail//
> rather than /var/mail/vmail/@.
> >
> >
> > On Sat, Sep 11, 2021 at 3:06 PM C. Petro  wrote:
> > > I'm trying to build a mail server for a friend using Postfix, Dovecot
> and Postfixadmin, using Mariadb as the backend for user information and
> authentication.
> > >
> > > I've got it *almost* working.
> > > (dovecot -n at the bottom because I don't think the problem is in the
> SQL)
> > >
> > > I have things up to the point where mail comes in, and where you can
> get Thunderbird to connect to Dovecot, but delivery is looking at a
> different directory than IMAP:
> > > root@mailserver:/var/mail/vmail# find ./
> > > ./
> > > ./pe...@republicofmean.com
> > > ./pe...@republicofmean.com/dovecot.index.log (
> http://pe...@republicofmean.com/dovecot.index.log)
> > > ./pe...@republicofmean.com/dovecot-uidvalidity.6136d995 (
> http://pe...@republicofmean.com/dovecot-uidvalidity.6136d995)
> > > ./pe...@republicofmean.com/tmp (http://pe...@republicofmean.com/tmp)
> > > <...>
> > > ./pe...@republicofmean.com/new (http://pe...@republicofmean.com/new)
> > > ./pe...@republicofmean.com/subscriptions (
> http://pe...@republicofmean.com/subscriptions)
> > > ./republicofmean.com (http://republicofmean.com)
> > > ./republicofmean.com/petro (http://republicofmean.com/petro)
> > > ./republicofmean.com/petro/tmp (http://republicofmean.com/petro/tmp)
> > > ./republicofmean.com/petro/cur (http://republicofmean.com/petro/cur)
> > > ./republicofmean.com/petro/new (http://republicofmean.com/petro/new)
> > > ./
> republicofmean.com/petro/new/1630897562.Vfd00Ib40009M307139.mailserver (
> http://republicofmean.com/petro/new/1630897562.Vfd00Ib40009M307139.mailserver
> )
> > > <>
> > > ./
> republicofmean.com/petro/new/1630899062.Vfd00Ib40011M264001.mailserver (
> http://republicofmean.com/petro/new/1630899062.Vfd00Ib40011M264001.mailserver
> )
> > > ./republicofmean.com/cer (http://republicofmean.com/cer)
> > > ./republicofmean.com/cer/tmp (http://republicofmean.com/cer/tmp)
> > > ./republicofmean.com/cer/cur (http://republicofmean.com/cer/cur)
> > > ./republicofmean.com/cer/new (http://republicofmean.com/cer/new)
> > > ./republicofmean.com/cer/new/1630900562.Vfd00Ib40013M218855.mailserver
> (
> http://republicofmean.com/cer/new/1630900562.Vfd00Ib40013M218855.mailserver
> )
> > > ./republicofmean.com/cer/new/1630899062.Vfd00Ib40010M259724.mailserver
> (
> http://republicofmean.com/cer/new/1630899062.Vfd00Ib40010M259724.mailserver
> )
> > >
> > > The SQL I think Dovecot is using:
> > > root@mailserver:/etc/dovecot# grep -i select dovecot-sql.conf.ext |
> grep -v "^#"
> > > password_query = SELECT username as user, domain, password FROM
> mailbox WHERE username = '%u'
> > > user_query = select CONCAT("/var/mail/vmail/",maildir) as home, 500 as
> uid, 500 as gid from mailbox where username="%u"
> > >
> > >
> > > Here's what Postfix is using:
> > > mysql_virtual_alias_domain_catchall_maps.cf (
> http://mysql_virtual_alias_domain_catchall_maps.cf):
> > > query = SELECT goto FROM alias,alias_domain WHERE
> alias_domain.alias_domain = '%d' and alias.address = CONCAT('@',
> alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'
> > > mysql_virtual_alias_domain_mailbox_maps.cf (
> http://mysql_virtual_alias_domain_mailbox_maps.cf):
> > > query = SELECT maildir FROM mailbox,alias_domain WHERE
> alias_domain.alias_domain = '%d' and mailbox.username = CONCAT('%u', '@',
> alias_domain.target_domain) AND mailbox.active = 1 AND
> alias_domain.active='1'
> > > mysql_virtual_alias_domain_maps.cf (
> http://mysql_virtual_alias_domain_maps.cf):
> > > query = SELECT goto FROM alias,alias_domain WHERE
> alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@',
> alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'
> > > mysql_virtual_alias_maps.cf (http://mysql_virtual_alias_maps.cf):
> > > query = SELECT goto FROM alias WHERE address='%s' AND active = '1'
> > > mysql_virtual_domains_maps.cf (http://mysql_virtual_domains_maps.cf):
> > > query = SELECT domain FROM domain WHERE domain='%s' AND active = '1'
> > > mysql_virtual_mailbox_limit_maps.cf (
> http://mysql_virtual_mailbox_limit_maps.cf):
> > > query = SELECT quota FROM mailbox WHERE username='%s' AND active = '1'
> > > mysql_virtual_mailbox_maps.cf (http://mysql_virtual_mailbox_maps.cf):
> > > query = SELECT maildir FROM mailbox WHERE username='%s' AND active =
> '1'
> > >
> > >
> > >
> > >
> > >
> > >
> > > # dovecot -n
> > > # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread Aki Tuomi
Try

mail_location = maildir:/var/mail/vmail/%Ld/%Ln

Aki

> On 12/09/2021 19:38 C. Petro  wrote:
> 
> 
> To be more clear about my problem.
> 
> This server will be hosting multiple email domains, and I would prefer to 
> have the filesystem structured like /var/mail/vmail// rather 
> than /var/mail/vmail/@.
> 
> 
> On Sat, Sep 11, 2021 at 3:06 PM C. Petro  wrote:
> > I'm trying to build a mail server for a friend using Postfix, Dovecot and 
> > Postfixadmin, using Mariadb as the backend for user information and 
> > authentication.
> > 
> > I've got it *almost* working.
> > (dovecot -n at the bottom because I don't think the problem is in the SQL)
> > 
> > I have things up to the point where mail comes in, and where you can get 
> > Thunderbird to connect to Dovecot, but delivery is looking at a different 
> > directory than IMAP:
> > root@mailserver:/var/mail/vmail# find ./
> > ./
> > ./pe...@republicofmean.com
> > ./pe...@republicofmean.com/dovecot.index.log 
> > (http://pe...@republicofmean.com/dovecot.index.log)
> > ./pe...@republicofmean.com/dovecot-uidvalidity.6136d995 
> > (http://pe...@republicofmean.com/dovecot-uidvalidity.6136d995)
> > ./pe...@republicofmean.com/tmp (http://pe...@republicofmean.com/tmp)
> > <...>
> > ./pe...@republicofmean.com/new (http://pe...@republicofmean.com/new)
> > ./pe...@republicofmean.com/subscriptions 
> > (http://pe...@republicofmean.com/subscriptions)
> > ./republicofmean.com (http://republicofmean.com)
> > ./republicofmean.com/petro (http://republicofmean.com/petro)
> > ./republicofmean.com/petro/tmp (http://republicofmean.com/petro/tmp)
> > ./republicofmean.com/petro/cur (http://republicofmean.com/petro/cur)
> > ./republicofmean.com/petro/new (http://republicofmean.com/petro/new)
> > ./republicofmean.com/petro/new/1630897562.Vfd00Ib40009M307139.mailserver 
> > (http://republicofmean.com/petro/new/1630897562.Vfd00Ib40009M307139.mailserver)
> > <>
> > ./republicofmean.com/petro/new/1630899062.Vfd00Ib40011M264001.mailserver 
> > (http://republicofmean.com/petro/new/1630899062.Vfd00Ib40011M264001.mailserver)
> > ./republicofmean.com/cer (http://republicofmean.com/cer)
> > ./republicofmean.com/cer/tmp (http://republicofmean.com/cer/tmp)
> > ./republicofmean.com/cer/cur (http://republicofmean.com/cer/cur)
> > ./republicofmean.com/cer/new (http://republicofmean.com/cer/new)
> > ./republicofmean.com/cer/new/1630900562.Vfd00Ib40013M218855.mailserver 
> > (http://republicofmean.com/cer/new/1630900562.Vfd00Ib40013M218855.mailserver)
> > ./republicofmean.com/cer/new/1630899062.Vfd00Ib40010M259724.mailserver 
> > (http://republicofmean.com/cer/new/1630899062.Vfd00Ib40010M259724.mailserver)
> > 
> > The SQL I think Dovecot is using:
> > root@mailserver:/etc/dovecot# grep -i select dovecot-sql.conf.ext | grep -v 
> > "^#"
> > password_query = SELECT username as user, domain, password FROM mailbox 
> > WHERE username = '%u'
> > user_query = select CONCAT("/var/mail/vmail/",maildir) as home, 500 as uid, 
> > 500 as gid from mailbox where username="%u"
> > 
> > 
> > Here's what Postfix is using:
> > mysql_virtual_alias_domain_catchall_maps.cf 
> > (http://mysql_virtual_alias_domain_catchall_maps.cf):
> > query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain 
> > = '%d' and alias.address = CONCAT('@', alias_domain.target_domain) AND 
> > alias.active = 1 AND alias_domain.active='1'
> > mysql_virtual_alias_domain_mailbox_maps.cf 
> > (http://mysql_virtual_alias_domain_mailbox_maps.cf):
> > query = SELECT maildir FROM mailbox,alias_domain WHERE 
> > alias_domain.alias_domain = '%d' and mailbox.username = CONCAT('%u', '@', 
> > alias_domain.target_domain) AND mailbox.active = 1 AND 
> > alias_domain.active='1'
> > mysql_virtual_alias_domain_maps.cf 
> > (http://mysql_virtual_alias_domain_maps.cf):
> > query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain 
> > = '%d' and alias.address = CONCAT('%u', '@', alias_domain.target_domain) 
> > AND alias.active = 1 AND alias_domain.active='1'
> > mysql_virtual_alias_maps.cf (http://mysql_virtual_alias_maps.cf):
> > query = SELECT goto FROM alias WHERE address='%s' AND active = '1'
> > mysql_virtual_domains_maps.cf (http://mysql_virtual_domains_maps.cf):
> > query = SELECT domain FROM domain WHERE domain='%s' AND active = '1'
> > mysql_virtual_mailbox_limit_maps.cf 
> > (http://mysql_virtual_mailbox_limit_maps.cf):
> > query = SELECT quota FROM mailbox WHERE username='%s' AND active = '1'
> > mysql_virtual_mailbox_maps.cf (http://mysql_virtual_mailbox_maps.cf):
> > query = SELECT maildir FROM mailbox WHERE username='%s' AND active = '1'
> > 
> > 
> > 
> > 
> > 
> > 
> > # dovecot -n
> > # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
> > # Pigeonhole version 0.5.7.2 ()
> > # OS: Linux 5.4.0-81-generic x86_64 Ubuntu 20.04.3 LTS ext4
> > # Hostname: 
> > auth_mechanisms = plain login
> > log_path = /var/log/dovecot.log
> > login_greeting = Not your mail server
> > mail_location = 

Re: SQL help please (Mysql/MariaDB).

2021-09-12 Thread C. Petro
To be more clear about my problem.

This server will be hosting multiple email domains, and I would prefer to
have the filesystem structured like /var/mail/vmail// rather
than /var/mail/vmail/@.

On Sat, Sep 11, 2021 at 3:06 PM C. Petro  wrote:

> I'm trying to build a mail server for a friend using Postfix, Dovecot and
> Postfixadmin, using Mariadb as the backend for user information and
> authentication.
>
> I've got it *almost* working.
> (dovecot -n at the bottom because I don't think the problem is in the SQL)
>
> I have things up to the point where mail comes in, and where you can get
> Thunderbird to connect to Dovecot, but delivery is looking at a different
> directory than IMAP:
> root@mailserver:/var/mail/vmail# find ./
> ./
> ./pe...@republicofmean.com
> ./pe...@republicofmean.com/dovecot.index.log
> ./pe...@republicofmean.com/dovecot-uidvalidity.6136d995
> ./pe...@republicofmean.com/tmp
> <...>
> ./pe...@republicofmean.com/new
> ./pe...@republicofmean.com/subscriptions
> ./republicofmean.com
> ./republicofmean.com/petro
> ./republicofmean.com/petro/tmp
> ./republicofmean.com/petro/cur
> ./republicofmean.com/petro/new
> ./republicofmean.com/petro/new/1630897562.Vfd00Ib40009M307139.mailserver
> <>
> ./republicofmean.com/petro/new/1630899062.Vfd00Ib40011M264001.mailserver
> ./republicofmean.com/cer
> ./republicofmean.com/cer/tmp
> ./republicofmean.com/cer/cur
> ./republicofmean.com/cer/new
> ./republicofmean.com/cer/new/1630900562.Vfd00Ib40013M218855.mailserver
> ./republicofmean.com/cer/new/1630899062.Vfd00Ib40010M259724.mailserver
>
> The SQL I think Dovecot is using:
> root@mailserver:/etc/dovecot# grep -i select dovecot-sql.conf.ext | grep
> -v "^#"
> password_query = SELECT username as user, domain, password FROM mailbox
> WHERE username = '%u'
> user_query = select  CONCAT("/var/mail/vmail/",maildir) as home, 500 as
> uid, 500 as gid from mailbox where username="%u"
>
>
> Here's what  Postfix is using:
> mysql_virtual_alias_domain_catchall_maps.cf:
>query  = SELECT goto FROM alias,alias_domain WHERE
> alias_domain.alias_domain = '%d' and alias.address = CONCAT('@',
> alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'
> mysql_virtual_alias_domain_mailbox_maps.cf:
>query = SELECT maildir FROM mailbox,alias_domain WHERE
> alias_domain.alias_domain = '%d' and mailbox.username = CONCAT('%u', '@',
> alias_domain.target_domain) AND mailbox.active = 1 AND
> alias_domain.active='1'
> mysql_virtual_alias_domain_maps.cf:
>query = SELECT goto FROM alias,alias_domain WHERE
> alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@',
> alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'
> mysql_virtual_alias_maps.cf:
>query = SELECT goto FROM alias WHERE address='%s' AND active = '1'
> mysql_virtual_domains_maps.cf:
>query  = SELECT domain FROM domain WHERE domain='%s' AND active
> = '1'
> mysql_virtual_mailbox_limit_maps.cf:
>query = SELECT quota FROM mailbox WHERE username='%s' AND active = '1'
> mysql_virtual_mailbox_maps.cf:
>query   = SELECT maildir FROM mailbox WHERE username='%s' AND
> active = '1'
>
>
>
>
>
>
> # dovecot -n
> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.7.2 ()
> # OS: Linux 5.4.0-81-generic x86_64 Ubuntu 20.04.3 LTS ext4
> # Hostname: 
> auth_mechanisms = plain login
> log_path = /var/log/dovecot.log
> login_greeting = Not your mail server
> mail_location = maildir:/var/mail/vmail/%u/
> mail_max_userip_connections = 50
> mail_privileged_group = vmail
> 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 = /etc/dovecot/dovecot-sql.conf.ext
>   driver = sql
> }
> protocols = " imap lmtp pop3 submission"
> service auth-worker {
>   user = vmail
> }
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0600
> user = postfix
>   }
>   unix_listener auth-userdb {
> mode = 0600
> user = vmail
>   }
>   user = dovecot
> }
> service imap-login {
>   inet_listener imap {
> port = 143
>   }
>   inet_listener imaps {
> port = 993
> ssl = yes
>   }
> }
> service lmtp {
>   unix_listener lmtp {
> group = postfix
> mode = 0600
> user = postfix
>   }
> }
> service pop3-login {
>   inet_listener pop3 {
> port = 110
>   }
>   inet_listener pop3s {
> port = 995
> ssl = yes
>   }
> }
> ssl_cert = /fullchain.pem
> ssl_client_ca_dir = /etc/ssl/certs
> ssl_dh = # hidden, use -P to show it
> ssl_key = # hidden, use -P to show it
> userdb {
>   args = /etc/dovecot/dovecot-sql.conf.ext
>   driver =
>
>


Re: suse.de dovecot issues

2021-09-12 Thread Aki Tuomi


> On 12/09/2021 14:54 William Edwards  wrote:
> 
>  
> Bernhard M. Wiedemann schreef op 2021-09-12 10:34:
> > On 10/09/2021 11.33, William Edwards wrote:
> >>> 
> >>> 2.
> >>> We have 2 backends so that we can do maintenance on one of them while
> >>> users can still access their emails through the other backend.
> >>> However, we found that stopping dovecot on one backend left users 
> >>> unable
> >>> to access their mails.
> >> 
> >> Director doesn't do health checks.
> > 
> > Is there are recommendation on how to have a director with multiple
> > backends with automatic fail-over?
> > Are there scripts that do health-checks and call doveadm director 
> > commands?
> 
> https://doc.dovecot.org/configuration_manual/dovemon/
> 
> -- 
> With kind regards,
> 
> William Edwards

There is also poolmon. https://github.com/brandond/poolmon

Aki


Re: Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Aki Tuomi


> On 12/09/2021 15:12 Bob Marcan  wrote:
> 
>  
> On Sun, 12 Sep 2021 11:36:46 +0100
> Joan Moreau  wrote:
> 
> > This is where I am for now :
> > 
> > https://koji.fedoraproject.org/koji/packageinfo?packageID=34417
> > 
> > Probably, I should wait for Fedora batch programs to push that into main rep
> > 
> > On 2021-09-12 11:18, Joan Moreau wrote:
> > 
> > > Hi Bob,
> > > 
> > > I am trying to achieve that.
> > > 
> > > But do you know the process of pushing an update as a maintainer, in > 
> > > fedore repositories ?
> > > 
> > > Thank you
> > > 
> > > On 2021-09-12 11:02, Bob Marcan wrote:
> > > On Sun, 12 Sep 2021 09:45:35 +0100
> > > Joan Moreau  wrote:
> > > 
> > > Thank you for notice.
> > > 
> > > What is the process to rebuild the package with recent dovecot, as  > 
> > > (instead of existing 1.4.12-1) ?
> > > There are no (yet)  1.4.12-2 in updates-testing or > 
> > > updates-testing-modular repository.
> > > Should i'll wait for update?
> > > BR, Bob  
> 
> Got the new version and there is no more API mismatch.
> It's not so important for me, since i'm retired and i'm running this on my 
> home computer.
> But i think it needs more support from te dovecot group.
> There a lot file protection issues nad lack of documentation on dovecot side.
> 
> BR, Bob

Hi Bob,

Dovecot does not maintain either the packages for fedora. These are maintained 
by Fedora Project. Also we do not maintain or document the dovecot-fts-xapian 
plugin, since it's 3rd party plugin. It's maintained by Joan Moreau. 

Kind regards,
Aki


Re: Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Bob Marcan
On Sun, 12 Sep 2021 11:36:46 +0100
Joan Moreau  wrote:

> This is where I am for now :
> 
> https://koji.fedoraproject.org/koji/packageinfo?packageID=34417
> 
> Probably, I should wait for Fedora batch programs to push that into main rep
> 
> On 2021-09-12 11:18, Joan Moreau wrote:
> 
> > Hi Bob,
> > 
> > I am trying to achieve that.
> > 
> > But do you know the process of pushing an update as a maintainer, in > 
> > fedore repositories ?
> > 
> > Thank you
> > 
> > On 2021-09-12 11:02, Bob Marcan wrote:
> > On Sun, 12 Sep 2021 09:45:35 +0100
> > Joan Moreau  wrote:
> > 
> > Thank you for notice.
> > 
> > What is the process to rebuild the package with recent dovecot, as  > 
> > (instead of existing 1.4.12-1) ?
> > There are no (yet)  1.4.12-2 in updates-testing or > 
> > updates-testing-modular repository.
> > Should i'll wait for update?
> > BR, Bob  

Got the new version and there is no more API mismatch.
It's not so important for me, since i'm retired and i'm running this on my home 
computer.
But i think it needs more support from te dovecot group.
There a lot file protection issues nad lack of documentation on dovecot side.

BR, Bob


Re: Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Joan Moreau



Thank you for notice.

What is the process to rebuild the package with recent dovecot, as 
1.4.12-2 (instead of existing 1.4.12-1) ?


On 2021-09-12 07:21, Bob Marcan wrote:


Problem with the dovecot-fts-xapian package.

Fedora 34 with latest updates.
dovecot-2.3.16-1.fc34.x86_64
dovecot-fts-xapian-1.4.12-1.fc34.x86_64

[root@smicro conf.d]# systemctl restart dovecot
[root@smicro conf.d]# doveadm index -A \*
Fatal: Couldn't load required plugin 
/usr/lib64/dovecot/lib21_fts_xapian_plugin.so: Module is for different 
ABI version 2.3.ABIv15(2.3.15) (we have 2.3.ABIv16(2.3.16))


BR, Bob

Re: suse.de dovecot issues

2021-09-12 Thread William Edwards

Bernhard M. Wiedemann schreef op 2021-09-12 10:34:

On 10/09/2021 11.33, William Edwards wrote:


2.
We have 2 backends so that we can do maintenance on one of them while
users can still access their emails through the other backend.
However, we found that stopping dovecot on one backend left users 
unable

to access their mails.


Director doesn't do health checks.


Is there are recommendation on how to have a director with multiple
backends with automatic fail-over?
Are there scripts that do health-checks and call doveadm director 
commands?


https://doc.dovecot.org/configuration_manual/dovemon/

--
With kind regards,

William Edwards



Re: suse.de dovecot issues

2021-09-12 Thread Bernhard M. Wiedemann



On 10/09/2021 11.33, William Edwards wrote:
>>
>> 2.
>> We have 2 backends so that we can do maintenance on one of them while
>> users can still access their emails through the other backend.
>> However, we found that stopping dovecot on one backend left users unable
>> to access their mails.
> 
> Director doesn't do health checks.

Is there are recommendation on how to have a director with multiple
backends with automatic fail-over?
Are there scripts that do health-checks and call doveadm director commands?


Problem with the dovecot-fts-xapian package.

2021-09-12 Thread Bob Marcan
Problem with the dovecot-fts-xapian package.

Fedora 34 with latest updates.
dovecot-2.3.16-1.fc34.x86_64
dovecot-fts-xapian-1.4.12-1.fc34.x86_64

[root@smicro conf.d]# systemctl restart dovecot
[root@smicro conf.d]# doveadm index -A \*
Fatal: Couldn't load required plugin 
/usr/lib64/dovecot/lib21_fts_xapian_plugin.so: Module is for different ABI 
version 2.3.ABIv15(2.3.15) (we have 2.3.ABIv16(2.3.16))

BR, Bob