[Dovecot] problem with dovecot lmtp via director

Piotr Rotter piotr.rotter at active24.pl
Thu Apr 4 21:28:35 EEST 2013


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 = </etc/ssl/mail.active24.pl/mail.active24.pl.ca
> ssl_cert = </etc/ssl/mail.active24.pl/mail.active24.pl.crt
> ssl_key = </etc/ssl/mail.active24.pl/mail.active24.pl.key
> userdb {
>    args = /etc/dovecot/dovecot-sql.conf.ext
>    driver = sql
> }
> protocol imap {
>    mail_max_userip_connections = 20
> }
> protocol lmtp {
>    auth_socket_path = director-userdb
> }
>
> ###############################################################################
>
> ###############################################################################
>
>
> 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 = </etc/ssl/mail.active24.pl/mail.active24.pl.ca
> ssl_cert = </etc/ssl/mail.active24.pl/mail.active24.pl.crt
> ssl_key = </etc/ssl/mail.active24.pl/mail.active24.pl.key
> userdb {
>    args = /etc/dovecot/dovecot-sql.conf.ext
>    driver = sql
> }
> protocol lmtp {
>    mail_plugins = quota sieve
>    syslog_facility = mail
> }
> protocol lda {
>    info_log_path =
>    log_path =
>    mail_plugins = sieve quota
>    syslog_facility = mail
> }
> protocol imap {
>    mail_max_userip_connections = 20
>    mail_plugins = mail_log notify quota autocreate imap_quota
> }
> protocol pop3 {
>    mail_plugins = mail_log notify quota quota
>    pop3_save_uidl = yes
> }
>
>

$%*#

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 at active24.pl
Tel: +48 22 423 33 22
GSM: +48 503 10 40 50
Skype: active24pl


More information about the dovecot mailing list