Hi,

I have configured OpenSMTPD 5.4.4 (from OpenBSD 5.7) with virtual LDAP users 
and LMTP to Dovecot.

table vusers ldap:/etc/mail/ldap.conf
table vdomains ldap:/etc/mail/ldap.conf

accept from any for domain <vdomains> virtual <vusers> deliver to lmtp 
"/var/dovecot/lmtp"

If the user id exists in /etc/passwd, the mail is accepted by OpenSMTPD and 
delivered to dovecot.
Dovecot only uses LDAP so it doesn’t care about users not being in /etc/passwd 
since they exist un LDAP ; tested using direct telnet on LMTP port.

If the user id does not exist in /etc/passwd (but exists in LDAP), the mail 
gets rejected by OpenSMTPD with error « 550 Invalid recipient ».

Is this expected or does it reflect a miss-configuration on the LDAP size ?
Sounds weird to me that virtual user must exist in /etc/passwd :)

TIA,
  Jo

Reply via email to