Re: systemd integration not working

2021-04-26 Thread Aki Tuomi
Can you try with latest git? We did some improvements on the systemd configure parts. Aki > On 26/04/2021 23:32 Joan Moreau wrote: > > > Looking at config.log, there is #define HAVE_LIBSYSTEMD 1 > But "Type=notify" does not appear > My systemd is version 248 > > > > On 2021-04-26 12:05,

Re: systemd integration not working

2021-04-26 Thread Joan Moreau
Looking at config.log, there is #define HAVE_LIBSYSTEMD 1 But "Type=notify" does not appear My systemd is version 248 On 2021-04-26 12:05, Joan Moreau wrote: I have # sudo systemctl status dovecot ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded

Dovecot integration w/ FreeIPA expired password as well as if over quota login notice; local user can't login

2021-04-26 Thread Robert Kudyba
As I continue to test freeipa-server-4.9.3-1, on Fedora 33 with dovecot-2.3.14-1 I've run into the following issues with web mail and Dovecot integration. 1. I followed https://www.freeipa.org/page/Dovecot_IMAPS_Integration_with_FreeIPA_using_Single_Sign_On but I couldn't get web mail to login

Re: Error and Panic (with coredump)

2021-04-26 Thread Aki Tuomi
> On 26/04/2021 19:03 Thomas Knaute wrote: > > > Hi there, > > i'm pretty new to this stuff, just tell me if you need more information. > > Apr 26 17:15:43 dilia dovecot: > imap(u...@domain.de)<78561>: Error: > i_stream_seekable_write_failed: close((>fd)) @ > istream-seekable.c:246

Error and Panic (with coredump)

2021-04-26 Thread Thomas Knaute
Hi there, i'm pretty new to this stuff, just tell me if you need more information. Apr 26 17:15:43 dilia dovecot: imap(u...@domain.de)<78561>: Error: i_stream_seekable_write_failed: close((>fd)) @ istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Apr 26 17:15:43 dilia dovecot:

Re: connection closes every 10 minutes

2021-04-26 Thread Marco Fioretti
update on this: to make a long story short 1) I did run mutt with debug enabled , but could not recognize anything useful 2) I had the same problem with mutt from my laptop 3) a few days ago I received a new modem from my ISP, as part of their network upgrade operations 4) more or less in

Re: systemd integration not working (WAS: Latest git FATAL error)

2021-04-26 Thread Joan Moreau
I have # sudo systemctl status dovecot ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2021-04-25 20:13:25 UTC; 14h ago Docs: man:dovecot(1)

Re: Live migrating index/control files

2021-04-26 Thread Eirik Rye
> On 26 Apr 2021, at 16:03, azu...@pobox.sk wrote: > > Btw, if your control files are OUTSIDE maildir and you are moving them back > INSIDE maildir, notice (for example in my script) that .INBOX directory > doesn't exists in maildir and control files for INBOX are placed directly in >

Re: Live migrating index/control files

2021-04-26 Thread azurit
Citát Eirik Rye : On 26 Apr 2021, at 15:14, Eirik Rye wrote: Both ~/Maildir and /mail/{control,index}/ are separate NFS-mounts, and we now want to consolidate all files to the user's home directory instead. The end goal is to stop using NFS altogether. Some more background

How to Easily Set Up a Full-Featured Linux Mail Server on Ubuntu 18.04.5 LTS with iRedMail 1.4.0

2021-04-26 Thread Turritopsis Dohrnii Teo En Ming
Subject: How to Easily Set Up a Full-Featured Linux Mail Server on Ubuntu 18.04.5 LTS with iRedMail 1.4.0 Good day from Singapore, I followed linuxbabe.com's Xiao Guoan's guide and successfully setup a full featured Linux mail server on Ubuntu 18.04.5 LTS with IRedMail 1.4.0. Author: Mr.

Re: Live migrating index/control files

2021-04-26 Thread Eirik Rye
> On 26 Apr 2021, at 15:14, Eirik Rye wrote: > > Both ~/Maildir and /mail/{control,index}/ are separate NFS-mounts, and we now > want to consolidate all files to the user's home directory instead. The end > goal is to stop using NFS altogether. Some more background information: - Running

Re: Live migrating index/control files

2021-04-26 Thread azurit
Sorry, accidentaly sent the uncomplete message. Here is the mentioned script (see some configuration directives at the beginning of the script): https://pastebin.com/ArG8zspi Citát azu...@pobox.sk: Hi, i think you cannot do this without preventing users to log in. We were doing

Re: Live migrating index/control files

2021-04-26 Thread azurit
Hi, i think you cannot do this without preventing users to log in. We were doing similar thing few years ago and i wrote a Python script for this purpose - you can use it if you find it usefull (script is copying only control files as indexes are transparently recreated): Citát Eirik

