Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 00:33 gmail wrote: > > > > Stuart Henderson kirjoitti 14.3.2021 klo 23.38: > > On 2021-03-14, lja@koti wrote: >> # 2.3.7.2 (3c910f64b): > /etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > > >Updated dovecot to bleeding edge, and still got same issue. >

RE: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread Marc
I assume you are refering to incomming mail. I had sometimes similar issues with mbox and having sendmail deliver straight to the mbox file. When I switched to delivering to lmtp, I never encountered it anymore. Just put this lmtp inbetween. > -Original Message- > From: dovecot On Be

archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
These commands should generate different output not? [@ ~]# doveadm -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index mailbox status -u testtest 'messages vsize' "Archive/2018" Archive/2018 messages=70 vsize=6182960 [@ ~]# doveadm -o mai

Re: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 11:23 Marc wrote: > > > These commands should generate different output not? > > [@ ~]# doveadm -o > mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index > mailbox status -u testtest 'messages vsize' "Archive/2018" > > Archive

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
[@ ~]# doveadm -D -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index mailbox status -u testtest 'messages vsize' "Archive/2018" Debug: Loading modules from directory: /usr/lib64/dovecot Debug: Module loaded: /usr/lib64/dovecot/lib15_notify_

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 11:43 Marc wrote: > > > [@ ~]# doveadm -D -o > mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/archiveindex/testtest/index > mailbox status -u testtest 'messages vsize' "Archive/2018" > > doveadm(testtest): Debug: Namespace 4archives: type=private,

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
I am not sure if you wanted me to just add another -o, so I did these 3, but all with same results[1]. [1] [@ storage]# doveadm -D -o namespace/4archives/location=mdbox_deleted:/home/mail-archive/testtest/mdbox -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox:INDEX=/home/ar

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 12:12 Marc wrote: > > > I am not sure if you wanted me to just add another -o, so I did these 3, but > all with same results[1]. > > > > That's because you did it slightly wrong.. doveadm -D -o namespace/4archives/location=mdbox_deleted:/home/mail-archive/testtest/Arch

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
Hmmm, terribly sorry, I think it is related to that Archive is stored in [@]# doveconf | grep location mail_location = mdbox:~/mdbox:INDEX=/home/popindex/%u/index:CONTROL=~/mail/control location = mdbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archive/control:INDEX=/home

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
Sorry Aki for asking again. I need to run the purge, but I want to make sure some user did not accedentally deleted a large folder. I decided to keep tests limited for now to the main inbox namespace. But also here weird results. Status of folders before the test[1], selected 10 messages from

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 13:56 Marc wrote: > > > Sorry Aki for asking again. I need to run the purge, but I want to make sure > some user did not accedentally deleted a large folder. > > I decided to keep tests limited for now to the main inbox namespace. But also > here weird results. > > Status

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
New test step 1. === initial state inbox and deleted [@ testtest]# doveadm -o mail_location=mdbox:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=17 vsize=7473 Drafts messages=6 vsize=67170 INBOX/test2 messages

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
Adding these steps step 6. === check if we have still them message stored, ok as expected [@ testtest]# grep 45765765870 /home/popusers/testtest/mdbox/storage/* /home/popusers/testtest/mdbox/storage/m.893:Subject: New file uploaded 45765765870 step 7. === purge mailbox with [@ testt

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread gmail
I think i found cultpir: PAM is not compiled in, now i'm compiling new version that has PAM in. Aki Tuomi kirjoitti 15.3.2021 klo 9.18: On 15/03/2021 00:33 gmail wrote: Stuart Henderson kirjoitti 14.3.2021 klo 23.38: > On 2021-03-14, lja@koti wrote: >> # 2.3.7.2 (3c910f64b): /etc/

Re: Latest dovecot does not work with latest MUA (thunderbird)

2021-03-15 Thread gmail
I think i found cultpir: PAM is not compiled in, now i'm compiling new version that has PAM in. Marc kirjoitti 15.3.2021 klo 10.43: I assume you are refering to incomming mail. I had sometimes similar issues with mbox and having sendmail deliver straight to the mbox file. When I switched t

Re: [ext] Re: What is the state of SMTPUTF8 support?

2021-03-15 Thread Sylvhem
Le dimanche 14 mars 2021 à 21:13 +0100, Benny Pedersen a écrit : > On 2021-03-14 17:29, Ralf Hildebrandt wrote: > > * Ralf Hildebrandt : > > > > I didn’t get any answer. Does somebody know if there was any > > > > progress > > > > in implementing the RFC 6531? > > > > > > http://www.postfix.org/SM

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
> > step 5. > === > verify refcount=0 messages in folders, not ok, INBOX/test2 should have 5 > > [@ testtest]# doveadm -o > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > pindex/testtest/index mailbox status -u testtest 'messages vsize' '*' > Sent messages=0 vsize=

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 15:50 Marc wrote: > > > > > > step 5. > > === > > verify refcount=0 messages in folders, not ok, INBOX/test2 should have 5 > > > > [@ testtest]# doveadm -o > > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > > pindex/testtest/index mailbox stat

