Re: Odd config problem in Debian Bullseye / dovecot 2.3.13
On 8/18/21 12:31, Aki Tuomi wrote: Hi! this is a known issue, you can workaround it Any ideas when it will be fixed? Perry
Re: Odd config problem in Debian Bullseye / dovecot 2.3.13
> On 19/08/2021 18:22 Perry E. Metzger wrote: > > > On 8/18/21 12:31, Aki Tuomi wrote: > > > > Hi! > > > > this is a known issue, you can workaround it > > Any ideas when it will be fixed? > > Perry It's fixed in master and will be part of next release. Aki
Something obvious in my sieve?
I get the following error for this: line 24 is the "contains subset" line .active_sieve: line 24: error: expecting test identifier after ',' in test list, but found '('. .active_sieve: line 24: error: expecting ',' or end of test list ')', but found '{'. .active_sieve: error: parse failed. if anyof (body :contains "files transferred: 0", (header :contains "subject" "a specific subject goes here" ) { This clause produces no error if anyof (header :contains "from" "@unwanted", envelope :matches :detail "to" "extension", exists "X-Facebook" ){ What am I missing? -- "Are you pondering what I'm pondering?" "Yes Brain, but if our knees bent the other way, how would we ride a bicycle?"
Re: Something obvious in my sieve?
Le 19/08/2021 à 20:23, @lbutlr a écrit : > I get the following error for this: line 24 is the "contains subset" line > .active_sieve: line 24: error: expecting test identifier after ',' in test > list, but found '('. > .active_sieve: line 24: error: expecting ',' or end of test list ')', but > found '{'. > .active_sieve: error: parse failed. > >if anyof (body :contains "files transferred: 0", > (header :contains "subject" "a specific subject goes here" ) { > > This clause produces no error > > if anyof (header :contains "from" "@unwanted", > envelope :matches :detail "to" "extension", > exists "X-Facebook" ){ > > What am I missing? > You must not put an opening parenthesis before the "header :contains", it is the second clause of the anyof
Re: Something obvious in my sieve?
On 2021 Aug 19, at 12:23, @lbutlr wrote: > I get the following error for this: line 24 is the "contains subset" line > .active_sieve: line 24: error: expecting test identifier after ',' in test > list, but found '('. > .active_sieve: line 24: error: expecting ',' or end of test list ')', but > found '{'. > .active_sieve: error: parse failed. > > if anyof (body :contains "files transferred: 0", >(header :contains "subject" "a specific subject goes here" ) { The post was successful, and I nearly immediately saw the top I've been looking at for over a day. if anyof (body :contains "files transferred: 0", header :contains "subject" "a specific subject goes here" ) { (I had an extra '(' and was reading the error as a ')'. Sigh.) -- "Are you pondering what I'm pondering?" "I think so, Brain, but Zero Mostel times anything will still give you Zero Mostel."
ssl_params error on RHEL7 FIPS enabled
All, The machine I’m running dovecot on is: RHEL7.9 3.10.0-1160.31.1.el7.x86_64 I can run Systemctl restart dovecot then status or /usr/libexec/dovecot/ssl-params and I get the following error. Info: Generating SSL parameters Fatal: ssl_iostream_generate_params(4096) failed: DH_generate_parameters(bits=512, gen=2) failed: error:0506A06E:lib(5):func(106):reason(110), error 0506A003:lib(5):func(106):reason(3) Error: child process failed with status 22784 I can generate a diffie-hellman pem with openssl dhparam -out /etc/dovecot/dh.pem 4096 But dovecot 2.2.36 does not have the option of telling it where the dh.pem file is located in the config like version 2.3 does. Is my error related to FIPS and is there a way around it? My dovecot version is: Dovecot version 2.2.36 release 8.el7 Thanks in advance to anyone willing to help out, I know it’s voluntary 🙏 Thanks, bpartin2009 Sent from my iPhone
Re: ssl_params error on RHEL7 FIPS enabled
There have been multiple submitted fixes to this, I submitted a fix to Redhat myself. And they are not willing to add it to their EL7 at this point. From: dovecot on behalf of Brad Partin Date: Thursday, August 19, 2021 at 12:39 PM To: "dovecot@dovecot.org" Subject: ssl_params error on RHEL7 FIPS enabled [External Email] All, The machine I’m running dovecot on is: RHEL7.9 3.10.0-1160.31.1.el7.x86_64 I can run Systemctl restart dovecot then status or /usr/libexec/dovecot/ssl-params and I get the following error. Info: Generating SSL parameters Fatal: ssl_iostream_generate_params(4096) failed: DH_generate_parameters(bits=512, gen=2) failed: error:0506A06E:lib(5):func(106):reason(110), error 0506A003:lib(5):func(106):reason(3) Error: child process failed with status 22784 I can generate a diffie-hellman pem with openssl dhparam -out /etc/dovecot/dh.pem 4096 But dovecot 2.2.36 does not have the option of telling it where the dh.pem file is located in the config like version 2.3 does. Is my error related to FIPS and is there a way around it? My dovecot version is: Dovecot version 2.2.36 release 8.el7 Thanks in advance to anyone willing to help out, I know it’s voluntary 🙏 Thanks, bpartin2009 Sent from my iPhone
Re: dovecot 3.16 replicator Problem?
> On 18/08/2021 14:46 Günther J. Niederwimmer wrote: > > > Hello list, > I have a problem with the replicator (config) I mean it doesn't work anymore > since version 3.16? > > How can you turn up the log level with this tool? I think the full sync is > still possible to some extent. I deleted a test user who was restored after a > day. > > Question: has something changed in the config so that the whole thing works > again > > Thanks for a answer, > -- > mit freundlichen Grüßen / best regards > > Günther J. Niederwimmer You probably mean 2.3.16. Anyways. You can use `mail_debug=yes` to generate more debug logs. It would be helpful if you could describe more clearly "how it does not work"? Aki
AW: Problem with copy e-mails via doveadm
Try to republish due to unreadable message (in html format) in mailing list archive maybe someone can take a better look at it now --- Hi, i want to copy e-mails from user "source_user_shard1" and folder "source_folder" lying on backend servers (shard1) to another user "dest_user_shard2" and folder "dest_folder" lying on different backend servers (shard2) via command line tool doveadm copy executed on dovecot proxy&director servers. But doveadm seems to look only on "dest_user_shard2"'s backend for folder "source_folder" of user "source_user_shard1" and can not find it. To confirm this, i've checked directories on filesystem on backend of "dest_user_shard2" and a folder for "source_user_shard1" was created including one folder "mdbox" and only one file "dovecot.list.index.log" in it. Folder and file timestamps match the command debug output time. "doveadm list" executed for both users show the right folders (source_folder and dest_folder exist in respective mailbox). Is it a bug or wrong usage of tool? Please advice. command executed on dovecot proxy&director server with debug output: /usr/bin/doveadm -Dv copy -u "dest_user_shard2" "dest_folder" user "source_user_shard1" mailbox "source_folder" ALL Aug 17 10:22:05 Debug: Loading modules from directory: /usr/lib/dovecot/modules Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Aug 17 10:22:05 Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Aug 17 10:22:05 Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so Aug 17 10:22:05 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Started passdb lookup Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb: Connecting Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Client connected (fd=9) Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): auth PASS input: user=dest_user_shard2 proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21 Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): Mailbox source_folder: Mailbox sync failed: Mailbox doesn't exist: source_folder Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Disconnected: Connection closed (fd=9) dovecot configuration on dovecot proxy&director servers: # 2.3.15.1 (b52083c4e8): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.15 (e6a84e31) # OS: Linux 5.4.0-81-generic x86_64 Ubuntu 20.04.2 LTS auth_mechanisms = plain login auth_verbose = yes default_process_limit = 250 director_mail_servers = 192.168.0.11@shard1 192.168.0.12@shard1 192.168.0.21@shard2 192.168.0.22@shard2 192.168.0.31@shard3 192.168.0.32@shard3 192.168.0.41@shard4 192.168.0.42@shard4 director_servers = 192.168.0.101 192.168.0.102 192.168.0.103 disable_plaintext_auth = no doveadm_api_key = # hidden, use -P to show it doveadm_password = # hidden, use -P to show it doveadm_port = 24245 imap_logout_format = in=%i out=%o deleted=%{deleted} expunged=%{expunged} trashed=%{trashed} lmtp_proxy = yes mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_plugins = " quota" 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 index ihave duplicate mime foreverypart extracttext metric auth_success { filter = (event=auth_request_finished AND success=yes) } metric client_connections { filter = event=client_connection_finished } metric imap_command { filter = event=imap_command_finished group_by = cmd_name tagged_reply_state } metric mail_delivery { filter = event=mail_delivery_finished group_by = duration:exponential:1:5:10 } namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts }
Re: AW: Problem with copy e-mails via doveadm
Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): Mailbox source_folder: Mailbox sync failed: Mailbox doesn't exist: source_folder Does this help? Aki > On 20/08/2021 09:12 Christian Küppers wrote: > > > Try to republish due to unreadable message (in html format) in mailing list > archive > maybe someone can take a better look at it now > > --- > > Hi, > > i want to copy e-mails from user "source_user_shard1" and folder > "source_folder" lying on backend servers (shard1) to another > user "dest_user_shard2" and folder "dest_folder" lying on different backend > servers (shard2) via command line tool doveadm copy > executed on dovecot proxy&director servers. But doveadm seems to look only on > "dest_user_shard2"'s backend for folder "source_folder" > of user "source_user_shard1" and can not find it. To confirm this, i've > checked directories on filesystem on backend of "dest_user_shard2" > and a folder for "source_user_shard1" was created including one folder > "mdbox" and only one file "dovecot.list.index.log" in it. Folder and file > timestamps match the command debug output time. > "doveadm list" executed for both users show the right folders (source_folder > and dest_folder exist in respective mailbox). > > Is it a bug or wrong usage of tool? Please advice. > > command executed on dovecot proxy&director server with debug output: > /usr/bin/doveadm -Dv copy -u "dest_user_shard2" "dest_folder" user > "source_user_shard1" mailbox "source_folder" ALL > Aug 17 10:22:05 Debug: Loading modules from directory: > /usr/lib/dovecot/modules > Aug 17 10:22:05 Debug: Module loaded: > /usr/lib/dovecot/modules/lib10_quota_plugin.so > Aug 17 10:22:05 Debug: Loading modules from directory: > /usr/lib/dovecot/modules/doveadm > Aug 17 10:22:05 Debug: Skipping module doveadm_acl_plugin, because dlopen() > failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: > undefined symbol: acl_user_module (this is usually intentional, so just > ignore this message) > Aug 17 10:22:05 Debug: Module loaded: > /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so > Aug 17 10:22:05 Debug: Module loaded: > /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so > Aug 17 10:22:05 Debug: Skipping module doveadm_fts_plugin, because dlopen() > failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: > undefined symbol: fts_user_get_language_list (this is usually intentional, so > just ignore this message) > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb > lookup(dest_user_shard2): Started passdb lookup > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn > unix:/var/run/dovecot/director-userdb: Connecting > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn > unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Client connected > (fd=9) > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb > lookup(dest_user_shard2): auth PASS input: user=dest_user_shard2 proxy=y > director_tag=shard2 proxy_refresh=450 host=192.168.0.21 > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb > lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 > proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) > Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): > Mailbox source_folder: Mailbox sync failed: > Mailbox doesn't exist: source_folder > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn > unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Disconnected: > Connection closed (fd=9) > > dovecot configuration on dovecot proxy&director servers: > # 2.3.15.1 (b52083c4e8): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.15 (e6a84e31) > # OS: Linux 5.4.0-81-generic x86_64 Ubuntu 20.04.2 LTS > auth_mechanisms = plain login > auth_verbose = yes > default_process_limit = 250 > director_mail_servers = 192.168.0.11@shard1 192.168.0.12@shard1 > 192.168.0.21@shard2 192.168.0.22@shard2 192.168.0.31@shard3 > 192.168.0.32@shard3 192.168.0.41@shard4 192.168.0.42@shard4 > director_servers = 192.168.0.101 192.168.0.102 192.168.0.103 > disable_plaintext_auth = no > doveadm_api_key = # hidden, use -P to show it > doveadm_password = # hidden, use -P to show it > doveadm_port = 24245 > imap_logout_format = in=%i out=%o deleted=%{deleted} expunged=%{expunged} > trashed=%{trashed} > lmtp_proxy = yes > mail_location = mbox:~/mail:INBOX=/var/mail/%u > mail_plugins = " quota" > managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope encoded-character > vacation subaddress compar
Re: AW: Problem with copy e-mails via doveadm
Maybe i missunderstood this message. For me this indicates that doveadm is searching on the wrong server (backend) for "source_user_shard1" 's and folder "source_folder". From my understanding doveadm has to look on 192.168.0.11 or 192.168.0.12 (according to provided configuration), but the message says 192.168.0.21 which is backend for "dest_user_shard2". - Ursprüngliche Nachricht - Von: Aki Tuomi aki.tu...@open-xchange.com Gesendet: Freitag, 20. August 2021 08:39:41 An: c.kuepp...@onoffice.de, dovecot@dovecot.org Betreff: Re: AW: Problem with copy e-mails via doveadm Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): Mailbox source_folder: Mailbox sync failed: Mailbox doesn't exist: source_folder Does this help? Aki > On 20/08/2021 09:12 Christian Küppers c.kuepp...@onoffice.de wrote: > > > Try to republish due to unreadable message (in html format) in mailing list archive > maybe someone can take a better look at it now > > --- > > Hi, > > i want to copy e-mails from user "source_user_shard1" and folder "source_folder" lying on backend servers (shard1) to another > user "dest_user_shard2" and folder "dest_folder" lying on different backend servers (shard2) via command line tool doveadm copy > executed on dovecot proxy&director servers. But doveadm seems to look only on "dest_user_shard2"'s backend for folder "source_folder" > of user "source_user_shard1" and can not find it. To confirm this, i've checked directories on filesystem on backend of "dest_user_shard2" > and a folder for "source_user_shard1" was created including one folder "mdbox" and only one file "dovecot.list.index.log" in it. Folder and file > timestamps match the command debug output time. > "doveadm list" executed for both users show the right folders (source_folder and dest_folder exist in respective mailbox). > > Is it a bug or wrong usage of tool? Please advice. > > command executed on dovecot proxy&director server with debug output: > /usr/bin/doveadm -Dv copy -u "dest_user_shard2" "dest_folder" user "source_user_shard1" mailbox "source_folder" ALL > Aug 17 10:22:05 Debug: Loading modules from directory: /usr/lib/dovecot/modules > Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so > Aug 17 10:22:05 Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm > Aug 17 10:22:05 Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: > undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) > Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so > Aug 17 10:22:05 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so > Aug 17 10:22:05 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: > undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Started passdb lookup > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb: Connecting > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Client connected > (fd=9) > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): auth PASS input: user=dest_user_shard2 proxy=y > director_tag=shard2 proxy_refresh=450 host=192.168.0.21 > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: passdb lookup(dest_user_shard2): Finished passdb lookup (user=dest_user_shard2 > proxy=y director_tag=shard2 proxy_refresh=450 host=192.168.0.21) > Aug 17 10:22:05 doveadm(dest_user_shard2): Error: remote(192.168.0.21:24245): Mailbox source_folder: Mailbox sync failed: > Mailbox doesn't exist: source_folder > Aug 17 10:22:05 doveadm(dest_user_shard2): Debug: auth-master: conn unix:/var/run/dovecot/director-userdb (pid=647,uid=0): Disconnected: > Connection closed (fd=9) > > dovecot configuration on dovecot proxy&director servers: > # 2.3.15.1 (b52083c4e8): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.15 (e6a84e31) > # OS: Linux 5.4.0-81-generic x86_64 Ubuntu 20.04.2 LTS > auth_mechanisms = plain login > auth_verbose = yes > default_process_limit = 250 > director_mail_servers = 192.168.0.11@shard1 192.168.0.12@shard1 > 192.168.0.21@shard2 192.168.0.22@shard2 192.168.0.31@shard3 > 192.168.0.32@shard3 192.168.0.41@shard4 192.168.0.42@shard4 > director_servers