connection to director (lmtp) time out

Patrick Westenberg pw at wk-serv.de
Mon Jun 16 10:57:48 UTC 2014


Hi all,

I'm running two directors with lmtp proxy as relay transport for my
mail exchangers.

relay_transport = lmtp:inet:dovecot-directors.example.net
dovecot-directors.example.net resolves to 172.17.1.3 and 172.17.1.4

Now, .3 is down and Postfix tries to deliver it to .4 but this
connection gets a timeout:

(delivery temporarily suspended: connect to 172.17.1.4[172.17.1.4]:24: 
Connection timed out

There is no log entry on the director.

Can anyone give me a hint how to solve this or maybe optimize my
configuration?

Regards
Patrick



auth_mechanisms = plain login
default_process_limit = 150
director_mail_servers = 172.17.1.2
director_servers = 172.17.1.4 172.17.1.3
director_user_expire = 5 mins
lmtp_proxy = yes
log_path = /var/log/dovecot.log
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 ihave
protocols = imap pop3 lmtp sieve
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     user = dovecot
   }
}
service director {
   fifo_listener login/proxy-notify {
     mode = 0666
   }
   inet_listener {
     address = 172.17.1.4
     port = 9090
   }
   unix_listener director-userdb {
     mode = 0600
   }
   unix_listener login/director {
     mode = 0666
   }
}
service imap-login {
   executable = imap-login director
}
service lmtp {
   inet_listener lmtp {
     address = 172.17.1.4
     port = 24
   }
}
service managesieve-login {
   executable = managesieve-login director
   inet_listener sieve {
     port = 4190
   }
}
service pop3-login {
   executable = pop3-login director
}
ssl_cert = </etc/ssl/certs/wildcard.example.de.crt
ssl_key = </etc/ssl/private/wildcard.example.de.key
protocol !smtp {
   passdb {
     args = proxy=y nopassword=y starttls=any-cert
     driver = static
   }
}
protocol smtp {
   passdb {
     args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
     driver = sql
   }
   userdb {
     args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
     driver = sql
   }
}
protocol lmtp {
   auth_socket_path = director-userdb
}
local 83.149.... {
   protocol imap {
     ssl_cert = </etc/ssl/certs/wildcard.example.de.pem
     ssl_key = </etc/ssl/private/wildcard.example.de.key
   }
}
local 83.149... {
   protocol pop3 {
     ssl_cert = </etc/ssl/certs/wildcard.example.de.pem
     ssl_key = </etc/ssl/private/wildcard.example.de.key
   }
}
local [2001:1af8:...] {
   protocol imap {
     ssl_cert = </etc/ssl/certs/wildcard.example.de.pem
     ssl_key = </etc/ssl/private/wildcard.example.de.key
   }
}
local [2001:1af8:...] {
   protocol pop3 {
     ssl_cert = </etc/ssl/certs/wildcard.example.de.pem
     ssl_key = </etc/ssl/private/wildcard.example.de.key
   }
}


More information about the dovecot mailing list