M
M
MoyMirok2021-07-16 12:44:15
linux
MoyMirok, 2021-07-16 12:44:15

How to send mail type to local user in linux?

Hello.

I registered the following in postfix aliases:
test: my real mail address
in fail2ban registered: sendmail test

as a result the error:
Jul 16 12:37:05 s353 postfix/local[436771]: 18405104B1A: to=, orig_to=, relay=local, delay =0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "test"

)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MoyMirok, 2021-07-19
@MoyMirok

It turns out that after editing aliases, it is necessary not only to reload postix, but also to separately accept aliases with the command
newalliases

R
Ruslan Fedoseev, 2021-07-16
@martin74ua

postmap was done for aliases, the mailer was restarted, right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question