Displaying 20 results from an estimated 40000 matches similar to: "pass a block of parameters to doveadm"
2020 Feb 17
2
Question about noreplicate flag
On Mon, 17 Feb 2020, Aki Tuomi wrote:
> On 17.2.2020 12.48, Bernardo Reino wrote:
>> Dear all,
>>
>> I've just setup replication between two servers. The e-mail accounts
>> on both servers intersect but are not the same.
>>
>> In dovecot.conf (both are identical except one user /var/mail and the
>> other uses /srv/vmail) I have:
>>
>>
2015 Sep 04
2
'doveadm expunge' with -A and userdb { driver = passwd }
>> [?]
>> Here's what my Gentoo-default auth-passwdfile.conf.ext says:
>>
>> passdb {
>> driver = passwd-file
>> args = scheme=CRYPT username_format=%u /etc/dovecot/users
>> }
>> userdb {
>> driver = passwd-file
>> args = username_format=%u /etc/dovecot/users
>> }
>>
>> But I don't have an /etc/dovecot/users
2020 Oct 31
1
Odd replication behaviour
Hi,
I have just built a new pair of similar machines both running CentOS 8.2 (selinux disabled) and Dovecot 2.3.8 (9df20d2db).
One machine is a VPS (host A) and one is on my home network (host B). The idea is that they are set up in a master/master config with Dovecot replication.
I seem to have this 95% working but there is one strange issue I can?t work out.
Currently B is a perfect replica
2018 Sep 27
2
Username aliases
On Wed, Sep 26, 2018 at 09:34:07AM +0300, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> # before current passbd
> passdb {
> ? driver = passwd-file
> ? args = username_format=%Lu /etc/dovecot/aliases
> }
>
> # into /etc/dovecot/aliases
> alias at user:::::::user=real_username noauthenticate
>
> This hopefully works.
This seems to work fine and I had the
2017 Nov 20
2
doveadm mailbox list -s Segmentation fault
Hey,
I'm getting Segmentation fault when doing "doveadm mailbox list -s -u
kristjan.eentsalu".
doveadm mailbox list -u kristjan.eentsalu works fine.
OS: FreeBSD 11.1-RELEASE-p1
Dovecot 2.2.33.2 , pigenhole 0.4.21
Trace and dovecot -n below
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
2018 Sep 26
2
Can't authenticate using ARGON2ID crypt scheme from doveadm pw w/rounds != default
I'm using dovecot version 2.3.2.1 (0719df592) and trying to use the
ARGON2ID crypt scheme for authentication using the passdb passwd-file
driver. My passdb config is very simple:
??? passdb {
????? driver = passwd-file
????? args = username_format=%u <path-to-file-here>
??? }
If I generate a password this way:
??? doveadm pw -s ARGON2ID -p 'This is a test'
I get a crypt
2017 Nov 20
2
doveadm mailbox list -s Segmentation fault
Sorry, forgot to include it first time. bt full down below
(gdb) bt full
#0 0x0000000800d77e04 in mailbox_tree_traverse (tree=0x0, path=0x801c1a540
"INBOX", create=false, created_r=0x7fffffffe4f7) at mailbox-tree.c:103
node = (struct mailbox_node **) 0x10
parent = (struct mailbox_node *) 0x0
name = 0x801c1a540 "INBOX"
str = (string_t *)
2018 Jun 25
2
doveadm: problem listing shared mailboxes using a wildcard
* Thore B?decker <me at foxxx0.de>:
> You might need to quote that last argument, otherwise it can get
> interpreted by the shell as globbing, which obviously is not what you
> want.
>
> I've been using wildcard arguments enclosed within '' and "" for
> various doveadm commands without issues so far.
Right. I had thought so too (and forgot to mention
2015 Sep 02
2
'doveadm expunge' with -A and userdb { driver = passwd }
>> doveadm search -A mailbox INBOX.Trash savedbefore 30d
>>
>> but I'm told not to:
>>
>> "If the -A option is present, the command will be performed for all
>> users. Using this option in combination with system users from userdb
>> { driver = passwd } is not recommended, because it contains also users
>> with a lower UID than the one
2017 Feb 18
2
doveadm: Fatal: All your namespaces have a location setting
Hi,
I am trying to migrate mail from an old server and am receiving the
following error :
doveadm(user at example.com): Fatal: All your namespaces have a location
setting. Only namespaces with empty location settings are converted.
(One namespace should default to mail_location setting)
I found an old thread
(http://www.dovecot.org/list/dovecot/2012-September/068269.html) that
referred to
2020 Feb 17
2
Question about noreplicate flag
Dear all,
I've just setup replication between two servers. The e-mail accounts on
both servers intersect but are not the same.
In dovecot.conf (both are identical except one user /var/mail and the
other uses /srv/vmail) I have:
--<<--
userdb {
driver = passwd-file
args = username_format=%Lu /etc/dovecot/virtual_passwd
default_fields = uid=vmail gid=vmail
2020 May 14
5
doveadm sync backup from old to new server
So I've done quite a lot of searching on the list and on the web - and perhaps my google-fu is really bad - but I can't find any real recipes on how to sync mail from the old server to the new.
As an FYI - the old server is a CPanel/WHM setup on a VPS.
The new is mailcow - which uses docker.
However, I don't think either of these platforms is what's causing the issue - but
2020 Feb 06
2
noreplicate for some users
Hi,
I have set up the sync and it is working but I only would like to sync some users. Currently this does not seem to work.
Version 2.3.9.2
Relevant Settings:
File users:
mail at domain.de:{SHA}hash:::t:
passdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/users
}
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/users
default_fields =
2015 Mar 16
1
Problem with replication ("Fatal: -N parameter requires syncing with remote host")
I have been fighting, for 2 days, with a Dovecot setup and I now
officially need help :)
Basically, I am trying to setup replication between 2 identical Dovecot
servers, on different physical servers (different hostnames/etc, of
course), and although I've managed to solve many problems I can't
overcome the final hurdle.
When a mail comes in to one of the servers, replication over TCP
2018 Aug 05
4
limit sharing ability to certain users
Hello
Is it possible to limit the ability of sharing it?s own mailboxes to only a few users?
We have a few sensitive mailboxes of users where the ability to share via IMAP SETACL should be prevented.
I tried the following so far?
doveadm acl remove -u test at onnet.ch INBOX user=test at onnet.ch admin
but when doing this the admin rights are still there
doveadm acl rights -u test at
2018 Sep 25
3
Username aliases
Hi,
Our organization is currently using a passwd-file user database for our
Dovecot installs. However, we now want to provide simple username aliases.
We currently use usernames that are -not- equal to the email address,
but due to the fact that many major email clients/providers do not even
allow you to specifiy a username, we now want to provide aliases where
the username is equal to the
2017 Sep 26
3
dsync: assert panic on mbox // no INBOX sync on hybrid mbox/maildir
Hi,
This (hopefully!) might be a case of user error, as I'm new to
dovecot... Alternatively it might be some confusion in an index, since
I've been mucking about trying different things in my configuration
files and had frequent crashes.
I'm trying to sync 2 (LAN) hosts, ideally to have full automatic
replication happening.
They both have hybrid mbox INBOX and maildir++ folders,
2016 Feb 21
3
Automatically inferring %d on multi-domain virtual install ?
very intrigued by your solution Timo, have attempted something similar in
the past to no avail.
When I tried I was unable to retain the user at domain when setting the domain
as extra field - protected is new to me and can't find documentation - but
also doesn't work :(
# cat passwd.domains
10.100.1.1:::::::domain:protected=foo.org
10.100.1.2:::::::domain:protected=bar.org
# cat
2015 Sep 01
2
'doveadm expunge' with -A and userdb { driver = passwd }
I'm expunging mail in my crontab like this:
doveadm search -u user1 mailbox INBOX.Trash savedbefore 30d
doveadm search -u user2 mailbox INBOX.Trash savedbefore 30d
doveadm search -u user3 mailbox INBOX.Trash savedbefore 30d
...
I'd rather do this:
doveadm search -A mailbox INBOX.Trash savedbefore 30d
but I'm told not to:
"If the -A option is present, the command will be
2015 Sep 04
1
'doveadm expunge' with -A and userdb { driver = passwd }
>>>> But I don't have an /etc/dovecot/users file. I also don't seem to
>>>> have any mail user uid lower than 1000, but I do have some users above
>>>> 1000 which aren?t mail users (nobody, etc).
>>>
>>> Hello Grant,
>>>
>>> So as to avoid any ambiguity, could you post the output of "doveconf -n"?
>>