I am completely confused… Maybe I just don't understand the syntax of
aliases and virtusertable (a.k.a. virtual)? Sendmail treated both tables
as intended in the following format:
root: uolys
postmaster: uolys
cron: uolys
info: uolys
…
vladas: uolys
uolys: [email protected]
Where uolys is an internal user ID, and vladas — my real public name in
/etc/mail/aliases
/etc/mail/virtusertable was mainly for domains aliases in the same
localhost:
@sala.online.lt %[email protected]
@online.lt %[email protected]
OpenSMTPd does not seem to support this method of name transfer, no such
example in table <https://man.openbsd.org/table.5> manual:
user1 otheruser
[email protected] otheruser1,otheruser2
@example.org [email protected]
@ [email protected]
Could you give me please an example of the format in which I can correct
my alias or virtual tables for OpenSMTPd?
On 6/19/25 18:55, BetaRays wrote:
On 2025-06-19 17:46, Uolys wrote:
action "cyrus" lmtp "/var/cyrus/socket/lmtp rcpt-to <virtual>
action "cyrus" lmtp "/var/cyrus/socket/lmtp rcpt-to <aliases>
You’re missing virtual <virtual> or alias <aliases>, rcpt-to is an
optional argument for lmtp.
Here is the option’s documentation from man smtpd.conf:
lmtp destination [rcpt-to] Deliver the message to an LMTP server at
destination. The location may be expressed as host:port or as a UNIX
socket. Optionally, rcpt-to might be specified to use the recipient
email address (after expansion) instead of the local user in the LMTP
session as RCPT TO.