[Dovecot] LMTP don't accept jobs for system users
Hi, I'm trying to configure Dovecot 2.0.1 to deliver email to users in /etc/passwd using the Dovecot LMTP service. So far, I can sucessufully do POP3 for system users, but when Postfix tries to deliver email to the Dovecot LMTP service the LMTP reject the job with:
"User doesn't exist ale@centos54.mydomain.com"
Any suggestions?
The user 'ale' is a valid user:
# grep ale /etc/passwd ale:x:500:500:Alex:/home/ale:/sbin/nologin
This is the dovecot -n output:
# 2.0.1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-164.el5xen i686 CentOS release 5.4 (Final) disable_plaintext_auth = no mail_location = maildir:~/Maildir mail_privileged_group = mail mbox_write_locks = fcntl passdb { args = session=yes failure_show_msg=yes dovecot driver = pam } service lmtp { inet_listener lmtp { address = 127.0.0.1 port = 10050 } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } ssl_cert =
On Wed, 2010-09-29 at 10:13 -0300, Alejandro Maurich wrote:
Hi, I'm trying to configure Dovecot 2.0.1 to deliver email to users in /etc/passwd using the Dovecot LMTP service. So far, I can sucessufully do POP3 for system users, but when Postfix tries to deliver email to the Dovecot LMTP service the LMTP reject the job with:
"User doesn't exist ale@centos54.mydomain.com"
The problem is that Postfix appends the @domain, which isn't a valid username. You could tell Dovecot to ignore the domain:
auth_username_format = %Ln
participants (2)
-
Alejandro Maurich
-
Timo Sirainen