dovecot / imap
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: dovecot / imap
Das schweizer Taschenmesser strace sollte dir zumindest zeigen, woran die Prozesse hängen (http://wiki.dovecot.org/Debugging/ProcessTracing). Ansonsten bietet sich eventuell noch das Rawlog an, wobei strace mehr aussagen dürfte. mail_debug und auth_debug (http://wiki.dovecot.org/Logging) hast du vermutlich schon auf 'yes' gesetzt.
-
- Administrator
- Posts: 2641
- Joined: 2004-01-21 17:44
Re: dovecot / imap
Hmm, das riecht für mich nach einem Problem mit dem SUSE-RPM - bei mir (FreeBSD 7.1, aus den Ports gebaut) läuft Dovecot 1.1 ohne Probleme (zieht auch so gut wie keine Ressourcen). Saugt der Prozess auch viel Speicher, oder rödelt er "nur" die CPU dicht?
Oder hast Du ihm große Maildirs zum Fraß vorgeworfen, und Dovecot ist jetzt erst mal damit beschäftigt, die zu indizieren? Das dauert ne Weile, bei 'n paar GiB Mails die Indices aufzubauen - umso schlimmer, je mehr Mails in einem einzelnen Verzeichnis liegen (v. a. auf ext3 dauert das ewig und drei Tage). Leider kann man das kaum selbst steuern, das erledigt Dovecot immer beim Zugriff auf das jeweilige Verzeichnis...
Wenn Du mit Logging und strace nicht mehr weiter kommst, könntest Du noch mit grsecurity o. ä. alle SysCalls protokollieren - vielleicht sieht man da noch irgend eine Auffälligkeit...
EDIT
Für OpenSSL gab's neulich bei OpenSUSE 11.1 ein Update... wenn Dein Problem nur bei IMAPS auftritt, könnte es auch damit zusammenhängen.
Oder hast Du ihm große Maildirs zum Fraß vorgeworfen, und Dovecot ist jetzt erst mal damit beschäftigt, die zu indizieren? Das dauert ne Weile, bei 'n paar GiB Mails die Indices aufzubauen - umso schlimmer, je mehr Mails in einem einzelnen Verzeichnis liegen (v. a. auf ext3 dauert das ewig und drei Tage). Leider kann man das kaum selbst steuern, das erledigt Dovecot immer beim Zugriff auf das jeweilige Verzeichnis...
Wenn Du mit Logging und strace nicht mehr weiter kommst, könntest Du noch mit grsecurity o. ä. alle SysCalls protokollieren - vielleicht sieht man da noch irgend eine Auffälligkeit...
EDIT
Für OpenSSL gab's neulich bei OpenSUSE 11.1 ein Update... wenn Dein Problem nur bei IMAPS auftritt, könnte es auch damit zusammenhängen.
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
userdb prefetch {} schon aktiviert?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
Wohl eher /usr/libexec/dovecot/imapmatzewe01 wrote:-> die exe sollte normalerweise auf:linken.Code: Select all
exe -> /usr/lib/dovecot/imap
Fehler in der Config?
Code: Select all
grep mail_executable /etc/dovecot/dovecot.conf
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
Da ist dann wohl etwas beim Kompilieren/Installieren schief gegangen...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
Schon geprüft?jfreund wrote:Für OpenSSL gab's neulich bei OpenSUSE 11.1 ein Update... wenn Dein Problem nur bei IMAPS auftritt, könnte es auch damit zusammenhängen
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: dovecot / imap
Hast du die aktuelle Dovecot-Version (1.1.11 glaub ich) mal selbst mit konservativen Einstellungen kompiliert? Vielleicht handelt es sich um einen Bug im SuSE-RPM, wobei du dann sicherlich schon einige Bugreports dazu gefunden hättest... :-k
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
Code: Select all
base_dir = /var/run/dovecot
protocols = imap imaps
protocol imap {
listen = *:143
ssl_listen = *:993
}
shutdown_clients = yes
log_timestamp = “%Y-%m-%d %H:%M:%S ”
syslog_facility = mail
ssl_cert_file = /etc/dovecot/ssl/server.crt
ssl_key_file = /etc/dovecot/ssl/server.key
ssl_ca_file = /etc/dovecot/ssl/cacert.pem
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_per_connection = yes
login_processes_count = 4
login_max_processes_count = 32
login_greeting = Dovecot ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
mail_location = maildir:/var/vmail/%u
mail_access_groups = vmail
mail_debug = no
dotlock_use_excl = yes
maildir_copy_with_hardlinks = yes
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
imap_max_line_length = 65536
}
protocol lda {
postmaster_address = postmaster@domain.tld
quota_full_tempfail = yes
sendmail_path = /usr/sbin/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_executable = /usr/libexec/dovecot/dovecot-auth
auth_verbose = no
auth_debug = no
auth_debug_passwords = no
auth default {
mechanisms = plain
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb prefetch {
}
user = vmail
ssl_require_client_cert = no
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Administrator
- Posts: 2641
- Joined: 2004-01-21 17:44
Re: dovecot / imap
So schaut's bei mir aus:matzewe01 wrote:BTW: könntest Du Jesco Deine Konfig zum Vergleich einstellen?
Vielleicht habe ich ja einen Parameter übersehen ....
Code: Select all
base_dir = /var/run/dovecot/
protocols = imap pop3 imaps pop3s
listen = 127.0.0.1
disable_plaintext_auth = no
shutdown_clients = yes
syslog_facility = mail
ssl_disable = no
ssl_cert_file = /usr/local/etc/ssl/server-cert.pem
ssl_key_file = /usr/local/etc/ssl/server-key.pem
ssl_cipher_list = ALL:!LOW:!SSLv2
login_greeting = My Universe Mail Server ready.
mail_location = maildir:/s/data/virtual/%d/%n
mail_privileged_group = mail
verbose_proctitle = yes
first_valid_uid = 125
last_valid_uid = 125
first_valid_gid = 125
last_valid_gid = 125
protocol imap {
mail_plugins = quota imap_quota
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
postmaster_address = postmaster@my-universe.com
sendmail_path = /usr/sbin/sendmail
}
auth default {
mechanisms = plain login
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
user = root
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
}
plugin {
}
-
- Project Manager
- Posts: 11183
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dovecot / imap
Das ist meine produktive Konfiguration für Dovecot 1.1.x (Gentoo).matzewe01 wrote:Ich habe die Konfiguration nach dem Vorschlag von Joe_User angepasst.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.