[Dovecot] problem with dovecot lmtp via director
Hello,
I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong.
After server restart bigger mails does not delivered.
Postfix servers log that:
2013-04-04T19:55:38.919624+02:00 kurier9 postfix/lmtp[16620]: 3ZhWF337X5z89h3: to=piotr.rotter@active24.pl, relay=192.168.67.1[192.168.67.1]:24, delay=1987, delays=1987/0/0/0.04, dsn=4.3.0, status=deferred (host 192.168.67.1[192.168.67.1] said: 451 4.3.0 Temporary internal failure (in reply to end of DATA command))
2013-04-04T19:58:41.238926+02:00 kurier9 postfix/lmtp[16620]: 3ZhWF337X5z89h3: to=piotr.rotter@active24.pl, relay=192.168.67.1[192.168.67.1]:24, delay=2170, delays=1990/0/0/180, dsn=4.4.2, status=deferred (conversation with 192.168.67.1[192.168.67.1] timed out while sending message body)
Director server log something like that:
2013-04-04T20:00:45+02:00 r1 dovecot: lmtp(18447): Disconnect from 192.168.67.24: Temporary internal failure (in DATA)
Dovecot servers log that:
2013-04-04T20:03:37.347279+02:00 k1 dovecot: lmtp(9380): Disconnect from 192.168.111.1: Connection closed (in RCPT TO)
Please help because I have not idea what is wrong and queue growing up.
Best regards Piotr Rotter
On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote:
I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong.
What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes.
W dniu 04.04.2013 20:10, Timo Sirainen pisze:
On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote:
I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong.
What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes.
Hello,
Thanks for super fast respond. Sorry I forgot paste dovecot configs. I use v2.1.13 in all servers
Director config:
############################################################################### ###############################################################################
dovecot -n # 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.39-gentoo-r3 x86_64 Gentoo Base System release 2.0.3 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 100000 default_process_limit = 10000 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ director_mail_servers = 192.168.111.21 192.168.111.22 192.168.111.23 192.168.111.24 192.168.111.25 192.168.111.26 director_servers = 192.168.67.1 director_user_expire = 30 mins disable_plaintext_auth = no lmtp_proxy = yes login_greeting = Active24 Sp. z o.o. passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size } service auth-worker { user = root } service auth { client_limit = 100000 unix_listener auth-userdb { group = dovecot mode = 0600 user = dovecot } } service director { fifo_listener login/proxy-notify { mode = 0666 } inet_listener { port = 9090 } unix_listener director-userdb { group = vmail mode = 0600 user = vmail } unix_listener login/director { mode = 0666 } } service imap-login { client_limit = 1000 executable = imap-login director process_limit = 1000 service_count = 1000 } service lmtp { inet_listener lmtp { address = 192.168.67.1 port = 24 } process_limit = 1000 process_min_avail = 5 user = vmail } service pop3-login { client_limit = 1000 executable = pop3-login director process_limit = 1000 service_count = 1000 } ssl_ca =
############################################################################### ###############################################################################
dovecot servers config:
# 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 3.5.2-hardened-r4 x86_64 Gentoo Base System release 2.2 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 10000 default_process_limit = 1000 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ disable_plaintext_auth = no dotlock_use_excl = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_greeting = Active24 Sp. z o.o. mail_access_groups = vmail mail_fsync = always mail_gid = 502 mail_location = maildir:~/ mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = mail_log notify quota mail_uid = 502 mmap_disable = yes passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { autocreate = Trash autocreate2 = Spam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Spam autosubscribe3 = Sent autosubscribe4 = Drafts mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size quota = maildir quota2 = maildir:user quota quota_rule = *:storage=10GB quota_rule2 = *:messages=10000 quota_rule3 = Trash:storage=+10M quota_rule4 = Trash:messages=+100 quota_warning = storage=80%% quota-warning 80 %u quota_warning2 = storage=90%% quota-warning 90 %u quota_warning3 = storage=100%% quota-warning 100 %u sieve_global_path = /etc/dovecot/sieve/default.sieve } sendmail_path = /usr/sbin/postfix service auth { client_limit = 12000 unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service imap { process_limit = 4096 process_min_avail = 6 service_count = 100 } service lmtp { inet_listener lmtp { address = 0.0.0.0 port = 24 } process_limit = 100 process_min_avail = 6 user = vmail } service pop3-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service pop3 { process_limit = 4096 process_min_avail = 6 service_count = 100 } service quota-warning { executable = script /opt/bin/quota-warning unix_listener quota-warning { mode = 0600 user = vmail } user = vmail } ssl_ca =
-- Pozdrawiam! / Best regards!
Piotr Rotter Konsultant IT / IT Consultant
http://www.ACTIVE24.pl - Powerful hosting - surprisingly easy
ul. Barkocińska 6, 03-543 Warszawa PL Email: bok@active24.pl Tel: +48 22 423 33 22 GSM: +48 503 10 40 50 Skype: active24pl
W dniu 04.04.2013 20:18, Piotr Rotter pisze:
W dniu 04.04.2013 20:10, Timo Sirainen pisze:
On Thu, 2013-04-04 at 20:08 +0200, Piotr Rotter wrote:
I have strange problem with delivering mails via dovecot lmtp via director and i have not idea what is wrong.
What Dovecot version in director and in backend? doveconf -n output from them? If director is v2.0, upgrade to v2.1 which has several LMTP proxy fixes.
Hello,
Thanks for super fast respond. Sorry I forgot paste dovecot configs. I use v2.1.13 in all servers
Director config:
###############################################################################
###############################################################################
dovecot -n # 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.39-gentoo-r3 x86_64 Gentoo Base System release 2.0.3 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 100000 default_process_limit = 10000 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ director_mail_servers = 192.168.111.21 192.168.111.22 192.168.111.23 192.168.111.24 192.168.111.25 192.168.111.26 director_servers = 192.168.67.1 director_user_expire = 30 mins disable_plaintext_auth = no lmtp_proxy = yes login_greeting = Active24 Sp. z o.o. passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size } service auth-worker { user = root } service auth { client_limit = 100000 unix_listener auth-userdb { group = dovecot mode = 0600 user = dovecot } } service director { fifo_listener login/proxy-notify { mode = 0666 } inet_listener { port = 9090 } unix_listener director-userdb { group = vmail mode = 0600 user = vmail } unix_listener login/director { mode = 0666 } } service imap-login { client_limit = 1000 executable = imap-login director process_limit = 1000 service_count = 1000 } service lmtp { inet_listener lmtp { address = 192.168.67.1 port = 24 } process_limit = 1000 process_min_avail = 5 user = vmail } service pop3-login { client_limit = 1000 executable = pop3-login director process_limit = 1000 service_count = 1000 } ssl_ca =
###############################################################################
###############################################################################
dovecot servers config:
# 2.1.13: /etc/dovecot/dovecot.conf # OS: Linux 3.5.2-hardened-r4 x86_64 Gentoo Base System release 2.2 auth_mechanisms = plain login digest-md5 cram-md5 ntlm apop auth_verbose = yes default_client_limit = 10000 default_process_limit = 1000 default_vsz_limit = 512 M deliver_log_format = from=%f, msgid=%m, psize=%p: %$ disable_plaintext_auth = no dotlock_use_excl = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_greeting = Active24 Sp. z o.o. mail_access_groups = vmail mail_fsync = always mail_gid = 502 mail_location = maildir:~/ mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = mail_log notify quota mail_uid = 502 mmap_disable = yes passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { autocreate = Trash autocreate2 = Spam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Spam autosubscribe3 = Sent autosubscribe4 = Drafts mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = box msgid from size quota = maildir quota2 = maildir:user quota quota_rule = *:storage=10GB quota_rule2 = *:messages=10000 quota_rule3 = Trash:storage=+10M quota_rule4 = Trash:messages=+100 quota_warning = storage=80%% quota-warning 80 %u quota_warning2 = storage=90%% quota-warning 90 %u quota_warning3 = storage=100%% quota-warning 100 %u sieve_global_path = /etc/dovecot/sieve/default.sieve } sendmail_path = /usr/sbin/postfix service auth { client_limit = 12000 unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service imap { process_limit = 4096 process_min_avail = 6 service_count = 100 } service lmtp { inet_listener lmtp { address = 0.0.0.0 port = 24 } process_limit = 100 process_min_avail = 6 user = vmail } service pop3-login { process_limit = 1024 process_min_avail = 6 service_count = 100 } service pop3 { process_limit = 4096 process_min_avail = 6 service_count = 100 } service quota-warning { executable = script /opt/bin/quota-warning unix_listener quota-warning { mode = 0600 user = vmail } user = vmail } ssl_ca =
$%*#
I make panic with simple issue.
Too small /tmp directory in tmpfs
mount -o remount,size=200M /tmp
solve mistake
-- Pozdrawiam! / Best regards!
Piotr Rotter Konsultant IT / IT Consultant
http://www.ACTIVE24.pl - Powerful hosting - surprisingly easy
ul. Barkocińska 6, 03-543 Warszawa PL Email: bok@active24.pl Tel: +48 22 423 33 22 GSM: +48 503 10 40 50 Skype: active24pl
participants (2)
-
Piotr Rotter
-
Timo Sirainen