hallo,
I have a problem configuring lmtp service. I use postfix+dovcot2.0.7
with "recipient_delimeter = -". If i switch to dovecot-lda, all works
fine,
but going to lmtp service it dosn't.
Maybe it works with default delimeter "+", but i plan to move from
qmail
system with many existent mailboxes.
Enclosed some configuration/logentries.
Can you give me a hint ?
Best Wishes
Christoph
--
dovecot logfile:
===============dovecot: auth: Debug: master in:
USER#0112#011test-tr at my-domain.de#011service=lmtp
dovecot: auth: Debug: sql(test-tr at my-domain.de): SELECT '/var/vmail/'
||
maildir as home, '5000' AS uid, '5000' AS gid FROM mailbox WHERE
username
= 'test-tr at my-domain.de' and active = true
dovecot: auth: sql(test-tr at my-domain.de): Unknown user
dovecot: auth: Debug: master out: NOTFOUND#0112
dovecot: lmtp(3525): Debug: auth input:
dovecot: lmtp(3525): Disconnect from local: Client quit
postfix transport configuration:
===============================virtual_transport =
lmtp:unix:private/dovecot-lmtp
doveconf -n:
===========# 2.0.7: /usr/local/dovecot-2.0.7/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian squeeze/sid ext3
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login digest-md5 cram-md5 apop
auth_socket_path = /var/run/dovecot/auth-userdb
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 5000
hostname = mx.warenform.de
last_valid_gid = 5000
last_valid_uid = 5000
listen = 1.2.3.4
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/vmail/%d/%n/Maildir
mail_plugins = autocreate
mail_uid = vmail
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
passdb {
args = /usr/local/dovecot/etc/dovecot/sql-connect.conf.ext
driver = sql
}
plugin {
autocreate = Spam
autosubscribe = Spam
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_global_dir = /usr/local/dovecot/etc/dovecot/sieve/global/
sieve_global_path = /usr/local/dovecot/etc/dovecot/sieve/default.sieve
}
postmaster_address = admin at my-domain.de
protocols = imap pop3 sieve lmtp
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
}
service imap-login {
inet_listener imap {
address = 127.0.0.1 , 1.2.3.4
}
inet_listener imaps {
address = 1.2.3.4
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service pop3-login {
inet_listener pop3 {
address = 1.2.3.4
}}
shutdown_clients = no
ssl_cert = </etc/postfix/ssl/servercert.pem
ssl_key = </etc/postfix/ssl/servercert.pem
syslog_facility = local1
userdb {
args = /usr/local/dovecot/etc/dovecot/sql-connect.conf.ext
driver = sql
}
protocol lmtp {
mail_plugins = autocreate sieve
}
protocol lda {
mail_plugins = autocreate sieve
}
protocol imap {
mail_max_userip_connections = 24
mail_plugins = autocreate autocreate
ssl_cert = </etc/postfix/ssl/imap_warenform_de.crt
ssl_key = </etc/postfix/ssl/imap_warenform_de.key
}
protocol pop3 {
mail_max_userip_connections = 10
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
ssl_cert = </etc/postfix/ssl/pop_warenform_de.crt
ssl_key = </etc/postfix/ssl/pop_warenform_de.key
}