On 2025-06-26 17:30, Uolys wrote:
Why do not alias are accepted but never redirect email to users
specified in /etc/mail/aliases via alias <aliases>? After smtpctl
update table aliases(and domains, ip, virtual). Although users linked
in the alias table are always recognised:
mda delivery evpid=… from=<[email protected]>
to=<[email protected]> rcpt=<[email protected]> user=*uolys* delay=…
result=TempFail stat=Error (temporary failure: "")
I think the user=uolys here means OpenSMTPD will connect to the LMTP
socket using the uolys user, which may not be what you want (in my case,
it says user=lmtp-delivery).
For my setup with LMTP and virtual users, I only use virtual for
aliasing, with full email addresses (e.g. alias [email protected]
to [email protected], not postmaster to me), and it works.