On 2025-06-26 23:09, Uolys wrote:
I did not quite catch what the lmtp-delivery means on your system. Should I replace it with my username uolys?

I think it’s because the common case is delivering to user maildirs, so this indicates to OpenSMTPD that it should run as this user when making the delivery.

Basically, lmtp-delivery on my system is just a special user that is given rights to access the LMTP socket: if your socket is accessible to everyone, you can use nobody.


I have already got an email for my [email protected] after I added [email protected] uolys” to the virtual table. Unfortunately, I still do not get mail for alias either by pointing them to [email protected] or to uolys. Here is an excerpt from my alias table:

# //sala.online.lt/etc/mail/virtuals 644 uolys:mail
# //man.openbsd.org/table.5
# smtpctl update table virtuals
#
# Domain aliases in virtusertable of Sendmail:
# @sala.online.lt  %[email protected]
# @online.lt  %[email protected]
#
# Real usernames from the aliases table:
# uolys  [email protected]
# gm  [email protected]
# ab  [email protected]

[email protected]  [email protected]
[email protected]  ab

[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  gm

[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  uolys

[email protected]  [email protected]
[email protected]  [email protected]
[email protected] [email protected]
[email protected]  [email protected]

[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  [email protected]
[email protected]  [email protected]

Weird, neither the name to name@domain nor name@domain to name@domain are documented on https://man.openbsd.org/table.5.

That’s strange, I don’t notice anything wrong with this at first glance (except possibly the delivery user, but if it works for [email protected], it should work for [email protected] as well).

At this point I would suggest enabling tracing and/or debug logs with smtpctl, I think there is a tracing category that logs alias lookups step by step.


Reply via email to