LMTP: Undelivered Mail Returned to Sender: User doesn't exist! :-(

Marek Kozlowski m.kozlowski at mini.pw.edu.pl
Sun Mar 17 13:14:24 EET 2019


:-)

I'm using postfix for mail delivery and dovecot for mailbox access imaps 
pop3s.

Postfix resolves, verifies and overwrites users' addresses by numerous 
subtle LDAP queries. However users are visible as local ones (openldap, 
pam, nss) in the sense I can run `id' or `finger' queries and receive 
replies.

Dovecot handles all mailboxes over imap/pop correctly with no additional 
configuration for LDAP. Just (10-mail.conf):
	
mail_location = maildir:/mailboxes/%u

and it works fine.

Because I'd like to use pigeonhole I'm trying to make local delivery via 
dovecot LMTP (https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP). I've 
configured the socket and added to `/etc/postfix/main.cf' the line:

mailbox_transport = lmtp:unix:/var/spool/postfix/private/dovecot-lmtp

I think that id dovecot handles mailboxes correctly over imap/pop it can 
easily find the users and their mailboxes so it doesn't need any 
additional configuration for LDAP. Unfortunately it doesn't work and 
results in:

Undelivered Mail Returned to Sender: User doesn't exist! :-(

What's the thing I've missed?

Best regards,
Marek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3914 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190317/70c24171/attachment.p7s>


More information about the dovecot mailing list