Displaying 20 results from an estimated 42 matches for "doveadm_allowed_commands".
2019 Jan 03
2
doveadm_allowed_commands doesn't work as expected
Trying to limit the API calls to doveadm-http-api by configure allowed
commands, but once the commands added to the list, the RestAPI no longer
work.
1) Return correct reply when doveadm_allowed_commands is empty
# curl -k -H "Content-Type: application/json" -H "Authorization:
X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1
-d'[["quotaGet",{"user":"user1 at mydomain.com"},"c01"]]'
[["doveadmResponse&...
2019 Jan 03
0
doveadm_allowed_commands doesn't work as expected
...On 03 January 2019 at 22:45 Ronald Poon <ronaldpoon at ud.hk> wrote:
>
>
> Trying to limit the API calls to doveadm-http-api by configure allowed
> commands, but once the commands added to the list, the RestAPI no longer
> work.
>
>
> 1) Return correct reply when doveadm_allowed_commands is empty
>
> # curl -k -H "Content-Type: application/json" -H "Authorization:
> X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1
> -d'[["quotaGet",{"user":"user1 at mydomain.com"},"c01"]]'
>...
2019 Jan 04
1
Feature request: client bind address for replication
...19-01-04 14:59:11.556270077 +0100
@@ -62,6 +62,7 @@
DEF(SET_UINT, doveadm_worker_count),
DEF(SET_IN_PORT, doveadm_port),
{ SET_ALIAS, "doveadm_proxy_port", 0, NULL },
+ DEF(SET_STR, doveadm_local_ip),
DEF(SET_STR, doveadm_username),
DEF(SET_STR, doveadm_password),
DEF(SET_STR, doveadm_allowed_commands),
@@ -91,6 +92,7 @@
.doveadm_socket_path = "doveadm-server",
.doveadm_worker_count = 0,
.doveadm_port = 0,
+ .doveadm_local_ip = "",
.doveadm_username = "doveadm",
.doveadm_password = "",
.doveadm_allowed_commands = "",
--- dovecot-2.2.3...
2019 Dec 13
1
Doveadm HTTP API and CORS
...re is not much
hype around it. Let's change that.
Doveadmin REST API so to speak provides a web server. When doing /ajax/
requests, modern browsers block that, unless the response comes with a
specific CORS header.
Here how to work around with a proxy:
> # /etc/dovecot/local.conf
> doveadm_allowed_commands = fetch
> doveadm_api_key = secret
> service doveadm {
> inet_listener http {
> port = 8084
> }
> }
> # secret64 = echo -n secret | base64
> # /etc/apache/.../some-site.conf
> ProxyVia Block
> <Location /doveadm/v1>
> RequestHeader set Authorizat...
2020 May 28
2
service doveadm - how to debug proxying with director
...(doveadm related part):
service doveadm {
? inet_listener {
??? # any port you want to use for this:
??? port = 24245
? }
}
local 0.0.0.0 {
? # password to use for client authentication
? doveadm_password = secret
? # allow client to only use specified list of commands (default is all):
? #doveadm_allowed_commands =
}
# same port as doveadm's inet_listener
doveadm_port = 24245
protocol doveadm {
? # NOTE: director-userdb socket is actually used only for passdb
lookups, not userdb lookups
? auth_socket_path = director-userdb
}
And here the dovecot-backend hosts configuration (doveadm related part):...
2018 Jul 03
2
lmtp issues with specific message on dovecot 2.3.2
...re)
# Hostname: mailsrv01
auth_master_user_separator = * auth_verbose_passwords = sha1
default_client_limit = 2000 deliver_log_format = subject=%s from:%f
sender:%e to: %{to_envelope} size:%p msgid=%m status=%$
delivery_time=%{delivery_time} session_time=%{session_time}
disable_plaintext_auth = no doveadm_allowed_commands = quota
get,dsync-server,kick,purge,fts rescan,altmove,mailbox list,expunge,mailbox
status doveadm_password =? # hidden, use -P to show it
lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes
lmtp_rcpt_check_quota = yes login_greeting = IMAP4.
login_trusted_networks = x.x.x.x/24
mail_fsync...
2012 Aug 31
1
New log entries with 2.0.19?
...er = dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
disable_plaintext_auth = yes
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
first_valid_gid = 1
first_valid_uid = 500
hostname =
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes=%i/%o...
2018 Apr 02
2
Doveadm backup issues on dovecot 2.3.1
...Hostname: mailsrv01
auth_master_user_separator = *
auth_verbose_passwords = sha1
default_client_limit = 2000
deliver_log_format = subject=%s from:%f sender:%e to: %{to_envelope} size:%p
msgid=%m status=%$ delivery_time=%{delivery_time}
session_time=%{session_time}
disable_plaintext_auth = no
doveadm_allowed_commands = quota get,dsync-server,kick,purge,fts
rescan,altmove,mailbox list,expunge,mailbox status
doveadm_password = # hidden, use -P to show it
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_rcpt_check_quota = yes
login_greeting = IMAP4.
login_trusted_networks = x.x.x.x/24
mail...
2014 May 08
1
Dsync via dovecot proxy
...-director.conf
# OS: Linux 3.2.0-4-amd64 x86_64
Debian 7.1
auth_cache_size = 32 M
auth_cache_ttl = 2 hours
auth_debug =
yes
auth_mechanisms = plain login
auth_verbose = yes
base_dir =
/var/run/dovecot/
director_mail_servers = 27.54.95.50
director_servers =
27.54.95.36
disable_plaintext_auth = no
doveadm_allowed_commands = all
doveadm_password = xxxxxxxxxxx
lmtp_proxy = yes
log_path =
/var/log/dovecot.log
mail_debug = yes
passdb {
args = nopassword=y
proxy=y
driver = static
}
protocols = " imap lmtp pop3"
service
auth-worker {
user = dovecot
}
service auth {
client_limit = 4096
unix_liste...
2018 May 18
1
indexer-worker issues on dovecot 2.3.0
...nal) # Hostname: mailsrv01 auth_master_user_separator = *
auth_verbose_passwords = sha1 default_client_limit = 2000 deliver_log_format
= subject=%s from:%f sender:%e to: %{to_envelope} size:%p msgid=%m status=%$
delivery_time=%{delivery_time} session_time=%{session_time}
disable_plaintext_auth = no doveadm_allowed_commands = quota
get,dsync-server,kick,purge,fts rescan,altmove,mailbox list,expunge,mailbox
status doveadm_password = # hidden, use -P to show it
lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes
lmtp_rcpt_check_quota = yes login_greeting = IMAP4.
login_trusted_networks = x.x.x.x/24
mail_fsyn...
2012 Jun 14
1
disable_plaintext_auth = no as no effect on IMAP/POP3 logins
...user = dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
disable_plaintext_auth = no
dotlock_use_excl = no
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
dsync_alt_char = _
first_valid_gid = 1
first_valid_uid = 105
hostname = usrmta01.talkactive.net
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interva...
2011 Sep 28
0
2.0.14 IPC client_limit reached error
...%m: %$
dict_db_config =
director_doveadm_port = 9091
director_mail_servers = 192.168.160.74 192.168.160.75 192.168.160.76 192.168.160.77 192.168.160.78 192.168.160.79
director_servers = 192.168.160.80 192.168.160.81
director_user_expire = 15 mins
disable_plaintext_auth = yes
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
first_valid_gid = 1
first_valid_uid = 500
hostname =
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = byte...
2011 Oct 28
1
doveadm 'proxy list' or 'who' not working ?
...= dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
disable_plaintext_auth = no
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
first_valid_gid = 1
first_valid_uid = 89
hostname =
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes...
2014 Jan 24
1
outlook will not sync
...er = dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
disable_plaintext_auth = yes
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
first_valid_gid = 1
first_valid_uid = 89
hostname =
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes=%i/%o...
2017 Feb 09
1
dovecot logout issues
...r = vpopmail
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
director_username_hash = %u
disable_plaintext_auth = no
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
dsync_alt_char = _
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -U
first_valid_gid = 89
first_valid_uid = 89
hostname =
imap_capability =
imap_client_workarounds =
imap_id...
2018 Apr 04
2
Lmtp issues on dovecot 2.3.x with big messages
...nal)
# Hostname: mailsrv01
auth_master_user_separator = *
auth_verbose_passwords = sha1
default_client_limit = 2000
deliver_log_format = subject=%s from:%f sender:%e to: %{to_envelope} size:%p
msgid=%m status=%$ delivery_time=%{delivery_time}
session_time=%{session_time}
disable_plaintext_auth = no
doveadm_allowed_commands = quota get,dsync-server,kick,purge,fts
rescan,altmove,mailbox list,expunge,mailbox status
doveadm_password =? # hidden, use -P to show it
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_rcpt_check_quota = yes
login_greeting = IMAP4.
login_trusted_networks = x.x.x.x/24
mail_fsync...
2015 Mar 26
1
Error: open() failed with file /var/vmail/... Too many open files
...ser = dovecot
default_login_user = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
disable_plaintext_auth = no
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
first_valid_gid = 112
first_valid_uid = 107
hostname =
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes=%i/...
2012 Dec 18
6
dovecot index errors since 2.1.12
Hi,
After upgrading to dovecot 2.1.12, I see a lot of these errors:
# 2.1.12: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
# Filesystem: ext4 with mdbox storage
Dec 10 15:21:04 mail dovecot: imap(user at example.org): Error: Cached
message size smaller than expected (5010 < 8192)
Dec 10 15:21:04 mail dovecot: imap(user at example.org):
2013 Apr 18
1
Multiple Logins on same accounts from different stations
...= dovenull
default_process_limit = 256
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
director_username_hash = %u
disable_plaintext_auth = yes
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
dsync_alt_char = _
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -l%{lock_timeout} -n%{namespace}
first_valid_gid = 1
first_valid_uid = 500
hostname = mail.mydomain.tld...
2012 Jun 08
1
2.1.7 altmove not working
...r = dovenull
default_process_limit = 100
default_vsz_limit = 256 M
deliver_log_format = msgid=%m: %$
dict_db_config =
director_doveadm_port = 0
director_mail_servers =
director_servers =
director_user_expire = 15 mins
director_username_hash = %u
disable_plaintext_auth = no
dotlock_use_excl = yes
doveadm_allowed_commands =
doveadm_password =
doveadm_proxy_port = 0
doveadm_socket_path = doveadm-server
doveadm_worker_count = 0
dsync_alt_char = _
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -l%{lock_timeout} -n%{namespace}
first_valid_gid = 1
first_valid_uid = 500
hostname =
imap_capability =...