RE: archive namespace reports mdbox_deleted: same as mdbox: is that ok?

2021-03-15 Thread Marc
> > > step 5. > > > === > > > verify refcount=0 messages in folders, not ok, INBOX/test2 should > have 5 > > > > > > [@ testtest]# doveadm -o > > > > mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/po > > > pindex/testtest/index mailbox status -u testtest 'messages vsize'

Doveadm-Purge dry run

2021-03-15 Thread Marc
Maybe it is nice to introduce some option to Doveadm-Purge that does not delete anything just logs what it wanted to delete sort of like rsync's -n option.

Re: Virtual users @ virtual domains / better documentation?

2021-03-15 Thread Matt Anton
Le Tue, 09 Mar 2021 08:47:12 -0900, justina colmena ~biz a écrit : > If the $virtual_alias_maps directive invalidates virtual mailboxes, > then "the usual" aliases (postmaster@, etc.) for the virtual domains > would have to be listed in > /etc/aliases > along with the non-virtual aliases, but

Re: dovecot director and keepalived

2021-03-15 Thread Steven Varco
Hi John Thanks for you input. So you basically state that („physically“) separating the director servers from keepalive/haproxy servers is the only option? I would like to avoid setting up two additional machines for that whenever possible, as any node more in the chain potentially is another p

how to reclaim disk space mdbox

2021-03-15 Thread Marc
When I delete messages in the archive namespace they are copied to the deleted items folder in the inbox namespace. This is 34MB increase is visible however I expected the archive to go down by 34MB. Is diskspace reclaimed automatically or do you need to issue an command? [@ sbin]# du -s -k /

RE: how to reclaim disk space mdbox

2021-03-15 Thread Marc
> When I delete messages in the archive namespace they are copied to the > deleted items folder in the inbox namespace. This is 34MB increase is > visible however I expected the archive to go down by 34MB. > > Is diskspace reclaimed automatically or do you need to issue an command? > > [@ sbin]#

Re: dovecot director and keepalived

2021-03-15 Thread Robert Schetterer
Am 14.03.21 um 17:52 schrieb Steven Varco: Hi All I’m trying to establish a dovecot HA setup with two loadbalancers, running keepalived for sharing a virtual public IP. On the same machines I’m running a dovecot director which proxies the requests to two underlying mail servers (on seperate ma

Re: dovecot director and keepalived

2021-03-15 Thread Paterakis E. Ioannis
On 15/3/2021 6:09 μ.μ., Steven Varco wrote: Hi John Thanks for you input. So you basically state that („physically“) separating the director servers from keepalive/haproxy servers is the only option? I would like to avoid setting up two additional machines for that whenever possible, as any

Re: dovecot director and keepalived

2021-03-15 Thread Aki Tuomi
> On 15/03/2021 20:54 Paterakis E. Ioannis wrote: > > > On 15/3/2021 6:09 μ.μ., Steven Varco wrote: > > Hi John > > > > Thanks for you input. > > > > So you basically state that („physically“) separating the director servers > > from keepalive/haproxy servers is the only option? > > I would

Re: dovecot director and keepalived

2021-03-15 Thread Paterakis E. Ioannis
On 15/3/2021 9:11 μ.μ., Aki Tuomi wrote: On 15/03/2021 20:54 Paterakis E. Ioannis wrote: On 15/3/2021 6:09 μ.μ., Steven Varco wrote: Hi John Thanks for you input. So you basically state that („physically“) separating the director servers from keepalive/haproxy servers is the only optio

dovecot.map.index corrupted: Unexpectedly lost INBOX uid=1 map_uid=4726

2021-03-15 Thread Marc
I had in my archive namespace[1] an INBOX folder and did not really get why it was there so I deleted it. Now this command generates map index error (doveadm force-resync does not fix it ;)) [@ ~]# doveadm -o namespace/4archives/location=mdbox_deleted:/home/mail-archive/testtest/mdbox/Archive

RE: dovecot.map.index corrupted: Unexpectedly lost INBOX uid=1 map_uid=4726

2021-03-15 Thread Marc
> > I had in my archive namespace[1] an INBOX folder and did not really get > why it was there so I deleted it. Now this command generates map index > error (doveadm force-resync does not fix it ;)) > > > [@ ~]# doveadm -o namespace/4archives/location=mdbox_deleted:/home/mail- > archive/testtest

another try listing expunged mail, now only tested with dovecot cli

2021-03-15 Thread Marc
testing with expunging messages with subject "delete me" this is the correct commend to list expunged messages? [@ testtest]# doveadm -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox:INDEX=/home/popindex/testtest/index mailbox status -u testtest 'messages vsize' '*' Sent messages=0