On Slackware64 15 (stable and current) I'm not receiving the welcome message to my aliased user (and maybe some other system mail, not sure yet, some on stable but unsure about current.) It's in /var/spool/mail/root but was sent to something like
root@z-mp.slackware.lan, which I didn't choose, but looks like postfix did (i edited it to say root@localhost.) I aliased root to my main username and restarted postfix, still didn't receive it. I stopped postfix, reinstalled sendmail, started it, but it said it was starting postfix! I removed postfix, restarted sendmail, still didn't receive it. Every time I did newaliases first.
Code:
#/etc/mail/aliases
# @(#)aliases 8.2 (Berkeley) 3/5/94
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
MAILER-DAEMON: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
games: root
ingres: root
named: root
nobody: root
system: root
toor: root
uucp: root
www: root
ftp-bugs: root
# Well-known aliases.
manager: root
dumper: root
webmaster: root
abuse: root
# trap decode to catch security attacks
decode: root
# Put your local aliases here.
administrator: root
admin: root
apache: root
mail: root
root: d
/etc/aliases is the same except has one line for postfix (not needed.)
Sendmail used to send you system mail without you having to do any configuration other than adding your alias if you want it. What went wrong here?
On any Slackware server I use for email, I'll use postfix, but I think sendmail is/was best for PC, at least when it used to not require much/any configuration...
I'm checking with the Unix-type command-line mail command, re-alpine, mozilla-thunderbird-78.9.1-x86_64-1.