exim4 - anacron, не работают aliases

Pavel Gaidai <[email protected]>
Newsgroups gmane.linux.debian.user.russian
Message-ID <CADW3cHFFz-TzqENLKO0BNNJdj3hi-jQTcgT8BnBxVX7rPkTdFQ@mail.gmail.com>
Всем привет!

Anacron шлет письма root-у и прописанные в aliases настройки не работают.
Если отсылать письма обычно через mailx aliases работает.
Как исправить?


cat /etc/debian_version
11.0

apt-show-versions |grep -i exim4
exim4:all/bullseye 4.94.2-7 uptodate
exim4-base:amd64/bullseye 4.94.2-7 uptodate
exim4-config:all/bullseye 4.94.2-7 uptodate
exim4-daemon-heavy:amd64/bullseye 4.94.2-7 uptodate

cat /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='domain.kiev.ua'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.domain.kiev.ua'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
dc_message_size_limit=100M



cat /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
logcheck: root
sp: root
root: [email protected]

cat /etc/mailname
domain.kiev.ua

cat /etc/email-addresses
root: [email protected]
[email protected]: [email protected]

hostname -f
sp.domain.kiev.ua

hostname -d
domain.kiev.ua

Return-path: <[email protected]>
Received: from root by sp.domain.kiev.ua with local (Exim 4.94.2)
(envelope-from <[email protected]>)
id 1mXFig-002h8o-3d
for [email protected]; Mon, 04 Oct 2021 07:36:54 +0300
From: Anacron <[email protected]>
To: [email protected]
Subject: Anacron job 'cron.daily' on sp
Content-Type: text/plain; charset=UTF-8
Message-Id: <[email protected]>
Date: Mon, 04 Oct 2021 07:36:54 +0300
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.