Felipe, This happens because there is not a user called "example" on your system. All of the configurations I have seen online use a virtual table to map to an existing user, usually "vmail". For example:
# smtpd.conf table virtuals file:/etc/mail/virtuals action "forward" lmtp "lmtp.multidomainexample.com:24" rcpt-to virtual <virtuals> # /etc/mail/virtuals @ vmail The "rcpt-to" ensures the right address is passed to your LMTP server. Hope this helps. -Stephen On Friday, June 27, 2025 8:16:09 AM Pacific Daylight Time Felipe Oliva wrote: > Hi everyone, > > Environment: FreeBSD 14.2 / OpenSMTPD 7.6.0 and 7.7.0 > > Configuration: > > # smtpd.conf > action "forward" lmtp "lmtp.multidomainexample.com:24" rcpt-to > > Problem: > We’re getting the following error in the mail log when forwarding via LMTP: > smtp failed-command="RCPT TO:<exam...@example.com>" result="550 Invalid > recipient: <exam...@example.com>" > > This happens with multiple domains and addresses. > When switching to SMTP relaying, everything works as expected. > > No such issue occurs with version 7.3.0. > > Has anyone seen this before or have any ideas? > > Thanks, > > -- > Felipe Oliva