Running:
OX 6.16.1 (OpenSuSE 11.1 repo)
Exim 4.69 ----------------------------------- SMTP
Dovecot11-1.1.7 ---------------------------- SIEVE and LDA
Dovecot11-backend-mysql-1.1.7
SpamAssassin 3.2.5 (dovecot configured to go through it)
Problem: User logins (mostly 1st login of the day) pause at 20% for a LONG time. Often between 30 and 60 seconds.
Exim Config:
--------------------------------------------
primary_hostname = mail.mydomain.com
domainlist local_domains = @ : mydomain.com : anotherdomain.com
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
spamd_address = 127.0.0.1 783
tls_advertise_hosts = *
tls_certificate = /etc/ssl/certs/MY-mail.pem
daemon_smtp_ports = 25 : 465 : 587
tls_on_connect_ports = 465
qualify_domain = mydomain.com
never_users = root
rfc1413_hosts = *
rfc1413_query_timeout = 0s
ignore_bounce_errors_after = 1d
timeout_frozen_after = 7d
begin acl
acl_check_rcpt:
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept local_parts = postmaster
domains = +local_domains
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission
require message = relay not permitted
domains = +local_domains : +relay_to_domains
require verify = recipient
deny message = $sender_host_address is in the blacklist at zen.spamhaus.org
dnslists = zen.spamhaus.org
accept
acl_check_data:
warn spam = nobody
add_header = X-Spam_score: $spam_score\n\
X-Spam-Flag: Yes\n\
X-Spam_score_int: $spam_score_int\n\
X-Spam_bar: $spam_bar\n\
X-Spam_report: $spam_report
accept
begin routers
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 172.16.0.0/16
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
# transport = local_delivery
transport = dovecot_delivery
cannot_route_message = Unknown user so cannot route message
begin transports
remote_smtp:
driver = smtp
local_delivery:
driver = appendfile
directory = /home/$local_part/Maildir/
maildir_format
delivery_date_add
envelope_to_add
return_path_add
# group = mail
# mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
dovecot_delivery:
driver = pipe
command = /usr/lib/dovecot/deliver
message_prefix =
message_suffix =
log_output
delivery_date_add
envelope_to_add
return_path_add
#group = mail<o></o>
#mode = 0660<o></o>
temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators
plain_saslauthd_server:
driver = plaintext
public_name = PLAIN
server_set_id = $auth2
server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}
LOGIN:
driver = plaintext
server_set_id = $auth1
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}}
Dovecot config:
-----------------------------------------------------------
protocols = managesieve lda
listen = *:2000
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
log_timestamp = "%b %d %H:%M:%S "
ssl_disable = yes
login_process_size = 256
login_process_per_connection = no
login_max_connections = 256
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
mail_location = maildir:~/Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}
maildir_copy_with_hardlinks = yes
protocol managesieve {
sieve=~/.dovecot.sieve
sieve_storage=~/sieve
mail_location = maildir:~/Maildir
}
protocol lda {
postmaster_address = postmaster@mydomain.com
mail_plugins = cmusieve
mail_plugin_dir = /usr/lib/dovecot/modules/lda
}
auth default {
mechanisms = plain
passdb pam {
}
userdb passwd {
}
user = root
}
Is there anything obvious in any of this which would cause such a nasty pause at 20% during login?
OX 6.16.1 (OpenSuSE 11.1 repo)
Exim 4.69 ----------------------------------- SMTP
Dovecot11-1.1.7 ---------------------------- SIEVE and LDA
Dovecot11-backend-mysql-1.1.7
SpamAssassin 3.2.5 (dovecot configured to go through it)
Problem: User logins (mostly 1st login of the day) pause at 20% for a LONG time. Often between 30 and 60 seconds.
Exim Config:
--------------------------------------------
primary_hostname = mail.mydomain.com
domainlist local_domains = @ : mydomain.com : anotherdomain.com
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
spamd_address = 127.0.0.1 783
tls_advertise_hosts = *
tls_certificate = /etc/ssl/certs/MY-mail.pem
daemon_smtp_ports = 25 : 465 : 587
tls_on_connect_ports = 465
qualify_domain = mydomain.com
never_users = root
rfc1413_hosts = *
rfc1413_query_timeout = 0s
ignore_bounce_errors_after = 1d
timeout_frozen_after = 7d
begin acl
acl_check_rcpt:
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept local_parts = postmaster
domains = +local_domains
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission
require message = relay not permitted
domains = +local_domains : +relay_to_domains
require verify = recipient
deny message = $sender_host_address is in the blacklist at zen.spamhaus.org
dnslists = zen.spamhaus.org
accept
acl_check_data:
warn spam = nobody
add_header = X-Spam_score: $spam_score\n\
X-Spam-Flag: Yes\n\
X-Spam_score_int: $spam_score_int\n\
X-Spam_bar: $spam_bar\n\
X-Spam_report: $spam_report
accept
begin routers
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 172.16.0.0/16
no_more
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
# transport = local_delivery
transport = dovecot_delivery
cannot_route_message = Unknown user so cannot route message
begin transports
remote_smtp:
driver = smtp
local_delivery:
driver = appendfile
directory = /home/$local_part/Maildir/
maildir_format
delivery_date_add
envelope_to_add
return_path_add
# group = mail
# mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
dovecot_delivery:
driver = pipe
command = /usr/lib/dovecot/deliver
message_prefix =
message_suffix =
log_output
delivery_date_add
envelope_to_add
return_path_add
#group = mail<o></o>
#mode = 0660<o></o>
temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators
plain_saslauthd_server:
driver = plaintext
public_name = PLAIN
server_set_id = $auth2
server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}
LOGIN:
driver = plaintext
server_set_id = $auth1
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}}
Dovecot config:
-----------------------------------------------------------
protocols = managesieve lda
listen = *:2000
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
log_timestamp = "%b %d %H:%M:%S "
ssl_disable = yes
login_process_size = 256
login_process_per_connection = no
login_max_connections = 256
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
mail_location = maildir:~/Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}
maildir_copy_with_hardlinks = yes
protocol managesieve {
sieve=~/.dovecot.sieve
sieve_storage=~/sieve
mail_location = maildir:~/Maildir
}
protocol lda {
postmaster_address = postmaster@mydomain.com
mail_plugins = cmusieve
mail_plugin_dir = /usr/lib/dovecot/modules/lda
}
auth default {
mechanisms = plain
passdb pam {
}
userdb passwd {
}
user = root
}
Is there anything obvious in any of this which would cause such a nasty pause at 20% during login?
Comment