сломали Dovecot (
kiev1 22 сентября, 2008 - 13:27
поменяли названия переменных
на login_max_logging_users выдает ошибку
и вообще стал падать через каждые 10-20 минут, надо в крон перезапуск вставлять (((
что теперь делать?
»
- Для комментирования войдите или зарегистрируйтесь
прочитать
прочитать руководство по обновлению, никаких проблем нет.
так вылетает
так вылетает без записи в логах
работает работает -и бац! нет в списке процессов и в логах нет (((
просто нет слов...
еще и eix сломали
Reading 50%terminate called after throwing an instance of 'std::out_of_range'
ну как такое на сервере держать? (((((((
каждый раз не знаешь какой сюрприз будет при обновлении,
Ой, ну конечно,
Ой, ну конечно, это только на Генту обновление до новой мажорной версии ломает всё, конечно. Чушь пороть перестаём
Пожалуйста, не описывайте своё железо в подписи
glibc не
glibc не обновляли? какая версия dovecot ?
sys-libs/glibc-2.6.1
sys-libs/glibc-2.6.1 USE="nls -debug -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla"
net-mail/dovecot-1.1.1 USE="debug pam pop3d ssl -doc -ipv6 -kerberos -ldap -managesieve -mbox -mysql -postgres -sieve -sqlite3 -suid -vpopmail"
update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
Reading 50%terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::compare
eix обнови до
eix обнови до 0.13.х. Парсинг пакетов изменили.
_______________________
From Siberia with Love!
конфиг сильно
конфиг сильно отличается от этого?
vase@selfip ~ $ cat /etc/dovecot/dovecot.conf
base_dir = /var/run/dovecot/
protocols = imap imaps managesieve
listen = 77.222.33.78
disable_plaintext_auth = no
#shutdown_clients = yes
#log_path = /var/log/dovecot/dovecot.log
#info_log_path = /var/log/dovecot/dovecot.log
#log_timestamp = "%b %d %H:%M:%S "
syslog_facility = mail
#ssl_listen =
ssl_disable = no
ssl_cert_file = /etc/ssl/dovecot/mail.pem
ssl_key_file = /etc/ssl/dovecot/mail.pem
#ssl_key_password =
#ssl_ca_file =
#ssl_verify_client_cert = no
#ssl_cert_username_field = commonName
#ssl_parameters_regenerate = 168
#ssl_cipher_list = ALL:!LOW:!SSLv2
#verbose_ssl = no
login_dir = /var/run/dovecot/login
#login_chroot = yes
login_user = dovecot
#login_process_size = 64
#login_process_per_connection = yes
#login_processes_count = 3
#login_max_processes_count = 128
#login_max_connections = 256
login_greeting = Dovecot ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
#login_log_format = %$: %s
mail_location = maildir:/home/%n/.mail
namespace private {
separator = /
#prefix =
location = maildir:/home/%n/.mail
inbox = yes
#hidden = yes
#list = yes
#subscriptions = yes
}
#mail_uid =
#mail_gid =
mail_access_groups = mail
#mail_full_filesystem_access = no
mail_debug = no
mail_log_prefix = "%Us(%u): "
#mail_log_max_lines_per_sec = 10
#mmap_disable = no
#dotlock_use_excl = yes
#fsync_disable = no
#mail_nfs_storage = no
#mail_nfs_index = no
#lock_method = fcntl
#mail_drop_priv_before_exec = no
verbose_proctitle = yes
#first_valid_uid = 500
#last_valid_uid = 0
#first_valid_gid = 1
#last_valid_gid = 0
#max_mail_processes = 512
#mail_process_size = 256
#mail_max_keyword_length = 50
#valid_chroot_dirs =
#mail_chroot =
#mail_cache_min_mail_count = 0
#mailbox_idle_check_interval = 30
#mail_save_crlf = no
#maildir_stat_dirs = no
maildir_copy_with_hardlinks = yes
maildir_copy_preserve_filename = yes
#mbox_read_locks = fcntl
#mbox_write_locks = dotlock fcntl
#mbox_lock_timeout = 300
#mbox_dotlock_change_timeout = 120
#mbox_dirty_syncs = yes
#mbox_very_dirty_syncs = no
#mbox_lazy_writes = yes
#mbox_min_index_size = 0
#dbox_rotate_size = 2048
#dbox_rotate_min_size = 16
#dbox_rotate_days = 0
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
#imap_max_line_length = 65536
#mail_max_userip_connections = 10
mail_plugins = quota imap_quota
mail_plugin_dir = /usr/lib/dovecot/imap
#login_greeting_capability = no
#imap_logout_format = bytes=%i/%o
#imap_capability =
imap_client_workarounds = delay-newmail netscape-eoh tb-extra-mailbox-sep
}
protocol lda {
postmaster_address =
#hostname =
mail_plugins = cmusieve quota
mail_plugin_dir = /usr/lib/dovecot/lda
#quota_full_tempfail = no
deliver_log_format = msgid=%m: %$
sendmail_path = /usr/sbin/sendmail
rejection_reason = Your message to <%t> was automatically rejected:%n%r
auth_socket_path = /var/run/dovecot/auth-master
}
protocol managesieve {
#listen = localhost:2000
login_executable = /usr/libexec/dovecot/managesieve-login
# sieve=~/.dovecot.sieve
sieve_storage=/home/%n/.mail/sieve
}
auth_executable = /usr/libexec/dovecot/dovecot-auth
#auth_process_size = 256
#auth_cache_size = 0
#auth_cache_ttl = 3600
#auth_cache_negative_ttl = 3600
auth_realms = selfip.ru mail.selfip.ru
#auth_default_realm =
#auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
#auth_username_translation =
#auth_username_format =
#auth_master_user_separator =
#auth_anonymous_username = anonymous
auth_verbose = no
auth_debug = no
auth_debug_passwords = no
#auth_worker_max_count = 30
#auth_worker_max_request_count = 0
#auth_gssapi_hostname =
#auth_krb5_keytab =
#auth_ntlm_use_winbind = no
#auth_winbind_helper_path = /usr/bin/ntlm_auth
#auth_failure_delay = 2
auth default {
mechanisms = plain login cram-md5 digest-md5
passdb sql {
args = /etc/dovecot/dovecot-sqlite.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sqlite.conf
}
user = root
#chroot =
#count = 1
#ssl_require_client_cert = no
#ssl_username_from_cert = no
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0666
#user =
#group =
}
client {
path = /var/run/dovecot/auth-client
mode = 0666
}
}
}
dict {
#quota = mysql:/etc/dovecot-dict-quota.conf
}
plugin {
# quota = maildir:storage=1048576:ignore=Trash
# convert_mail = maildir:/home/%n/.maildir
convert_skip_broken_mailboxes = yes
#convert_skip_dotdirs = no
#convert_alt_hierarchy_char = _
sieve = /home/%n/.mail/sieve
#expire = Trash 7 Spam 30
#expire_dict = db:/var/lib/dovecot/expire.db
#lazy_expunge = .EXPUNGED/ .DELETED/ .DELETED/.EXPUNGED/
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
#mail_log_group_events =
#mail_log_fields = uid box msgid size
}
попробуйте пересобрать dovecot