Live migrating index/control files

2021-04-26 Thread Eirik Rye
Hello, We are running a director-based dovecot cluster where the user's maildir and the indexes/control files are, for legacy reasons, stored on separate NFS-backends, i.e.: mail_location = maildir:~/Maildir:CONTROL=/mail/control/%1u/%2u/%u:INDEX=/mail/index/%1u/%2u/%u Both ~/Maildir and

Re: cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Le 26/04/2021 à 13:45, Aki Tuomi a écrit : On 26/04/2021 14:38 Jean-Max Reymond wrote: Le 26/04/2021 à 13:31, Aki Tuomi a écrit : On 26/04/2021 14:28 Jean-Max Reymond wrote: Le 26/04/2021 à 13:24, Yassine Chaouche a écrit : Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : >

Re: cannot see my mails

2021-04-26 Thread Aki Tuomi
> On 26/04/2021 14:38 Jean-Max Reymond wrote: > > > Le 26/04/2021 à 13:31, Aki Tuomi a écrit : > > > >> On 26/04/2021 14:28 Jean-Max Reymond wrote: > >> > >> > >> Le 26/04/2021 à 13:24, Yassine Chaouche a écrit : > >>> Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > >>> > After a

Re: cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Le 26/04/2021 à 13:31, Aki Tuomi a écrit : On 26/04/2021 14:28 Jean-Max Reymond wrote: Le 26/04/2021 à 13:24, Yassine Chaouche a écrit : Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > After a change of server When you changed servers, did you copy the contents of (probably)

Re: cannot see my mails

2021-04-26 Thread Aki Tuomi
> On 26/04/2021 14:28 Jean-Max Reymond wrote: > > > Le 26/04/2021 à 13:24, Yassine Chaouche a écrit : > > Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > > > After a change of server > > > > When you changed servers, did you copy the contents of (probably) > > /var/vmail/ from the old

Re: Latest git FATAL error

2021-04-26 Thread Joan Moreau
Yes, I do run autogen.sh after every "git pull" On 2021-04-26 08:21, Aki Tuomi wrote: The current autoconf code is bit buggy, but if you do indeed have libsystemd-dev installed it should do the right thing and will work with systemd even if you have Type=notify. This has been actually

Re: cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Le 26/04/2021 à 13:24, Yassine Chaouche a écrit : Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > After a change of server When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored. You

Re: cannot see my mails

2021-04-26 Thread Yassine Chaouche
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > After a change of server When you changed servers, did you copy the contents of (probably) /var/vmail/ from the old server to the new server ? this is usually where e-mails are stored. You can also use imap-sync from old to new server. This

Re: cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Le 26/04/2021 à 13:13, Yassine Chaouche a écrit : Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > Hi, > After a change of server, I cannot see my mails. postfix is OK and I > receive emails. If I send emails, with roundcube or thunderbird, I > can seethese new sent emails. Access rights

Re: cannot see my mails

2021-04-26 Thread Yassine Chaouche
Le 4/26/21 à 10:22 AM, Jean-Max Reymond a écrit : > Hi, > After a change of server, I cannot see my mails. postfix is OK and I > receive emails. If I send emails, with roundcube or thunderbird, I > can seethese new sent emails. Access rights seems OK. Dovecot with > debug trace does not

Re: Latest git FATAL error

2021-04-26 Thread Joan Moreau
Yes systemd is installed (and the "dev" files as well) On 2021-04-26 06:23, Aki Tuomi wrote: This is because you are not compiling with libsystemd-dev installed. I guess we need to make some service template that use type simple when you don't use libsystemd. Aki On 25/04/2021 22:53 Joan

Re: cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Le 26/04/2021 à 11:22, Jean-Max Reymond a écrit : Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can see these new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any

cannot see my mails

2021-04-26 Thread Jean-Max Reymond
Hi, After a change of server, I cannot see my mails. postfix is OK and I receive emails. If I send emails, with roundcube or thunderbird, I can see these new sent emails. Access rights seems OK. Dovecot with debug trace does not complain. Any tips ? append_dot_mydomain = no biff = no

Re: systemd integration not working (WAS: Latest git FATAL error)

2021-04-26 Thread Aki Tuomi
I don't know then. It works for me and I just tried it again. The only reason it would fail would be that HAVE_LIBSYSTEMD is not defined, so it would not be using libsystemd for notify support. $ sudo systemctl status dovecot ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded

Re: Latest git FATAL error

2021-04-26 Thread Aki Tuomi
The current autoconf code is bit buggy, but if you do indeed have libsystemd-dev installed it should do the right thing and will work with systemd even if you have Type=notify. This has been actually tested, so if it's not working, then something else is wrong. Did you remember to run