[Dovecot] director ignoring director_mail_servers for lmtp connections

mailing lists listas.correo at yahoo.es
Mon Sep 12 18:55:51 EEST 2011


Hello,

Following Jan-Frode's advise I am trying this configuration:


{postfix} ---lmtp---> {director} ---lmtp---> {dovecot}

so I have two dovecot instances for director/proxy and lmtp delivery on ports 1024 and 24 respectively.

whilst for imap connections I can specify a pool of imap backend servers via 'director_mail_servers' it seems is not possible with lmtp.

Sep 12 17:14:13 imap1 dovecot: auth: Debug: master in: PASS   1       user001 at example.com    service=lmtp    lip=::1 lport=1024      rip=::1 rpor5
Sep 12 17:14:13 imap1 dovecot: auth: Debug: static(user001 at example.com,::1): lookup
Sep 12 17:14:13 imap1 dovecot: auth: Debug: password(user001 at eexample.com,::1): Credentials:
Sep 12 17:14:13 imap1 dovecot: auth: Debug: master out: PASS  1       user=user001 at example.com       proxy   port=24
Sep 12 17:14:13 imap1 dovecot: lmtp(25682): Debug: auth input: user=user001 at example.com proxy port=24
Sep 12 17:14:13 imap1 dovecot: lmtp(25682): Error: proxy: host not given
Sep 12 17:14:13 imap1 dovecot: lmtp(25682): Debug: Loading modules from directory: /usr/lib64/dovecot/modules
Sep 12 17:14:13 imap1 dovecot: lmtp(25682): Debug: Module loaded: /usr/lib64/dovecot/modules/lib01_acl_plugin.so
Sep 12 17:14:13 imap1 dovecot: auth: Debug: master in: USER   2       user001 at example.com    service=lmtp    lip=::1 rip=::1
Sep 12 17:14:13 imap1 dovecot: auth: Debug: static(user001 at example.com,::1): lookup
Sep 12 17:14:13 imap1 dovecot: auth: Debug: password(user001 at example.com,::1): Credentials:
Sep 12 17:14:13 imap1 dovecot: auth: Debug: master out: USER  2       user001 at example.com
Sep 12 17:14:13 imap1 dovecot: lmtp(25682): Debug: auth input: user001 at example.com
Sep 12 17:14:43 imap1 dovecot: lmtp(25682): Disconnect from ::1: Client quit (in RCPT TO)


how I can redirect incoming lmtp request to backend lmtp servers (and not just one)? what I'm missing here? 

    /----------/

# dovecot -c /etc/dovecot-director/dovecot.conf -n
# 2.0.14: /etc/dovecot-director/dovecot.conf
# OS: Linux 2.6.34.7-0.7-xen x86_64 openSUSE 11.3 (x86_64) 
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/run/dovecot-director/
director_mail_servers = 101.180.245.101
director_servers = 101.180.245.101
disable_plaintext_auth = no
lmtp_proxy = yes
mail_debug = yes
mail_fsync = always
mail_gid = 5000
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = acl
mail_uid = 5000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
mmap_disable = yes
passdb {
  args = proxy=y nopassword=y
  driver = static
}
plugin {
  acl = vfile
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap lmtp
service auth {
  unix_listener auth-userdb {
    group = vmail
    mode = 0666
    user = vmail
  }
}
service director {
  fifo_listener login/proxy-notify {
    mode = 0666
  }
  inet_listener {
    port = 9090
  }
  unix_listener director-userdb {
    mode = 0666
  }
  unix_listener login/director {
    mode = 0666
  }
}
service imap-login {
  executable = imap-login director
  inet_listener imap {
    port = 10143
  }
}
service lmtp {
  inet_listener lmtp {
    port = 1024
  }
}
ssl = no
verbose_proctitle = yes
protocol lmtp {
  passdb {
    args = proxy=y nopassword=y port=24
    driver = static
  }
}
protocol imap {
  mail_max_userip_connections = 100
}




More information about the dovecot mailing list