Displaying 6 results from an estimated 6 matches for "real_lport".
2018 Sep 17
2
Using both starttls and ssl in passdb on proxy results in timeouts
...database. The mysql-query sets ?ssl? to ?any-cert? and this works fine. But this causes me a problem: sieve-backends only support STARTTLS and if I set ?ssl? to ?any-cert? (or yes), it will attempt a TLS-connection to the sieve-backends, which fails.
My attempt was to alter the query to include %{real_lport} and return ?ssl=no? and ?starttls=any-cert? if the port matches the sieve-port. It works as expected in that it returns the correct values and proxies to the correct backend.
However it seems that TLS is no longer working and I get timeouts from the backends.
Debug: client passdb out: OK 1 user...
2018 Sep 18
0
Using both starttls and ssl in passdb on proxy results in timeouts
...The mysql-query sets ?ssl? to ?any-cert? and this works fine. But this causes me a problem: sieve-backends only support STARTTLS and if I set ?ssl? to ?any-cert? (or yes), it will attempt a TLS-connection to the sieve-backends, which fails.
>
> My attempt was to alter the query to include %{real_lport} and return ?ssl=no? and ?starttls=any-cert? if the port matches the sieve-port. It works as expected in that it returns the correct values and proxies to the correct backend.
>
> However it seems that TLS is no longer working and I get timeouts from the backends.
>
> Debug: client p...
2020 Mar 29
3
mail_crypt crashing randomly during LMTP
...bian 10 with LDAP as user/passdb and sieve, imap_sieve and mail_crypt as mail_plugins.
For the mail_crypt we have a special rule which allows us to enable crypting for each user individually.
See this line from dovecot-ldap.conf.ext:
pass_attrs = userPassword=password,=userdb_mail_plugins=%{if;%{real_lport};eq;993;imap_sieve;} %{if;%{real_lport};eq;143;imap_sieve;} notify mail_log %{if;%{ldap:encryptMail};eq;TRUE;mail_crypt; },=userdb_mail_crypt_private_password=%w
As you can see for IMAP connections we enable imap_sieve and if the LDAP attribute ?encryptMail? is set to TRUE we enable ?mail_crypt? a...
2017 Jun 23
1
acl shared maildir with virtual users
...mechanisms = plain login
auth_policy_hash_mech = sha512
auth_policy_hash_nonce = 78204771
auth_policy_hash_truncate = 64
auth_policy_request_attributes = auth_database=mail database=mail service=dovecot username=%{orig_user} authtoken_hash=$0$0$%{hashed_password} local_host=%{real_lip} local_port=%{real_lport} remote_host=%{real_rip} remote_port=%{real_rport}
auth_policy_server_api_header = X-API-Key:dovecot:xxxxxxxxxxxx
auth_policy_server_timeout_msecs = 3000
auth_policy_server_url = http://127.0.0.1:579/dovecot-auth-policy
auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY...
2017 Oct 10
2
Issue with mailbox conversion using dsync in v2.2.32 (maildir <-> mdbox)
...anisms = plain login
auth_policy_hash_mech = sha512
auth_policy_hash_nonce = 85979662
auth_policy_hash_truncate = 64
auth_policy_request_attributes = auth_database=mail database=mail
service=dovecot username=%{orig_user}
authtoken_hash=$0$0$%{hashed_password} local_host=%{real_lip}
local_port=%{real_lport} remote_host=%{real_rip} remote_port=%{real_rport}
auth_policy_server_api_header = X-API-Key:dovecot:4FR0BN8IWTpSnB42
auth_policy_server_timeout_msecs = 3000
auth_policy_server_url = http://127.0.0.1:579/dovecot-auth-policy
auth_username_chars =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQ...
2017 Jul 12
0
shared namespace not showing in thunderbird
...OS: Linux 2.6.32-642.3.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
auth_cache_size = 1 M
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_policy_hash_mech = sha512
auth_policy_hash_nonce = 18940690
auth_policy_hash_truncate = 64
local_host=%{real_lip} local_port=%{real_lport} remote_host=%{real_rip} remote_port=%{real_rport}
auth_policy_server_api_header = X-API-
auth_policy_server_timeout_msecs = 3000
auth_policy_server_url = http://127.0.0.1:579/dovecot-auth-policy
auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./...